summaryrefslogtreecommitdiff
path: root/interface-definitions/include/isis/redistribute-ipv4.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-05-06 20:02:34 +0200
committerChristian Poessinger <christian@poessinger.com>2021-05-06 20:02:34 +0200
commit5b32ad62543dc917c36d7ad112f9e52001348244 (patch)
tree442a977998c67d216a6b0f62331c60aecb118bca /interface-definitions/include/isis/redistribute-ipv4.xml.i
parent628db87bda8b124ffb23426daf2670de692a3f08 (diff)
downloadvyos-1x-5b32ad62543dc917c36d7ad112f9e52001348244.tar.gz
vyos-1x-5b32ad62543dc917c36d7ad112f9e52001348244.zip
isis: xml: T3236: restructure include files and make them easier to recognize
Diffstat (limited to 'interface-definitions/include/isis/redistribute-ipv4.xml.i')
-rw-r--r--interface-definitions/include/isis/redistribute-ipv4.xml.i42
1 files changed, 42 insertions, 0 deletions
diff --git a/interface-definitions/include/isis/redistribute-ipv4.xml.i b/interface-definitions/include/isis/redistribute-ipv4.xml.i
new file mode 100644
index 000000000..fbb6210c7
--- /dev/null
+++ b/interface-definitions/include/isis/redistribute-ipv4.xml.i
@@ -0,0 +1,42 @@
+<!-- include start from isis/redistribute-ipv4.xml.i -->
+<node name="level-1">
+ <properties>
+ <help>Redistribute into level-1</help>
+ </properties>
+ <children>
+ <leafNode name="metric">
+ <properties>
+ <help>Metric for redistributed routes</help>
+ <valueHelp>
+ <format>u32:0-16777215</format>
+ <description>ISIS default metric</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 0-16777215"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ #include <include/route-map.xml.i>
+ </children>
+</node>
+<node name="level-2">
+ <properties>
+ <help>Redistribute into level-2</help>
+ </properties>
+ <children>
+ <leafNode name="metric">
+ <properties>
+ <help>Metric for redistributed routes</help>
+ <valueHelp>
+ <format>u32:0-16777215</format>
+ <description>ISIS default metric</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 0-16777215"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ #include <include/route-map.xml.i>
+ </children>
+</node>
+<!-- include end -->