diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-03-04 21:51:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-04 21:51:45 +0100 |
commit | d79c80ff078ac686ae2a4e0da66bfbd40d67f824 (patch) | |
tree | 43edad0dc3de95472a065da7d8f1d8ebeb6d6d5a /interface-definitions | |
parent | ecba3ff3a5d5032da735e0f73983b85918560570 (diff) | |
parent | dd2eb5e5686655c996ae95285b8ad7eb73d63d0b (diff) | |
download | vyos-1x-d79c80ff078ac686ae2a4e0da66bfbd40d67f824.tar.gz vyos-1x-d79c80ff078ac686ae2a4e0da66bfbd40d67f824.zip |
Merge pull request #729 from bstepler/T3300
dhcp: T3300: add DHCP default route distance
Diffstat (limited to 'interface-definitions')
-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 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 --> |