summaryrefslogtreecommitdiff
path: root/interface-definitions/include
diff options
context:
space:
mode:
authorsever-sever <v.gletenko@vyos.io>2020-06-04 08:06:17 +0000
committersever-sever <v.gletenko@vyos.io>2020-06-04 08:06:17 +0000
commit001a0e5a0bcfca2a0109edd2b29281d024241e3a (patch)
tree5abb8e287a3e50a213fa9dd876d744ec94ad3052 /interface-definitions/include
parent78fad655a3894a59880a0385b1b7fd0226eb27ee (diff)
downloadvyos-1x-001a0e5a0bcfca2a0109edd2b29281d024241e3a.tar.gz
vyos-1x-001a0e5a0bcfca2a0109edd2b29281d024241e3a.zip
rip-xml: T2547: XML for conf-mode protocol RIP
Diffstat (limited to 'interface-definitions/include')
-rw-r--r--interface-definitions/include/rip-redistribute.xml.i24
1 files changed, 24 insertions, 0 deletions
diff --git a/interface-definitions/include/rip-redistribute.xml.i b/interface-definitions/include/rip-redistribute.xml.i
new file mode 100644
index 000000000..d94dfa5a8
--- /dev/null
+++ b/interface-definitions/include/rip-redistribute.xml.i
@@ -0,0 +1,24 @@
+<leafNode name="metric">
+ <properties>
+ <help>Metric for redistributed routes</help>
+ <valueHelp>
+ <format>&lt;1-16&gt;</format>
+ <description>Redistribute route metric</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-16"/>
+ </constraint>
+ </properties>
+</leafNode>
+<leafNode name="route-map">
+ <properties>
+ <help>Route map reference</help>
+ <valueHelp>
+ <format>&lt;text&gt;</format>
+ <description>Route map reference</description>
+ </valueHelp>
+ <completionHelp>
+ <path>policy route-map</path>
+ </completionHelp>
+ </properties>
+</leafNode>