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

Add vlan_intf_object only if there are ipv4 or ipv6 mappings #1377

Merged
merged 1 commit into from
Jan 21, 2021

Conversation

sumukhatv
Copy link
Contributor

- What I did
Add vlan_interface_object based on the presence of ipv4 or ipv6 mappings
- How I did it
Introduce a check for the count of ipv4 and ipv6 before adding vlan_interface_object and add it only if either of the mappings are present
- How to verify it
Look for the slice object and see that it contains no empty ipv4 and ipv6 mappings.
- 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)

@sumukhatv sumukhatv merged commit 99c05d5 into sonic-net:master Jan 21, 2021
@sumukhatv sumukhatv deleted the neighbor-adv branch January 21, 2021 22:45
anand-kumar-subramanian pushed a commit to anand-kumar-subramanian/sonic-utilities that referenced this pull request Mar 2, 2021
stepanblyschak pushed a commit to stepanblyschak/sonic-utilities that referenced this pull request Apr 28, 2022
d324eae (HEAD -> 201911, origin/201911) [PFCWD] Fix 'start' pfcwd command (sonic-net#1345)
235c61c [ecnconfig] handle backend port names when extracting port I/F ID from the port name (sonic-net#1361)
7f5c3b4 Drop explict 3 seconds pause between two object updates/deletes. (sonic-net#1359)
12c8992 add vlan_intf_object only if there are ipv4 or ipv6 mappings (sonic-net#1377)
52ce2c3 Add  subcommand description to interfaces counters (sonic-net#1373)
Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
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.

3 participants