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 /zebra/zebra_ptm_redistribute.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 'zebra/zebra_ptm_redistribute.c')
| -rw-r--r-- | zebra/zebra_ptm_redistribute.c | 7 | 
1 files changed, 4 insertions, 3 deletions
diff --git a/zebra/zebra_ptm_redistribute.c b/zebra/zebra_ptm_redistribute.c index efa29989e1..d6902142a3 100644 --- a/zebra/zebra_ptm_redistribute.c +++ b/zebra/zebra_ptm_redistribute.c @@ -78,9 +78,9 @@ zebra_interface_bfd_update (struct interface *ifp, struct prefix *dp,    for (ALL_LIST_ELEMENTS (zebrad.client_list, node, nnode, client))      { -      /* Supporting for OSPF and BGP */ +      /* Supporting for OSPF, BGP and PIM */        if (client->proto != ZEBRA_ROUTE_OSPF && client->proto != ZEBRA_ROUTE_BGP -          && client->proto != ZEBRA_ROUTE_OSPF6) +          && client->proto != ZEBRA_ROUTE_OSPF6 && client->proto != ZEBRA_ROUTE_PIM)          continue;        /* Notify to the protocol daemons. */ @@ -117,7 +117,8 @@ zebra_bfd_peer_replay_req (void)        /* Supporting for BGP */        if ((client->proto != ZEBRA_ROUTE_BGP) &&            (client->proto != ZEBRA_ROUTE_OSPF) && -          (client->proto != ZEBRA_ROUTE_OSPF6)) +          (client->proto != ZEBRA_ROUTE_OSPF6) && +          (client->proto != ZEBRA_ROUTE_PIM))          continue;        /* Notify to the protocol daemons. */  | 
