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 | |
parent | Merge pull request #15653 from pguibert6WIND/link_state_srv6_capas (diff) | |
parent | isisd: When the ISIS instance does not exist, the default metric is not wide. (diff) | |
download | frr-8deba1e48d7269a46650572f4e8c75bfed6b51e8.tar.xz frr-8deba1e48d7269a46650572f4e8c75bfed6b51e8.zip |
Merge pull request #15791 from zhou-run/202404182042
isisd: When the ISIS instance does not exist, the default metric will not be wide.
-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 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."; |