forked from sonic-net/sonic-buildimage
-
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.
[neighbor_advertiser] Verify that DIPs returned from ferret are not i…
…n device VLAN (sonic-net#670) * [neighbor_advertiser] Verify that DIPs returned from ferret are not in device VLANs * Add a method in neighbor_advertiser to check if a DIP is in any of the device's VLANs * Check that DIPs returned from ferret are not in any of the device's VLANs before proceeding * Add a retry to attempt to request different DIPs from a given ferret VIP Signed-off-by: Danny Allen daall@microsoft.com * Remove extraneous local var * Handle error cases * Incorporate PR feedback * Revert structure and clarifying comments * Show retry attempts * Clarify device vlan check * Filters out interfaces that have no subnet or an IPv6 subnet * Refactor to use is_ip_prefix_in_key * Fix runtime errors
- Loading branch information
Showing
1 changed file
with
64 additions
and
17 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