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

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

Merged
merged 1 commit into from
Aug 20, 2019

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
@@ -894,12 +900,16 @@ def check_vnet_routes(self, dvs, name, endpoint, tunnel, mac="", vni=0):
_vni = str(vni) if vni != 0 else self.vnet_map[name]['vni']

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
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