diff options
author | anuradhak <anuradhak@cumulusnetworks.com> | 2016-10-25 19:59:48 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-12-22 02:26:12 +0100 |
commit | 2a333e0f220fb727406459d60815a1cc9000183a (patch) | |
tree | c82e9f2fb5be1253e62215703b5ea02ca92b6b9d /pimd/pim_main.c | |
parent | pimd: Fix gcc compile issue. (diff) | |
download | frr-2a333e0f220fb727406459d60815a1cc9000183a.tar.xz frr-2a333e0f220fb727406459d60815a1cc9000183a.zip |
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 <anuradhak@cumulusnetworks.com>
Acked-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_main.c')
-rw-r--r-- | pimd/pim_main.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 |