Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config portchannel add/del <portchannel_name> - check for member being part of some other portchannel #360

Open
kannankvs opened this issue Apr 9, 2019 · 1 comment
Labels

Comments

@kannankvs
Copy link
Collaborator

This command is used to add or delete the portchannel.
When any port is already a member of any other portchannel and if user tries to add the same port in some other portchannel (without deleting it from the current portchannel), the command fails internally. But, it does not print any error message. In such cases, user is expected to remove the member from current portchannel and then add it to new portchannel.
Improve this implementation to return failure for this command if user tries to add a port to a portchannel but if the same port is already made member of some other portchannel.
It is better to print "Port is already member of PortChannelxxx, Remove it from PortChannelxxxx before adding it to this PortChannelyyyy".

@AkhileshSamineni
Copy link
Contributor

You can close this issue, I have fixed this issue using PR - sonic-net/sonic-utilities#1328

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants