-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
zebra: add list of prefixes attached to protocol nhg
The list of prefixes that use a given nexthop group is not available, and as consequence, when an event happens on a nexthop group, there is need to parse the whole list of tables, to check which prefix is impacted by the nexthop group. In each nhg_hash_entry, create an hash list that will contain the list of prefixes added. That list is updated at each ROUTE_ADD and ROUTE_DELETE actions, once the dataplane succeeded in the update. The change only populates those hash lists, which will be used in the next commit. Signed-off-by: Philippe Guibert <[email protected]>
- Loading branch information
1 parent
828bf57
commit 256ca31
Showing
3 changed files
with
182 additions
and
0 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