summaryrefslogtreecommitdiff
path: root/interface-definitions/include/rip/rip-redistribute.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-redistribute.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-redistribute.xml.i')
-rw-r--r--interface-definitions/include/rip/rip-redistribute.xml.i15
1 files changed, 15 insertions, 0 deletions
diff --git a/interface-definitions/include/rip/rip-redistribute.xml.i b/interface-definitions/include/rip/rip-redistribute.xml.i
new file mode 100644
index 000000000..d7a79b007
--- /dev/null
+++ b/interface-definitions/include/rip/rip-redistribute.xml.i
@@ -0,0 +1,15 @@
+<!-- include start from rip/rip-redistribute.xml.i -->
+<leafNode name="metric">
+ <properties>
+ <help>Metric for redistributed routes</help>
+ <valueHelp>
+ <format>u32:1-16</format>
+ <description>Redistribute route metric</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-16"/>
+ </constraint>
+ </properties>
+</leafNode>
+#include <include/route-map.xml.i>
+<!-- include end -->