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

[202205] Add check to not allow deleting PO if its member of vlan #2237

Merged
merged 1 commit into from
Jun 30, 2022
Merged

[202205] Add check to not allow deleting PO if its member of vlan #2237

merged 1 commit into from
Jun 30, 2022

Conversation

anilkpan
Copy link
Contributor

What I did
Added check to not allow deleting PortChannel if its member of vlan.

How I did it
Added a check in the command script.

How to verify it
Create a portchannel.
Add the portchannel to a vlan.
Try to delete the portchannel.
It should throw an error message.
Previous command output (if the output of a command-line utility has changed)
New command output (if the output of a command-line utility has changed)
Error: PortChannel1 has vlan Vlan100 configured, remove vlan membership to proceed

@anilkpan anilkpan changed the title Add check to not allow deleting PO if its member of vlan [202205] Add check to not allow deleting PO if its member of vlan Jun 27, 2022
@yxieca yxieca merged commit fbd79d4 into sonic-net:202205 Jun 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants