summaryrefslogtreecommitdiff
path: root/interface-definitions/include/firewall/set-packet-modifications.xml.i
blob: ee019b64ee7fa44fbef51e3166cf5b9680a94922 (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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<!-- include start from firewall/set-packet-modifications.xml.i -->
<node name="set">
  <properties>
    <help>Packet modifications</help>
  </properties>
  <children>
    <leafNode name="connection-mark">
      <properties>
        <help>Set connection mark</help>
        <valueHelp>
          <format>u32:0-2147483647</format>
          <description>Connection mark</description>
        </valueHelp>
        <constraint>
          <validator name="numeric" argument="--range 0-2147483647"/>
        </constraint>
      </properties>
    </leafNode>
    <leafNode name="dscp">
      <properties>
        <help>Set DSCP (Packet Differentiated Services Codepoint) bits</help>
        <valueHelp>
          <format>u32:0-63</format>
          <description>DSCP number</description>
        </valueHelp>
        <constraint>
          <validator name="numeric" argument="--range 0-63"/>
        </constraint>
      </properties>
    </leafNode>
    <leafNode name="mark">
      <properties>
        <help>Set packet mark</help>
        <valueHelp>
          <format>u32:1-2147483647</format>
          <description>Packet mark</description>
        </valueHelp>
        <constraint>
          <validator name="numeric" argument="--range 1-2147483647"/>
        </constraint>
      </properties>
    </leafNode>
    <leafNode name="table">
      <properties>
        <help>Set the routing table for matched packets</help>
        <valueHelp>
          <format>u32:1-200</format>
          <description>Table number</description>
        </valueHelp>
        <valueHelp>
          <format>main</format>
          <description>Main table</description>
        </valueHelp>
        <constraint>
          <validator name="numeric" argument="--range 1-200"/>
          <regex>(main)</regex>
        </constraint>
        <completionHelp>
          <list>main</list>
          <path>protocols static table</path>
        </completionHelp>
      </properties>
    </leafNode>
    <leafNode name="vrf">
      <properties>
        <help>VRF to forward packet with</help>
        <valueHelp>
          <format>txt</format>
          <description>VRF instance name</description>
        </valueHelp>
        <valueHelp>
          <format>default</format>
          <description>Forward into default global VRF</description>
        </valueHelp>
        <completionHelp>
          <list>default</list>
          <path>vrf name</path>
        </completionHelp>
        #include <include/constraint/vrf.xml.i>
      </properties>
    </leafNode>
    <leafNode name="tcp-mss">
      <properties>
        <help>Set TCP Maximum Segment Size</help>
        <valueHelp>
          <format>u32:500-1460</format>
          <description>Explicitly set TCP MSS value</description>
        </valueHelp>
        <constraint>
          <validator name="numeric" argument="--range 500-1460"/>
        </constraint>
      </properties>
    </leafNode>
  </children>
</node>
<!-- include end -->