]> git.proxmox.com Git - mirror_frr.git/commit - zebra/zebra_vxlan.c
zebra: evpn entries are not cleaned upon frr stop
authorChirag Shah <chirag@cumulusnetworks.com>
Fri, 28 Jun 2019 17:42:08 +0000 (10:42 -0700)
committerChirag Shah <chirag@cumulusnetworks.com>
Tue, 2 Jul 2019 14:55:05 +0000 (07:55 -0700)
commitb6587fc2af3a83550586cd5fbe83f4643dcc6655
tree038c5e7315ac23cdff5c0faa9e6e70efb442cd61
parenta123bd4ad623418528442e967cc5412915e3d37b
zebra: evpn entries are not cleaned upon frr stop

As part of PR 4458, when a client (bgpd) goes down,
zebra cleans up any evpn state including remotely learned
neighs, macs and vteps are suppose to be cleaned up,
uninstall from kernel tables.

Neighs (arps), macs and vteps (HREP entries) were not
removed from kernel tables as the uninstall flag as not set.

Clean up l3vni associated remote neighs, macs and vteps.

Ticket:CM-25468
Reviewed By:CCR-8889
Testing Done:

Validated in evpn symmetric routing topology where
remotely learned l2/l3 vnis neigh, macs and remote
vtep (hrep) entries are installed in kernel table,
perform systemctl stop frr.service and validated
all remotely learned entries cleaned up from kernel
tables.

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