Skip to content

[vnet]: Fix FDB related failure in "vnet_bitmap" virtual switch test#1034

Merged
prsunny merged 1 commit intosonic-net:masterfrom
volodymyrsamotiy:vnet_vs
Aug 20, 2019
Merged

[vnet]: Fix FDB related failure in "vnet_bitmap" virtual switch test#1034
prsunny merged 1 commit intosonic-net:masterfrom
volodymyrsamotiy:vnet_vs

Conversation

@volodymyrsamotiy
Copy link
Collaborator

Signed-off-by: Volodymyr Samotiy volodymyrs@mellanox.com

What I did
Fixed FDB related failure in vnet_bitmap virtual switch test
Why I did it
vnet_bitmap virtual switch test cases fail from time to time due to some extra FDB entries present in ASIC_DB
How I verified it
Ran virtual switch tests and verified they passed
Details if related
N/A

Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.com>
@volodymyrsamotiy volodymyrsamotiy marked this pull request as ready for review August 20, 2019 15:36

if (mac,_vni) not in self.vnet_mac_vni_list:
new_fdb = get_created_entry(asic_db, self.ASIC_FDB_ENTRY, self.fdbs)
new_fdbs = get_all_created_entries(asic_db, self.ASIC_FDB_ENTRY, self.fdbs)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you know why there're extra FDB entries in the ASIC database?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, I tried many times and I wasn't able to reproduce it in my environment. Probably it's specific to public environment were VS tests are running.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok. thanks.

@prsunny prsunny merged commit dc81a21 into sonic-net:master Aug 20, 2019
dgsudharsan pushed a commit to dgsudharsan/sonic-swss that referenced this pull request Oct 7, 2019
…onic-net#1034)

Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.com>
EdenGri pushed a commit to EdenGri/sonic-swss that referenced this pull request Feb 28, 2022
…1034)

create new feature.py for both config and show, move the code into feature.py
move common code into sonic-utiltities.common.cli.py

Signed-off-by: Guohan Lu <lguohan@gmail.com>
oleksandrivantsiv pushed a commit to oleksandrivantsiv/sonic-swss that referenced this pull request Mar 1, 2023
* [SAI submodule update] Enable support for SAI header v1.10.2
Janetxxx pushed a commit to Janetxxx/sonic-swss that referenced this pull request Nov 10, 2025
…onic-net#1034)

Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.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