summaryrefslogtreecommitdiffstats
path: root/yang/frr-bfdd.yang
diff options
context:
space:
mode:
authoranlan_cs <vic.lan@pica8.com>2022-01-24 02:27:05 +0100
committeranlan_cs <vic.lan@pica8.com>2022-01-24 08:54:02 +0100
commit0c91b419fdf91cfe2df1fe265c59f2dc03399427 (patch)
treebbfa3e7d4d39c850354c5f2138cf7f6e0b237627 /yang/frr-bfdd.yang
parentbfdd: correct one word of comment (diff)
downloadfrr-0c91b419fdf91cfe2df1fe265c59f2dc03399427.tar.xz
frr-0c91b419fdf91cfe2df1fe265c59f2dc03399427.zip
yang: fix "minimum-ttl" missing default value
Just like other parameters of bfd, "minimum-ttl" should also have a default value. Parameters with default value will not be displayed in running configuration. Additionly adjust the other "range" with double quotation marks. Signed-off-by: anlan_cs <vic.lan@pica8.com>
Diffstat (limited to 'yang/frr-bfdd.yang')
-rw-r--r--yang/frr-bfdd.yang7
1 files changed, 4 insertions, 3 deletions
diff --git a/yang/frr-bfdd.yang b/yang/frr-bfdd.yang
index d2746e350..3877e20bd 100644
--- a/yang/frr-bfdd.yang
+++ b/yang/frr-bfdd.yang
@@ -67,14 +67,14 @@ module frr-bfdd {
typedef multiplier {
description "Detection multiplier";
type uint8 {
- range 2..255;
+ range "2..255";
}
}
typedef discriminator {
description "BFD session identification";
type uint32 {
- range 1..4294967295;
+ range "1..4294967295";
}
}
@@ -226,8 +226,9 @@ module frr-bfdd {
leaf minimum-ttl {
type uint8 {
- range 1..254;
+ range "1..254";
}
+ default "254";
description
"Minimum expected TTL on received packets.";
}