]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: Reset LLA NHT's interface if there is a change 8305/head
authorvivek <vivek@cumulusnetworks.com>
Sun, 21 Mar 2021 20:39:51 +0000 (13:39 -0700)
committerDonald Sharp <sharpd@nvidia.com>
Mon, 22 Mar 2021 12:45:41 +0000 (08:45 -0400)
commit4115b2966b8aa6dfc29756035d694a785c88855f
tree6c3c796b14841f4a6f52a7ab41f85f6b0d72104d
parent992c42ef011f56551686b7336bedf5c5e6100f2c
bgpd: Reset LLA NHT's interface if there is a change

For link-local IPv6 next hops, the next hop tracking is implemented based
on interface status changes. For this purpose, the ifindex is stored in
the NHT. Reset this value if a change in ifindex is noticed, such as for
example after a restart of the networking service.

Also add some additional debug logs.

Signed-off-by: Vivek Venkatraman <vivek@nvidia.com>
Updates: "bgpd: Switch LL nexthop tracking to be interface based"

Ticket: RM 2575386
Testing Done:
1. Manual verification
2. Precommit (#156), evpn-smoke (#155), bgp-smoke (#157), vrl (#158)
-- Precommit is clean, reported failures in evpn-smoke & vrl are resolved
-- some other tests fail in evpn-smoke, bgp-smoke & vrl, appear to be existing
-- or unrelated failures
bgpd/bgp_nht.c