summaryrefslogtreecommitdiff
path: root/interface-definitions/include/dhcpv6-options.xml.i
blob: 2c5058d2c5fbc8e5b6c60425b1961ac12220ad3e (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
61
62
63
64
65
<node name="dhcpv6-options">
  <properties>
    <help>DHCPv6 options</help>
  </properties>
  <children>
    <tagNode name="delegate">
      <properties>
        <help>Delegate IPv6 prefix from provider to this interface</help>
        <completionHelp>
          <script>${vyos_completion_dir}/list_interfaces.py --broadcast</script>
        </completionHelp>
      </properties>
      <children>
        <leafNode name="interface-id">
          <properties>
            <help>Interface address identifier</help>
            <valueHelp>
              <format>0-</format>
              <description>Used to form IPv6 interface address (default: EUI-64)</description>
            </valueHelp>
            <constraint>
              <validator name="numeric" argument="--non-negative"/>
            </constraint>
          </properties>
        </leafNode>
        <leafNode name="sla-id">
          <properties>
            <help>Interface site-Level aggregator (SLA)</help>
            <valueHelp>
              <format>0-128</format>
              <description>Decimal integer which fits in the length of SLA IDs</description>
            </valueHelp>
            <constraint>
              <validator name="numeric" argument="--range 0-128"/>
            </constraint>
          </properties>
        </leafNode>
        <leafNode name="sla-len">
          <properties>
            <help>Site-Level aggregator (SLA) length</help>
            <valueHelp>
              <format>0-128</format>
              <description>Length of delegated prefix</description>
            </valueHelp>
            <constraint>
              <validator name="numeric" argument="--range 0-128"/>
            </constraint>
          </properties>
        </leafNode>
      </children>
    </tagNode>
    <leafNode name="parameters-only">
      <properties>
        <help>Acquire only config parameters, no address</help>
        <valueless/>
      </properties>
    </leafNode>
    <leafNode name="temporary">
      <properties>
        <help>IPv6 "temporary" address</help>
        <valueless/>
      </properties>
    </leafNode>
  </children>
</node>