summaryrefslogtreecommitdiffstats
path: root/yang/frr-ospfd.yang
diff options
context:
space:
mode:
Diffstat (limited to 'yang/frr-ospfd.yang')
-rw-r--r--yang/frr-ospfd.yang6
1 files changed, 4 insertions, 2 deletions
diff --git a/yang/frr-ospfd.yang b/yang/frr-ospfd.yang
index 42a7e8784..b0150cc06 100644
--- a/yang/frr-ospfd.yang
+++ b/yang/frr-ospfd.yang
@@ -682,8 +682,8 @@ module frr-ospfd {
container global-block {
description
"Segment Routing Global Block label range.";
- must "./upper-bound > ./lower-bound";
leaf lower-bound {
+ must "../upper-bound > .";
type uint32 {
range "0..1048575";
}
@@ -691,6 +691,7 @@ module frr-ospfd {
}
leaf upper-bound {
+ must ". > ../lower-bound";
type uint32 {
range "0..1048575";
}
@@ -701,14 +702,15 @@ module frr-ospfd {
container srlb {
description
"Local blocks to be advertised.";
- must "./upper-bound > ./lower-bound";
leaf lower-bound {
+ must "../upper-bound > .";
type uint32;
default "15000";
description
"Lower value in the label range.";
}
leaf upper-bound {
+ must ". > ../lower-bound";
type uint32;
default "15999";
description