From 2a333e0f220fb727406459d60815a1cc9000183a Mon Sep 17 00:00:00 2001 From: anuradhak Date: Tue, 25 Oct 2016 10:59:48 -0700 Subject: pim-msdp: part-1 - initial protocol infra. This commit includes the following changes - 1. Support for MSDP peer DB (hash and sorted list). 2. Support for the following timers - keepalive, connect-retry, hold. 3. TCP session management (lower-ip is active, higher-ip is passive). 4. MSDP KA packet rx/tx. 5. Limited temporary config (will be replaced with the more automation friendly RP-set). Testing done - Peer bringup/deletion (including interop with another vendor) Sample out - root@dell-s6000-04:~# sudo vtysh -c "show ip msdp peer" Peer Local Mesh-group State Uptime 100.1.1.1 100.1.2.1 default established 00:07:27 100.1.3.1 100.1.2.1 default established 00:31:50 root@dell-s6000-04:~# Coming soon - 1. part-2: SA cache management. 2. part-3: SPT setup using source in SA cache. 3. part-4: CLI cleanup. Ticket: CM-13306 Signed-off-by: Anuradha Karuppiah Acked-by: Donald Sharp --- pimd/pim_main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pimd/pim_main.c') diff --git a/pimd/pim_main.c b/pimd/pim_main.c index 1ddc1eac5..24163b0bd 100644 --- a/pimd/pim_main.c +++ b/pimd/pim_main.c @@ -73,6 +73,7 @@ zebra_capabilities_t _caps_p [] = ZCAP_NET_ADMIN, ZCAP_SYS_ADMIN, ZCAP_NET_RAW, + ZCAP_BIND, }; /* pimd privileges to run with */ @@ -214,7 +215,7 @@ int main(int argc, char** argv, char** envp) { pim_route_map_init (); pim_init(); - pim_msdp_init (); + pim_msdp_init (master); /* * Initialize zclient "update" and "lookup" sockets -- cgit v1.2.3