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

[FDBSYNCD] Added pytest for fdbsyncd #1560

Merged
merged 1 commit into from
Dec 29, 2020

Conversation

kishorekunal01
Copy link
Contributor

[FDBSYNCD]
Added pytest for fdbsyncd

What I did
Added below UT cases for fdbsyncd.

  1. Add local MAC entry in STATE_FDB_TABLE and verify MAC is installed in Kernel. Delete Local MAC entry and verify MAC is uninstalled from Kernel.
  2. Add local MAC entry in STATE_FDB_TABLE without config Vxlan NVO and verify MAC is not installed in Kernel.
  3. Move STATE_FDB_TABLE entry to another port and verify MAC is updated in Kernel.
  4. Add static MAC entry in STATE_FDB_TABLE and verify MAC is installed as static in Kernel. Delete static MAC entry in STATE_FDB_TABLE and verify MAC is uninstalled in Kernel.
  5. Add remote IMET route entry in Kernel and verify entry is present in VXLAN_REMOTE_VNI_TABLE. Delete remote IMET and verify entry is deleted from the VXLAN_REMOTE_VNI_TABLE.
  6. Add remote MAC entry in Kernel and verify MAC is present in VXLAN_FDB_TABLE. Delete remote MAC entry in Kernel and verify MAC is removed from VXLAN_FDB_TABLE.
  7. Move remote MAC to local by programming the same entry in STATE_FDB_TABLE and verify Kernel is updated.
  8. Move local MAC entry to remote by replacing fdb entry in Kernel and verify VXLAN_FDB_TABLE is updated.

Why I did it
Cover UT test cased for fdbsyncd

How I verified it
Verified using vsonic

Signed-off-by: Kishore Kunal [email protected]

@kishorekunal01
Copy link
Contributor Author

test vs please

1 similar comment
@kishorekunal01
Copy link
Contributor Author

test vs please

@prsunny
Copy link
Collaborator

prsunny commented Dec 28, 2020

retest this please

@prsunny prsunny merged commit e32b9d0 into sonic-net:master Dec 29, 2020
EdenGri pushed a commit to EdenGri/sonic-swss that referenced this pull request Feb 28, 2022
…function (sonic-net#1560)

* Fix Multi-ASIC show specific resursive route by using common parsing function

* Use True/False as parameter instead or 1/0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants