diff options
author | Chirag Shah <chirag@cumulusnetworks.com> | 2017-04-05 22:14:12 +0200 |
---|---|---|
committer | Chirag Shah <chirag@cumulusnetworks.com> | 2017-04-06 20:18:07 +0200 |
commit | cba444817883b8b3b22a7ed9958dc9ed77f76230 (patch) | |
tree | 9167aeb0623fe581a831324b8ba90de14432397d /pimd/pim_rp.h | |
parent | Merge pull request #336 from dwalton76/bgpd-allowas-in-removal (diff) | |
download | frr-cba444817883b8b3b22a7ed9958dc9ed77f76230.tar.xz frr-cba444817883b8b3b22a7ed9958dc9ed77f76230.zip |
pimd: Pim Nexthop Tracking support with ECMP
In this patch, PIM nexthop tracking uses locally populated nexthop cached list
to determine ECMP based nexthop (w/ ECMP knob enabled), otherwise picks
the first nexthop as RPF.
Introduced '[no] ip pim ecmp' command to enable/disable PIM ECMP knob.
By default, PIM ECMP is disabled.
Intorudced '[no] ip pim ecmp rebalance' command to provide existing mcache
entry to switch new path based on hash chosen path.
Introduced, show command to display pim registered addresses and respective nexthops.
Introuduce, show command to find nexthop and out interface for (S,G) or (RP,G).
Re-Register an address with nexthop when Interface UP event received,
to ensure the PIM nexthop cache is updated (being PIM enabled).
During PIM neighbor UP, traverse all RPs and Upstreams nexthop and determine, if
any of nexthop's IPv4 address changes/resolves due to neigbor UP event.
Testing Done: Run various LHR, RP and FHR related cases to resolve RPF using
nexthop cache with ECMP knob disabled, performed interface/PIM neighbor flap events.
Executed pim-smoke with knob disabled.
Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_rp.h')
-rw-r--r-- | pimd/pim_rp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_rp.h b/pimd/pim_rp.h index 84ab9be48..df18c998d 100644 --- a/pimd/pim_rp.h +++ b/pimd/pim_rp.h @@ -61,6 +61,6 @@ struct pim_rpf *pim_rp_g (struct in_addr group); #define RP(G) pim_rp_g ((G)) void pim_rp_show_information (struct vty *vty, u_char uj); - +void pim_resolve_rp_nh (void); int pim_rp_list_cmp (void *v1, void *v2); #endif |