summaryrefslogtreecommitdiff
path: root/interface-definitions/include/accel-ppp/ppp-options.xml.i
blob: 9b4f1d0ca833cf2bca276514d52ff5c617fbc5bf (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
<!-- include start from accel-ppp/ppp-options.xml.i -->
<node name="ppp-options">
  <properties>
    <help>Advanced protocol options</help>
  </properties>
  <children>
    <leafNode name="min-mtu">
      <properties>
        <help>Minimum acceptable MTU (68-65535)</help>
        <constraint>
          <validator name="numeric" argument="--range 68-65535"/>
        </constraint>
      </properties>
    </leafNode>
    <leafNode name="mru">
      <properties>
        <help>Preferred MRU (68-65535)</help>
        <constraint>
          <validator name="numeric" argument="--range 68-65535"/>
        </constraint>
      </properties>
    </leafNode>
    <leafNode name="disable-ccp">
      <properties>
        <help>Disable Compression Control Protocol (CCP)</help>
        <valueless />
      </properties>
    </leafNode>
    #include <include/accel-ppp/ppp-mppe.xml.i>
    #include <include/accel-ppp/lcp-echo-interval-failure.xml.i>
    #include <include/accel-ppp/lcp-echo-timeout.xml.i>
    #include <include/accel-ppp/ppp-interface-cache.xml.i>
    <leafNode name="ipv4">
      <properties>
        <help>IPv4 (IPCP) negotiation algorithm</help>
        <constraint>
          <regex>(deny|allow|prefer|require)</regex>
        </constraint>
        <constraintErrorMessage>invalid value</constraintErrorMessage>
        <valueHelp>
          <format>deny</format>
          <description>Do not negotiate IPv4</description>
        </valueHelp>
        <valueHelp>
          <format>allow</format>
          <description>Negotiate IPv4 only if client requests</description>
        </valueHelp>
        <valueHelp>
          <format>prefer</format>
          <description>Ask client for IPv4 negotiation, do not fail if it rejects</description>
        </valueHelp>
        <valueHelp>
          <format>require</format>
          <description>Require IPv4 negotiation</description>
        </valueHelp>
        <completionHelp>
          <list>deny allow prefer require</list>
        </completionHelp>
      </properties>
    </leafNode>
    #include <include/accel-ppp/ppp-options-ipv6.xml.i>
    #include <include/accel-ppp/ppp-options-ipv6-interface-id.xml.i>
  </children>
</node>
<!-- include end -->