summaryrefslogtreecommitdiff
path: root/interface-definitions/include/static-route-distance.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-02-02 20:43:01 +0100
committerGitHub <noreply@github.com>2021-02-02 20:43:01 +0100
commit22c5f86dbe183f92636aa1b140aa062e35508760 (patch)
tree07903bd862da5c47b771842b8965e8f9f63cea69 /interface-definitions/include/static-route-distance.xml.i
parent57adeb1bd1f761b9a0c8603f366e6123d910899e (diff)
parent940db8f354853f23788c652f2a5d9097c7a442df (diff)
downloadvyos-1x-22c5f86dbe183f92636aa1b140aa062e35508760.tar.gz
vyos-1x-22c5f86dbe183f92636aa1b140aa062e35508760.zip
Merge branch 'current' into T3282
Diffstat (limited to 'interface-definitions/include/static-route-distance.xml.i')
-rw-r--r--interface-definitions/include/static-route-distance.xml.i14
1 files changed, 14 insertions, 0 deletions
diff --git a/interface-definitions/include/static-route-distance.xml.i b/interface-definitions/include/static-route-distance.xml.i
new file mode 100644
index 000000000..d6c0d3d82
--- /dev/null
+++ b/interface-definitions/include/static-route-distance.xml.i
@@ -0,0 +1,14 @@
+<!-- included start from 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>
+<!-- included end -->