-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support warm-restart for neighsyncd (#599)
* Support warm-restart for neighsyncd - No function changes if warm-restart is disabled. In case warm-restart is enabled, below is done in the process to make sure the ARP/NDP is up-to-date: - ARP/NDP will be restored from App-DB marked with stale. - new/changed ARP/DNP during the warm-restart marked as new - deleted ARP/NDP during the warm-restart marked as delete - same ARP/NDP entries marked as same - reconciliation is done after timer-out of a timer - delta (including stale, new, delete) during the warm-restart would be pushed to App-DB and then to HW. Add vs test cases to cover: - No changes during the warm-restart - ADD/DELETE/CHANGE/SAME neighbors during the warm-restart - verify the timer changes taking effect for neighsyncd * Add ps-table clear before reading table, address a few comments * Added a few improvements * Addressed a few comments * Moved the class to a common place * Addressed the review feedback * Removed some unused code and fixed a typo
- Loading branch information
1 parent
387eac6
commit 60a9d61
Showing
9 changed files
with
789 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.