summaryrefslogtreecommitdiffstats
path: root/yang
diff options
context:
space:
mode:
Diffstat (limited to 'yang')
-rw-r--r--yang/frr-bfdd.yang16
1 files changed, 12 insertions, 4 deletions
diff --git a/yang/frr-bfdd.yang b/yang/frr-bfdd.yang
index 3877e20bd..08b607347 100644
--- a/yang/frr-bfdd.yang
+++ b/yang/frr-bfdd.yang
@@ -170,14 +170,18 @@ module frr-bfdd {
}
leaf desired-transmission-interval {
- type uint32;
+ type uint32 {
+ range "10000..60000000";
+ }
units microseconds;
default 300000;
description "Minimum desired control packet transmission interval";
}
leaf required-receive-interval {
- type uint32;
+ type uint32 {
+ range "10000..60000000";
+ }
units microseconds;
default 300000;
description "Minimum required control packet receive interval";
@@ -207,14 +211,18 @@ module frr-bfdd {
}
leaf desired-echo-transmission-interval {
- type uint32;
+ type uint32 {
+ range "10000..60000000";
+ }
units microseconds;
default 50000;
description "Minimum desired echo packet transmission interval";
}
leaf required-echo-receive-interval {
- type uint32;
+ type uint32 {
+ range "0 | 10000..60000000";
+ }
units microseconds;
default 50000;
description "Minimum required echo packet receive interval";