diff options
author | Anuradha Karuppiah <anuradhak@cumulusnetworks.com> | 2020-02-06 18:30:43 +0100 |
---|---|---|
committer | Anuradha Karuppiah <anuradhak@cumulusnetworks.com> | 2020-02-14 18:18:30 +0100 |
commit | f03999caa6a5d88bc6b9441f4039915ea6f67bf8 (patch) | |
tree | 4ad5cfcf9f9d87a613c5c3f95dc31634ed895bac /pimd/pim_rpf.c | |
parent | pimd: inherit MLAG DF role from the parent (*, G) entry (diff) | |
download | frr-f03999caa6a5d88bc6b9441f4039915ea6f67bf8.tar.xz frr-f03999caa6a5d88bc6b9441f4039915ea6f67bf8.zip |
pimd: increase RPF metric via the peerlink_rif by plus-10
The RPF cost is incremented by 10 if the RPF interface is the peerlink-rif.
This is used to force the MLAG switch with the lowest cost to the RPF
to become the MLAG DF. If a switch has to go via the peerlink-rif to get
to the RP or source it simplly cannot be the designated forwarder.
Signed-off-by: Anuradha Karuppiah <anuradhak@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_rpf.c')
-rw-r--r-- | pimd/pim_rpf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pimd/pim_rpf.c b/pimd/pim_rpf.c index 889e0704c..b27374e30 100644 --- a/pimd/pim_rpf.c +++ b/pimd/pim_rpf.c @@ -36,6 +36,7 @@ #include "pim_time.h" #include "pim_nht.h" #include "pim_oil.h" +#include "pim_mlag.h" static struct in_addr pim_rpf_find_rpf_addr(struct pim_upstream *up); |