summaryrefslogtreecommitdiff
path: root/interface-definitions/include/interface/parameters-ttl.xml.i
blob: 8ef8c91495e5b6cd2e1333fb14852bebe393b960 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!-- include start from interface/interface-parameters-ttl.xml.i -->
<leafNode name="ttl">
  <properties>
    <help>Specifies TTL value to use in outgoing packets</help>
    <valueHelp>
      <format>u32:0</format>
      <description>Inherit - copy value from original IP header</description>
    </valueHelp>
    <valueHelp>
      <format>u32: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>
<!-- include end -->