summaryrefslogtreecommitdiff
path: root/interface-definitions/include/dhcp-options.xml.i
blob: 39a3dbb2ef8398b51d11316892789bf4b2165e02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
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 -->