]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: modify route install/withdraw logic for evpn type-5 routes in vrf
authorMitesh Kanjariya <mitesh@marvel-07.cumulusnetworks.com>
Wed, 11 Apr 2018 09:29:46 +0000 (02:29 -0700)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 8 May 2018 23:24:15 +0000 (19:24 -0400)
commit2b659f33296f425e54410ceb08741da5d5d53d00
treec5ffda8a0be35bbb3150c1ea3d2810e564b845d0
parent7e4ed18ef5c034d09567c2d2cf26f806e134e698
bgpd: modify route install/withdraw logic for evpn type-5 routes in vrf

We install type-5 routes as ipv4/ipv6 unicast routes in the vrf table.
along with these routes, we also install the RMAC
and the nexthop Neigh entries.
There might be scenarios were the bestpath has changed and
we are now pointing to a new nexthop with a different RMAC.
As per BGP logic, we just send an update for the route and the nexthop
is replaced. However, this causes problem because the RMAC and neigh entry
corresponding to the previous nexthop are still lingering in the system.
We need to clear those entries for proper functoning.

Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
bgpd/bgp_route.c