diff options
| author | Olivier Dugeon <olivier.dugeon@orange.com> | 2024-04-30 16:33:48 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-30 16:33:48 +0200 |
| commit | 8deba1e48d7269a46650572f4e8c75bfed6b51e8 (patch) | |
| tree | ede60a65409f36ebd76a54b554ffbfee3be7f216 /yang | |
| parent | 5a373ce912408794f4243a69078bf658b7113213 (diff) | |
| parent | 6fcf8f2a2e5fb4725f60faa0191785fec8b8d488 (diff) | |
Merge pull request #15791 from zhou-run/202404182042
isisd: When the ISIS instance does not exist, the default metric will not be wide.
Diffstat (limited to 'yang')
| -rw-r--r-- | yang/frr-isisd.yang | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yang/frr-isisd.yang b/yang/frr-isisd.yang index 5d7c739c05..d1a08fa976 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."; |
