summaryrefslogtreecommitdiff
path: root/interface-definitions/include/rip-default-metric.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-02-07 13:49:47 +0100
committerChristian Poessinger <christian@poessinger.com>2021-02-07 13:49:47 +0100
commitba6be403072459e42a66e1a818580ae3518ebf44 (patch)
tree9e41fbea11c03ad366f23e9fd1810dfca69e60c7 /interface-definitions/include/rip-default-metric.xml.i
parent801ae95327d3a3dd613ad10b6b64a297320f2437 (diff)
downloadvyos-1x-ba6be403072459e42a66e1a818580ae3518ebf44.tar.gz
vyos-1x-ba6be403072459e42a66e1a818580ae3518ebf44.zip
rip: T2547: xml cleanup so parts can be reused by RIPng
Diffstat (limited to 'interface-definitions/include/rip-default-metric.xml.i')
-rw-r--r--interface-definitions/include/rip-default-metric.xml.i14
1 files changed, 14 insertions, 0 deletions
diff --git a/interface-definitions/include/rip-default-metric.xml.i b/interface-definitions/include/rip-default-metric.xml.i
new file mode 100644
index 000000000..a5e6016d6
--- /dev/null
+++ b/interface-definitions/include/rip-default-metric.xml.i
@@ -0,0 +1,14 @@
+<!-- included start from rip-default-metric.xml.i -->
+<leafNode name="default-metric">
+ <properties>
+ <help>Metric of redistributed routes</help>
+ <valueHelp>
+ <format>u32:1-16</format>
+ <description>Default metric</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-16"/>
+ </constraint>
+ </properties>
+</leafNode>
+<!-- included end -->