summaryrefslogtreecommitdiff
path: root/interface-definitions/include/isis/metric.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-05-24 18:41:12 +0200
committerChristian Poessinger <christian@poessinger.com>2021-05-24 18:41:44 +0200
commit9682337c3f13f703511bf093123b7ac1d45f48df (patch)
treeb5aaa16444ffdbe198dd35fc8976884b71477446 /interface-definitions/include/isis/metric.xml.i
parentbee080daffad41468eee6084f54bc67b1470f914 (diff)
downloadvyos-1x-9682337c3f13f703511bf093123b7ac1d45f48df.tar.gz
vyos-1x-9682337c3f13f703511bf093123b7ac1d45f48df.zip
isis: T3576: support metric and route-map when originating a default route
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 -->