summaryrefslogtreecommitdiffstats
path: root/pimd/pim_instance.c
diff options
context:
space:
mode:
authorAnuradha Karuppiah <anuradhak@cumulusnetworks.com>2019-03-19 23:54:02 +0100
committerAnuradha Karuppiah <anuradhak@cumulusnetworks.com>2019-04-20 17:33:21 +0200
commitb583b035822bc0d1694a73edfcaa1aaef1387fe8 (patch)
treeb00468e35d2a5fd31053cb2d5069fbd95ab45599 /pimd/pim_instance.c
parentlib, zebra: changes to propagate vxlan mcast SG entries to pimd (diff)
downloadfrr-b583b035822bc0d1694a73edfcaa1aaef1387fe8.tar.xz
frr-b583b035822bc0d1694a73edfcaa1aaef1387fe8.zip
pimd: initial infrastructure to maintain VxLAN SG database
These entries will be used over the subsequent commits for 1. vxlan-tunnel-termination handling - setup MDT to rx VxLAN encapsulated BUM traffic. 2. vxlan-tunnel-origination handling - register local-vtep-ip as a multicast source. Signed-off-by: Anuradha Karuppiah <anuradhak@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_instance.c')
-rw-r--r--pimd/pim_instance.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pimd/pim_instance.c b/pimd/pim_instance.c
index 092a2d76f..1416d8de5 100644
--- a/pimd/pim_instance.c
+++ b/pimd/pim_instance.c
@@ -60,6 +60,7 @@ static void pim_instance_terminate(struct pim_instance *pim)
pim_oil_terminate(pim);
pim_msdp_exit(pim);
+ pim_vxlan_exit(pim);
XFREE(MTYPE_PIM_PIM_INSTANCE, pim);
}
@@ -86,6 +87,7 @@ static struct pim_instance *pim_instance_init(struct vrf *vrf)
pim->spt.plist = NULL;
pim_msdp_init(pim, router->master);
+ pim_vxlan_init(pim);
snprintf(hash_name, 64, "PIM %s RPF Hash", vrf->name);
pim->rpf_hash = hash_create_size(256, pim_rpf_hash_key, pim_rpf_equal,