diff options
author | Donald Sharp <sharpd@nvidia.com> | 2021-07-26 16:02:21 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2021-07-26 16:02:21 +0200 |
commit | 53dc1b16aa506f0351d34196821818ff6c9a33d1 (patch) | |
tree | b9372ef3331857136436bd3c27fd5a5ec9d345c7 | |
parent | Merge pull request #9166 from idryzhov/vtysh-enable (diff) | |
download | frr-53dc1b16aa506f0351d34196821818ff6c9a33d1.tar.xz frr-53dc1b16aa506f0351d34196821818ff6c9a33d1.zip |
pimd: Allow join prune intervals to be as small as 5 seconds
Allow the join-prune interval to be as small as 5 seconds instead
of limiting the value to 60.
This can and will come at a price of being able to converge less
mroutes.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
-rw-r--r-- | pimd/pim_cmd.c | 4 | ||||
-rw-r--r-- | yang/frr-pim.yang | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/pimd/pim_cmd.c b/pimd/pim_cmd.c index ac9b15fb5..37d206cc1 100644 --- a/pimd/pim_cmd.c +++ b/pimd/pim_cmd.c @@ -7187,7 +7187,7 @@ DEFPY (pim_register_accept_list, DEFUN (ip_pim_joinprune_time, ip_pim_joinprune_time_cmd, - "ip pim join-prune-interval (60-600)", + "ip pim join-prune-interval (5-600)", IP_STR "pim multicast routing\n" "Join Prune Send Interval\n" @@ -7201,7 +7201,7 @@ DEFUN (ip_pim_joinprune_time, DEFUN (no_ip_pim_joinprune_time, no_ip_pim_joinprune_time_cmd, - "no ip pim join-prune-interval (60-600)", + "no ip pim join-prune-interval (5-600)", NO_STR IP_STR "pim multicast routing\n" diff --git a/yang/frr-pim.yang b/yang/frr-pim.yang index f73776c1a..e846ffa1f 100644 --- a/yang/frr-pim.yang +++ b/yang/frr-pim.yang @@ -529,7 +529,7 @@ module frr-pim { } leaf join-prune-interval { type uint16 { - range "60..600"; + range "5..600"; } default "60"; description |