]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: handle protodown netlink for vxlan device
authorChirag Shah <chirag@cumulusnetworks.com>
Thu, 28 May 2020 18:40:29 +0000 (11:40 -0700)
committerChirag Shah <chirag@nvidia.com>
Thu, 3 Mar 2022 01:40:44 +0000 (17:40 -0800)
commit2d04bd98ac4196796217705ba40bd32def1e9de7
tree4160ca53aa499b757fa57ae9707e8c73dadcc71d
parent4190587a3f390825fa6dcaad0d4e84fdf417f135
zebra: handle protodown netlink for vxlan device

Frr need to handle protocol down event for vxlan
interface.
In MLAG scenario, one of the pair switch can put
vxlan port to protodown state, followed by
tunnel-ip change from anycast IP to individual IP.

In absence of protodown handling, evpn end up
advertising locally learn EVPN (MAC-IP) routes
with individual IP as nexthop.
This leads an issue of overwriting locally learn
entries as remote on MLAG pair.

Ticket:CM-24545
Reviewed By:CCR-10310
Testing Done:

In EVPN deployment, restart one of the MLAG
daemon, which puts vxlan interfaces in protodown state.
FRR treats protodown as oper down for vxlan interfaces.
VNI down cleans up/withdraws locally learn routes.
Followed by vxlan device UP event, re-advertise
locally learn routes.

Signed-off-by: Chirag Shah <chirag@nvidia.com>
zebra/if_netlink.c