summaryrefslogtreecommitdiff
path: root/interface-definitions/include/interface/default-route-distance.xml.i
diff options
context:
space:
mode:
Diffstat (limited to 'interface-definitions/include/interface/default-route-distance.xml.i')
-rw-r--r--interface-definitions/include/interface/default-route-distance.xml.i15
1 files changed, 15 insertions, 0 deletions
diff --git a/interface-definitions/include/interface/default-route-distance.xml.i b/interface-definitions/include/interface/default-route-distance.xml.i
new file mode 100644
index 000000000..6eda52c91
--- /dev/null
+++ b/interface-definitions/include/interface/default-route-distance.xml.i
@@ -0,0 +1,15 @@
+<!-- include start from interface/default-route-distance.xml.i -->
+<leafNode name="default-route-distance">
+ <properties>
+ <help>Distance for installed default route</help>
+ <valueHelp>
+ <format>u32:1-255</format>
+ <description>Distance for the default route from DHCP server</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-255"/>
+ </constraint>
+ </properties>
+ <defaultValue>210</defaultValue>
+</leafNode>
+<!-- include end -->