summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorBrandon Stepler <brandon@stepler.net>2021-02-15 10:30:00 -0500
committerBrandon Stepler <brandon@stepler.net>2021-02-15 10:30:00 -0500
commitdd2eb5e5686655c996ae95285b8ad7eb73d63d0b (patch)
tree82b072b215ecbdf99ccbd221e9b70ac29a9664a4 /interface-definitions
parentdf7e790df0c71c41455c9e05c0544889110dac0f (diff)
downloadvyos-1x-dd2eb5e5686655c996ae95285b8ad7eb73d63d0b.tar.gz
vyos-1x-dd2eb5e5686655c996ae95285b8ad7eb73d63d0b.zip
dhcp: T3300: add DHCP default route distance
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/include/dhcp-options.xml.i12
1 files changed, 12 insertions, 0 deletions
diff --git a/interface-definitions/include/dhcp-options.xml.i b/interface-definitions/include/dhcp-options.xml.i
index df9c7a97a..774714251 100644
--- a/interface-definitions/include/dhcp-options.xml.i
+++ b/interface-definitions/include/dhcp-options.xml.i
@@ -25,6 +25,18 @@
<valueless/>
</properties>
</leafNode>
+ <leafNode name="default-route-distance">
+ <properties>
+ <help>Distance for the default route from DHCP server</help>
+ <valueHelp>
+ <format>u32:1-255</format>
+ <description>Distance for the default route from DHCP server (default 210)</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-255"/>
+ </constraint>
+ </properties>
+ </leafNode>
</children>
</node>
<!-- included end -->