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 [email protected] * 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