summaryrefslogtreecommitdiff
path: root/interface-definitions/include/tunnel-parameters-ip.xml.i
blob: 0a667d1991cc04e51d7b68546f36abe813074b2c (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
<!-- included start from tunnel-parameters-ip.xml.i -->
<leafNode name="ttl">
  <properties>
    <help>Time to live (default: 0)</help>
    <valueHelp>
      <format>0</format>
      <description>Copy value from original IP header</description>
    </valueHelp>
    <valueHelp>
      <format>1-255</format>
      <description>Time to Live</description>
    </valueHelp>
    <constraint>
      <validator name="numeric" argument="--range 0-255"/>
    </constraint>
    <constraintErrorMessage>TTL must be between 0 and 255</constraintErrorMessage>
  </properties>
  <defaultValue>0</defaultValue>
</leafNode>
<leafNode name="tos">
  <properties>
    <help>Type of Service (TOS)</help>
    <valueHelp>
      <format>0-99</format>
      <description>Type of Service (TOS)</description>
    </valueHelp>
    <constraint>
      <validator name="numeric" argument="--range 0-99"/>
    </constraint>
    <constraintErrorMessage>TOS must be between 0 and 99</constraintErrorMessage>
  </properties>
  <defaultValue>inherit</defaultValue>
</leafNode>
<leafNode name="key">
  <properties>
    <help>Tunnel key</help>
    <valueHelp>
      <format>u32</format>
      <description>Tunnel key</description>
    </valueHelp>
    <constraint>
      <validator name="numeric" argument="--range 0-4294967295"/>
    </constraint>
    <constraintErrorMessage>key must be between 0-4294967295</constraintErrorMessage>
  </properties>
</leafNode>