summaryrefslogtreecommitdiff
path: root/interface-definitions/include/static/static-route-distance.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-03-14 15:28:42 +0000
committerChristian Poessinger <christian@poessinger.com>2021-03-14 16:56:11 +0100
commit9d0e8634c79f5347545ec28fffd3612c760e07df (patch)
tree3057350ccf958876e4f4934edb392a5ffedb894b /interface-definitions/include/static/static-route-distance.xml.i
parentc2ae70181b8ad136f5139c9fdd53e0bb402c9914 (diff)
downloadvyos-1x-9d0e8634c79f5347545ec28fffd3612c760e07df.tar.gz
vyos-1x-9d0e8634c79f5347545ec28fffd3612c760e07df.zip
static: T3280: 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/static/static-route-distance.xml.i')
-rw-r--r--interface-definitions/include/static/static-route-distance.xml.i14
1 files changed, 14 insertions, 0 deletions
diff --git a/interface-definitions/include/static/static-route-distance.xml.i b/interface-definitions/include/static/static-route-distance.xml.i
new file mode 100644
index 000000000..a651b98d7
--- /dev/null
+++ b/interface-definitions/include/static/static-route-distance.xml.i
@@ -0,0 +1,14 @@
+<!-- include start from static/static-route-distance.xml.i -->
+<leafNode name="distance">
+ <properties>
+ <help>Distance for this route</help>
+ <valueHelp>
+ <format>u32:1-255</format>
+ <description>Distance for this route</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-255"/>
+ </constraint>
+ </properties>
+</leafNode>
+<!-- include end -->