summaryrefslogtreecommitdiff
path: root/ospfclient/ospfclient.py
diff options
context:
space:
mode:
authorTrey Aspelund <taspelund@nvidia.com>2023-01-25 13:07:43 -0500
committerTrey Aspelund <taspelund@nvidia.com>2023-01-27 11:11:44 -0500
commit826c3f6db358e9bbc48848c5eadaab7916f5c3f9 (patch)
tree44a84dc46bb249727abf87045366f15e2d84a1eb /ospfclient/ospfclient.py
parent2d5928355c89130713660493e23430994b79a8ef (diff)
bgpd: only unimport routes if tunnel-ip changes
When processing a new local VNI, we were always walking the global EVPN table to look for routes that needed to be removed due to a martian nexthop change (specifically a tunnel-ip change). Since the martian TIP table is global (all VNIs) + the walk is also in the global table (all VNIs), we can trust that any new TIP from any VNI would result in routes getting removed from the global table and unimported from all live (L2)VNIs. i.e. The only time this update is actionable is if we are adding/removing an IP from the martian TIP table, and we do not need to walk the table for normal refcount adjustments. Signed-off-by: Trey Aspelund <taspelund@nvidia.com>
Diffstat (limited to 'ospfclient/ospfclient.py')
0 files changed, 0 insertions, 0 deletions