summaryrefslogtreecommitdiffstats
path: root/yang/frr-isisd.yang
diff options
context:
space:
mode:
Diffstat (limited to 'yang/frr-isisd.yang')
-rw-r--r--yang/frr-isisd.yang4
1 files changed, 2 insertions, 2 deletions
diff --git a/yang/frr-isisd.yang b/yang/frr-isisd.yang
index 5d7c739c0..d1a08fa97 100644
--- a/yang/frr-isisd.yang
+++ b/yang/frr-isisd.yang
@@ -685,7 +685,7 @@ module frr-isisd {
type uint32 {
range "0..16777215";
}
- must ". < 64 or /frr-isisd:isis/instance[area-tag = current()/../../area-tag]/metric-style = 'wide'";
+ must ". < 64 or /frr-isisd:isis/instance[area-tag = current()/../../area-tag]/metric-style = 'wide' or not(/frr-isisd:isis/instance[area-tag = current()/../../area-tag]/metric-style)";
default "10";
description
"Default level-1 metric for this IS-IS circuit.";
@@ -695,7 +695,7 @@ module frr-isisd {
type uint32 {
range "0..16777215";
}
- must ". < 64 or /frr-isisd:isis/instance[area-tag = current()/../../area-tag]/metric-style = 'wide'";
+ must ". < 64 or /frr-isisd:isis/instance[area-tag = current()/../../area-tag]/metric-style = 'wide' or not(/frr-isisd:isis/instance[area-tag = current()/../../area-tag]/metric-style)";
default "10";
description
"Default level-2 metric for this IS-IS circuit.";