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_vty.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_vty.c')
| -rw-r--r-- | pimd/pim_vty.c | 3 | 
1 files changed, 3 insertions, 0 deletions
diff --git a/pimd/pim_vty.c b/pimd/pim_vty.c index 9cf5c30469..f87484ad5d 100644 --- a/pimd/pim_vty.c +++ b/pimd/pim_vty.c @@ -38,6 +38,7 @@  #include "pim_rp.h"  #include "pim_msdp.h"  #include "pim_ssm.h" +#include "pim_bfd.h"  int  pim_debug_config_write (struct vty *vty) @@ -320,6 +321,8 @@ int pim_interface_config_write(struct vty *vty)      }      vty_out(vty, "!%s", VTY_NEWLINE);      ++writes; +    /* PIM BFD write */ +    pim_bfd_write_config (vty, ifp);    }    return writes;  | 
