diff options
author | Brandon Stepler <brandon@stepler.net> | 2021-02-15 10:30:00 -0500 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-03-19 19:41:09 +0100 |
commit | ff6afe62e801e570f6478decf2b4a813a5c0ee94 (patch) | |
tree | 2ba8221481e0460ea710f3bfe86c83196d2adeee /interface-definitions/include/dhcp-options.xml.i | |
parent | 74f526c9c1fe782c604d2b88c1753d787dc696b4 (diff) | |
download | vyos-1x-ff6afe62e801e570f6478decf2b4a813a5c0ee94.tar.gz vyos-1x-ff6afe62e801e570f6478decf2b4a813a5c0ee94.zip |
dhcp: T3300: add DHCP default route distance
(cherry picked from commit dd2eb5e5686655c996ae95285b8ad7eb73d63d0b)
Diffstat (limited to 'interface-definitions/include/dhcp-options.xml.i')
-rw-r--r-- | interface-definitions/include/dhcp-options.xml.i | 12 |
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 6c081acb1..8972b53e9 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> <!-- include end --> |