summaryrefslogtreecommitdiff
path: root/interface-definitions/include/firewall/set-packet-modifications-table-and-vrf.xml.i
blob: c7875b31d02120ec4022f32a625bf86c1c1e1e2c (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
<!-- include start from firewall/set-packet-modifications-table-and-vrf.xml.i -->
<node name="set">
  <properties>
    <help>Packet modifications</help>
  </properties>
  <children>
    <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>
  </children>
</node>
<!-- include end -->