summaryrefslogtreecommitdiff
path: root/interface-definitions/include/static/static-route-distance.xml.i
diff options
context:
space:
mode:
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 -->