summaryrefslogtreecommitdiff
path: root/interface-definitions/include/isis/metric.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-08-25 21:20:30 +0200
committerChristian Poessinger <christian@poessinger.com>2021-08-25 21:20:30 +0200
commite4db4a23ff94a77bb62a40580018d4c884a13e12 (patch)
tree352dbed4314a14164591d3ded2691df6695b96c1 /interface-definitions/include/isis/metric.xml.i
parentfed29e7df1abee6eb5bec38ae9b6cff03579a5d6 (diff)
downloadvyos-1x-e4db4a23ff94a77bb62a40580018d4c884a13e12.tar.gz
vyos-1x-e4db4a23ff94a77bb62a40580018d4c884a13e12.zip
isis: T3779: backport entire 1.4 (current) featureset
As IS-IS is a new feature and the CLI configuration changed from 1.3 -> 1.4 (required by T3417) it makes sense to synchronize the CLI configuration for both versions. This means backporting the CLI from 1.4 -> 1.3 to not confuse the userbase already with a brand new feature. As 1.3.0-epa1 is on the way and should not contain any CLI changes afterwards, this is the perfect time.
Diffstat (limited to 'interface-definitions/include/isis/metric.xml.i')
-rw-r--r--interface-definitions/include/isis/metric.xml.i14
1 files changed, 14 insertions, 0 deletions
diff --git a/interface-definitions/include/isis/metric.xml.i b/interface-definitions/include/isis/metric.xml.i
new file mode 100644
index 000000000..30e2cdc10
--- /dev/null
+++ b/interface-definitions/include/isis/metric.xml.i
@@ -0,0 +1,14 @@
+<!-- include start from isis/metric.xml.i -->
+<leafNode name="metric">
+ <properties>
+ <help>Set default metric for circuit</help>
+ <valueHelp>
+ <format>u32:0-16777215</format>
+ <description>Default metric value</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 0-16777215"/>
+ </constraint>
+ </properties>
+</leafNode>
+<!-- include end -->