summaryrefslogtreecommitdiff
path: root/interface-definitions/include/rip/rip-default-metric.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-03-14 15:20:51 +0000
committerChristian Poessinger <christian@poessinger.com>2021-03-14 16:56:11 +0100
commitc2ae70181b8ad136f5139c9fdd53e0bb402c9914 (patch)
tree07a37e3f9e18b316517189d9133573fe70e52d73 /interface-definitions/include/rip/rip-default-metric.xml.i
parentadea0e05a56cb25a9e40b46e30a7648c99907031 (diff)
downloadvyos-1x-c2ae70181b8ad136f5139c9fdd53e0bb402c9914.tar.gz
vyos-1x-c2ae70181b8ad136f5139c9fdd53e0bb402c9914.zip
rip: xml: T2547: move building blocks to subfolder
As the amount of include files now has reached a certain amount, it is getting more and more crowsded, thuse introducing "per topic" subdirectories on the filesystem to keep a clean structure makes sense.
Diffstat (limited to 'interface-definitions/include/rip/rip-default-metric.xml.i')
-rw-r--r--interface-definitions/include/rip/rip-default-metric.xml.i14
1 files changed, 14 insertions, 0 deletions
diff --git a/interface-definitions/include/rip/rip-default-metric.xml.i b/interface-definitions/include/rip/rip-default-metric.xml.i
new file mode 100644
index 000000000..297af5af8
--- /dev/null
+++ b/interface-definitions/include/rip/rip-default-metric.xml.i
@@ -0,0 +1,14 @@
+<!-- include start from rip/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>
+<!-- include end -->