summaryrefslogtreecommitdiff
path: root/interface-definitions/include/interface/dhcp-options.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-04-21 21:30:43 +0200
committerChristian Poessinger <christian@poessinger.com>2022-04-21 21:30:43 +0200
commit6ae413b2ca10413b393a1343cbfb23126fa99a50 (patch)
tree1a91ce436fe9462b588342764ee7bef5652452d8 /interface-definitions/include/interface/dhcp-options.xml.i
parent9fae51a905436dd28853556f78dbae89ea536057 (diff)
downloadvyos-1x-6ae413b2ca10413b393a1343cbfb23126fa99a50.tar.gz
vyos-1x-6ae413b2ca10413b393a1343cbfb23126fa99a50.zip
xml: T4385: provide building blocks for default route configuration
Diffstat (limited to 'interface-definitions/include/interface/dhcp-options.xml.i')
-rw-r--r--interface-definitions/include/interface/dhcp-options.xml.i21
1 files changed, 2 insertions, 19 deletions
diff --git a/interface-definitions/include/interface/dhcp-options.xml.i b/interface-definitions/include/interface/dhcp-options.xml.i
index 098d02919..914b60503 100644
--- a/interface-definitions/include/interface/dhcp-options.xml.i
+++ b/interface-definitions/include/interface/dhcp-options.xml.i
@@ -19,25 +19,8 @@
<help>Identify the vendor client type to the DHCP server</help>
</properties>
</leafNode>
- <leafNode name="no-default-route">
- <properties>
- <help>Do not request routers from DHCP server</help>
- <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</description>
- </valueHelp>
- <constraint>
- <validator name="numeric" argument="--range 1-255"/>
- </constraint>
- </properties>
- <defaultValue>210</defaultValue>
- </leafNode>
+ #include <include/interface/no-default-route.xml.i>
+ #include <include/interface/default-route-distance.xml.i>
<leafNode name="reject">
<properties>
<help>IP addresses or subnets from which to reject DHCP leases</help>