-
Notifications
You must be signed in to change notification settings - Fork 666
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
[utility] Filter FDB entries #890
[utility] Filter FDB entries #890
Conversation
FDB table can get large due to VM creation/deletion which cause fast reboot to slow down. This utility fitlers FDB entries based on current MAC entries in the ARP table. signed-off-by: Tamer Ahmed <tamer.ahmed@microsoft.com> :
c5c334e
to
31e1c2e
Compare
This pull request introduces 1 alert when merging 31e1c2e into fc719ad - view on LGTM.com new alerts:
|
ca78249
to
eebd32e
Compare
This pull request introduces 1 alert when merging eebd32e into fc719ad - view on LGTM.com new alerts:
|
Where is the invocation of the script? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where is the invocation of the script?
added fast-reboot script to the PR
e3ba96c
to
b2f8582
Compare
b2f8582
to
f27f7ca
Compare
* [utility] Filter FDB entries FDB table can get large due to VM creation/deletion which cause fast reboot to slow down. This utility fitlers FDB entries based on current MAC entries in the ARP table. signed-off-by: Tamer Ahmed <tamer.ahmed@microsoft.com>
* [utility] Filter FDB entries FDB table can get large due to VM creation/deletion which cause fast reboot to slow down. This utility fitlers FDB entries based on current MAC entries in the ARP table. signed-off-by: Tamer Ahmed <tamer.ahmed@microsoft.com>
* [utility] Filter FDB entries FDB table can get large due to VM creation/deletion which cause fast reboot to slow down. This utility fitlers FDB entries based on current MAC entries in the ARP table. signed-off-by: Tamer Ahmed <tamer.ahmed@microsoft.com>
…ll be empty during fast-reboot process In PR: sonic-net#890 > It adds an mechansim to filter out some entries to reduce the size of fdb.json. But it has a code defect which causes all fdb entries will be filtered out in some cases. Merge PR: sonic-net#1059 to fix the above issue.
[fwutil]: Fix firmware update command. (sonic-net#895) [utility] Filter FDB entries (sonic-net#890)
- What I did
FDB table can get large due to VM creation/deletion which cause
fast reboot to slow down. This utility fitlers FDB entries based on
current MAC entries in the ARP table.
signed-off-by: Tamer Ahmed tamer.ahmed@microsoft.com
- How I did it
code change
- How to verify it
run unit test
sudo pytest sonic-utilities-tests/filter_fdb_entries_test.py
- Previous command output (if the output of a command-line utility has changed)
N/A
- New command output (if the output of a command-line utility has changed)
N/A