diff options
| author | Chirag Shah <chirag@cumulusnetworks.com> | 2017-04-10 18:01:53 -0700 | 
|---|---|---|
| committer | Chirag Shah <chirag@cumulusnetworks.com> | 2017-05-17 22:42:28 -0700 | 
| commit | ba4eb1bccf8afa4516fa78d510d96161e2363e22 (patch) | |
| tree | 2b2517460f008fcd00a570e0a18135cf3611c5b7 /pimd/pim_main.c | |
| parent | bac7b7b935162915bbefb7d01ce55eb364635c0b (diff) | |
pimd: pim bfd support
All PIM Neighbors for a given pim interface is registered with
BFD.
Upon receiving BFD status down event, PIM Neighbor with BFD info is deleted.
Add pim bfd configuraiton (CLI) per interface, '[no] ip pim bfd'
Testing Done:
Configure BFD under PIM interface on all neighbor routers,
check bfd sessions up, remote end unconfigure BFD, results in BFD session down.
Previous state was UP to New state DOWN, results in PIM neighbor delete behind
that particular pim interface.
Pim-smoke Results:
Ran 94 tests in 7409.680s
FAILED (SKIP=8, failures=2)
Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_main.c')
| -rw-r--r-- | pimd/pim_main.c | 2 | 
1 files changed, 2 insertions, 0 deletions
diff --git a/pimd/pim_main.c b/pimd/pim_main.c index 19dcd3aa9a..a80059535d 100644 --- a/pimd/pim_main.c +++ b/pimd/pim_main.c @@ -45,6 +45,7 @@  #include "pim_zebra.h"  #include "pim_msdp.h"  #include "pim_iface.h" +#include "pim_bfd.h"  extern struct host host; @@ -129,6 +130,7 @@ int main(int argc, char** argv, char** envp) {     * Initialize zclient "update" and "lookup" sockets     */    pim_zebra_init(); +  pim_bfd_init ();    frr_config_fork();  | 
