summaryrefslogtreecommitdiffstats
path: root/yang
diff options
context:
space:
mode:
authorgithub login name <ranjany@vmware.com>2021-07-05 13:07:25 +0200
committergithub login name <ranjany@vmware.com>2021-07-07 07:51:10 +0200
commit142774530ade49f63997bd52c434457fe8979bdf (patch)
tree8211f6f5deec76e3917e8f6112aac1444605c846 /yang
parentpimd: Adding BSM status in the show commands (diff)
downloadfrr-142774530ade49f63997bd52c434457fe8979bdf.tar.xz
frr-142774530ade49f63997bd52c434457fe8979bdf.zip
pimd: make pim interface hold interval range 1-630
Making the interface holdtime range to 3.5 times the hello-time As per 7761, Section 4.11: The Holdtime in a Hello message should be set to (3.5 * Hello_Period), giving a default value of 105 seconds. Therefore providing the user also to configure max upto 3.5 times the hello timer interval. Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>
Diffstat (limited to 'yang')
-rw-r--r--yang/frr-pim.yang4
1 files changed, 2 insertions, 2 deletions
diff --git a/yang/frr-pim.yang b/yang/frr-pim.yang
index 6329e4558..f73776c1a 100644
--- a/yang/frr-pim.yang
+++ b/yang/frr-pim.yang
@@ -351,8 +351,8 @@ module frr-pim {
}
leaf hello-holdtime {
- type uint8 {
- range "1..180";
+ type uint16 {
+ range "1..630";
}
must ". > ./../hello-interval" {
error-message "HoldTime must be greater than Hello";