forked from sonic-net/sonic-swss
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[neighorch] VOQ Inband interface port code review comments fix 4
- Changes to avoid calling function to add encap index attribute for inband interface host neighbor. Since encap index attribute is supplied only for the remote neighbors and since the inband interface neighbor is local encap index will not added even if this function is called. So removed calling the api addVoqEncapIndex() while constructing neighbor add message for inband interface host. - Added changes to handle encap index change for the remote neighbors. During config re-load, there is a chance that SAI may allocate a different encap index than the index allocated before config-reload for the same neighbor. Since the mac addresss and ip address are same, neighorch, while processing this synced remote neighbors, considers this as duplicate and ignores it. This is fixed by making neighorch consider encap index received from CHASSIS_APP_DB in addition to mac and ip address to check for duplicate neighbor. Signed-off-by: vedganes <[email protected]>
- Loading branch information
vedganes
committed
Apr 9, 2021
1 parent
8248ed1
commit 8730bd8
Showing
2 changed files
with
24 additions
and
21 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