summaryrefslogtreecommitdiff
path: root/interface-definitions/include/isis
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-03-21 08:38:10 +0100
committerChristian Poessinger <christian@poessinger.com>2021-03-21 08:41:54 +0100
commit1f320c2cbef8370eab12eba49544006beba6fe33 (patch)
tree6d4595798a8cec3f4010415cf514a88b5744bda8 /interface-definitions/include/isis
parentf411351baef67740b76e800161fe55f495c4bd92 (diff)
downloadvyos-1x-1f320c2cbef8370eab12eba49544006beba6fe33.tar.gz
vyos-1x-1f320c2cbef8370eab12eba49544006beba6fe33.zip
xml: isis: ospf: re-arrange include blocks
Diffstat (limited to 'interface-definitions/include/isis')
-rw-r--r--interface-definitions/include/isis/isis-redistribute-ipv4.xml.i56
-rw-r--r--interface-definitions/include/isis/passive.xml.i8
2 files changed, 64 insertions, 0 deletions
diff --git a/interface-definitions/include/isis/isis-redistribute-ipv4.xml.i b/interface-definitions/include/isis/isis-redistribute-ipv4.xml.i
new file mode 100644
index 000000000..df48b4d28
--- /dev/null
+++ b/interface-definitions/include/isis/isis-redistribute-ipv4.xml.i
@@ -0,0 +1,56 @@
+<!-- include start from isis/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>
+ <leafNode name="route-map">
+ <properties>
+ <help>Route map reference</help>
+ <completionHelp>
+ <path>policy route-map</path>
+ </completionHelp>
+ </properties>
+ </leafNode>
+ </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>
+ <leafNode name="route-map">
+ <properties>
+ <help>Route map reference</help>
+ <completionHelp>
+ <path>policy route-map</path>
+ </completionHelp>
+ </properties>
+ </leafNode>
+ </children>
+</node>
+<!-- include end -->
diff --git a/interface-definitions/include/isis/passive.xml.i b/interface-definitions/include/isis/passive.xml.i
new file mode 100644
index 000000000..6d05f8cc7
--- /dev/null
+++ b/interface-definitions/include/isis/passive.xml.i
@@ -0,0 +1,8 @@
+<!-- include start from isis/passive.xml.i -->
+<leafNode name="passive">
+ <properties>
+ <help>Configure passive mode for interface</help>
+ <valueless/>
+ </properties>
+</leafNode>
+<!-- include end -->