summaryrefslogtreecommitdiff
path: root/interface-definitions/include/interface/dhcp-options.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-06-13 20:45:47 +0200
committerChristian Poessinger <christian@poessinger.com>2021-06-13 20:45:47 +0200
commit42ef048aefaa0d6b4848f7646c2400741c88df66 (patch)
tree13b243c2fac6c5a697ec45ac761e7b2c65dffc56 /interface-definitions/include/interface/dhcp-options.xml.i
parent1a79ff11798a0fc790034bf6efd799491247c594 (diff)
downloadvyos-1x-42ef048aefaa0d6b4848f7646c2400741c88df66.tar.gz
vyos-1x-42ef048aefaa0d6b4848f7646c2400741c88df66.zip
xml: move dhcp(v6)-options.xml.i under interface include subfolder
Diffstat (limited to 'interface-definitions/include/interface/dhcp-options.xml.i')
-rw-r--r--interface-definitions/include/interface/dhcp-options.xml.i60
1 files changed, 60 insertions, 0 deletions
diff --git a/interface-definitions/include/interface/dhcp-options.xml.i b/interface-definitions/include/interface/dhcp-options.xml.i
new file mode 100644
index 000000000..39a3dbb2e
--- /dev/null
+++ b/interface-definitions/include/interface/dhcp-options.xml.i
@@ -0,0 +1,60 @@
+<!-- include start from dhcp-options.xml.i -->
+<node name="dhcp-options">
+ <properties>
+ <help>DHCP client settings/options</help>
+ </properties>
+ <children>
+ <leafNode name="client-id">
+ <properties>
+ <help>Identifier used by client to identify itself to the DHCP server</help>
+ </properties>
+ </leafNode>
+ <leafNode name="host-name">
+ <properties>
+ <help>Override system host-name sent to DHCP server</help>
+ </properties>
+ </leafNode>
+ <leafNode name="vendor-class-id">
+ <properties>
+ <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 (default 210)</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-255"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ <leafNode name="reject">
+ <properties>
+ <help>IP addresses or subnets from which to reject DHCP leases</help>
+ <valueHelp>
+ <format>ipv4</format>
+ <description>IPv4 address to match</description>
+ </valueHelp>
+ <valueHelp>
+ <format>ipv4net</format>
+ <description>IPv4 prefix to match</description>
+ </valueHelp>
+ <constraint>
+ <validator name="ipv4-address"/>
+ <validator name="ipv4-prefix"/>
+ </constraint>
+ <multi/>
+ </properties>
+ </leafNode>
+ </children>
+</node>
+<!-- include end -->