]> git.proxmox.com Git - mirror_frr.git/commit - zebra/zebra_vxlan.c
zebra: check vni oper state in svi up notif
authorChirag Shah <chirag@nvidia.com>
Wed, 5 May 2021 01:09:37 +0000 (18:09 -0700)
committerChirag Shah <chirag@nvidia.com>
Fri, 7 May 2021 22:02:05 +0000 (15:02 -0700)
commit196d7a86d065b388d0b14e16755a2383da4b5428
treeba4fcc222b4429f9c6e344714ac7e68105158678
parentf94b1d526b374d14e30b72878ea97b7104a0f3b4
zebra: check vni oper state in svi up notif

When clagd is stopped on secondary device,
all vxlan interfaces (vnis) are kept in protodown state.
FRR treats protodown vxlan interfaces (vnis) as interface down
and sends vni delete to bgpd.

In the event of clagd down, SVIs are flapping as underlying
bridge is going through churn.
When FRR receives SVI up notification do not trigger event to bgpd
if vnis are operationaly down.

Ticket:#2600210 CM-22929
Reviewed By:CCR-11544
Testing Done:
Performed CLAG stop/start on secondary device, all vxlan devices
remained in protodown along with this validated the vnis are cleaned up
and added back in bgpd.

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