Skip to content

Commit

Permalink
Merge pull request #16188 from anlancs/isisd/fix-metric-style
Browse files Browse the repository at this point in the history
yang: fix wrong check for isis metric style
  • Loading branch information
odd22 authored Jun 13, 2024
2 parents 2e02bd2 + ad1244f commit 7b59adc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions yang/frr-isisd.yang
Original file line number Diff line number Diff line change
Expand Up @@ -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' or not(/frr-isisd:isis/instance[area-tag = current()/../../area-tag]/metric-style)";
must ". < 64 or not(/frr-isisd:isis/instance[area-tag = current()/../../area-tag]/metric-style) or /frr-isisd:isis/instance[area-tag = current()/../../area-tag]/metric-style != 'narrow'";
default "10";
description
"Default level-1 metric for this IS-IS circuit.";
Expand All @@ -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' or not(/frr-isisd:isis/instance[area-tag = current()/../../area-tag]/metric-style)";
must ". < 64 or not(/frr-isisd:isis/instance[area-tag = current()/../../area-tag]/metric-style) or /frr-isisd:isis/instance[area-tag = current()/../../area-tag]/metric-style != 'narrow'";
default "10";
description
"Default level-2 metric for this IS-IS circuit.";
Expand Down

0 comments on commit 7b59adc

Please sign in to comment.