summaryrefslogtreecommitdiffstats
path: root/zebra/main.c
diff options
context:
space:
mode:
authorKishore Aramalla <karamalla@vmware.com>2019-06-19 23:45:21 +0200
committerKishore Aramalla <karamalla@vmware.com>2019-06-19 23:45:21 +0200
commit27627f9a11462f770b8e42a8acbe0e3f3abb54ef (patch)
treeaa10412e2f787bef4fc1ae4296d8ea294d496509 /zebra/main.c
parentMerge pull request #4456 from opensourcerouting/workflow-update (diff)
downloadfrr-27627f9a11462f770b8e42a8acbe0e3f3abb54ef.tar.xz
frr-27627f9a11462f770b8e42a8acbe0e3f3abb54ef.zip
zebra: Clean up BGP EVPN configuration when the client, BGPD, goes down
When BGP daemon is down, Clean up its configuration state from zebra. When the BGP daemon is up again, it will push its configuration to zebra Delete the MAC and neighbor information received on the BGP session, while retaining the local MAC and local ARP entries. Signed-off-by: Kishore Aramalla karamalla@vmware.com
Diffstat (limited to 'zebra/main.c')
-rw-r--r--zebra/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/zebra/main.c b/zebra/main.c
index 5797a5846..194710675 100644
--- a/zebra/main.c
+++ b/zebra/main.c
@@ -55,6 +55,7 @@
#include "zebra/zebra_netns_notify.h"
#include "zebra/zebra_rnh.h"
#include "zebra/zebra_pbr.h"
+#include "zebra/zebra_vxlan.h"
#if defined(HANDLE_NETLINK_FUZZING)
#include "zebra/kernel_netlink.h"
@@ -455,6 +456,9 @@ int main(int argc, char **argv)
/* RNH init */
zebra_rnh_init();
+ /* Config handler Init */
+ zebra_evpn_init();
+
/* Error init */
zebra_error_init();