diff options
author | Chirag Shah <chirag@cumulusnetworks.com> | 2017-04-11 03:01:53 +0200 |
---|---|---|
committer | Chirag Shah <chirag@cumulusnetworks.com> | 2017-05-18 07:42:28 +0200 |
commit | ba4eb1bccf8afa4516fa78d510d96161e2363e22 (patch) | |
tree | 2b2517460f008fcd00a570e0a18135cf3611c5b7 /pimd/pim_neighbor.h | |
parent | Merge pull request #537 from donaldsharp/vrf_stuff (diff) | |
download | frr-ba4eb1bccf8afa4516fa78d510d96161e2363e22.tar.xz frr-ba4eb1bccf8afa4516fa78d510d96161e2363e22.zip |
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_neighbor.h')
-rw-r--r-- | pimd/pim_neighbor.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pimd/pim_neighbor.h b/pimd/pim_neighbor.h index a3d39d262..eaaefd8fe 100644 --- a/pimd/pim_neighbor.h +++ b/pimd/pim_neighbor.h @@ -43,6 +43,7 @@ struct pim_neighbor { struct thread *jp_timer; struct list *upstream_jp_agg; + struct bfd_info *bfd_info; }; void pim_neighbor_timer_reset(struct pim_neighbor *neigh, uint16_t holdtime); |