summaryrefslogtreecommitdiff
path: root/interface-definitions/include/firewall/set-packet-modifications.xml.i
diff options
context:
space:
mode:
authorNicolas Fort <nicolasfort1988@gmail.com>2024-07-31 12:42:25 +0000
committerNicolas Fort <nicolasfort1988@gmail.com>2024-08-02 12:50:26 +0000
commitc33cd6157ebc5c08dc1e3ff1aa36f2d2fbb9ca83 (patch)
tree55454c478da7bc0cf6e2e9df11f520bbcefc7d26 /interface-definitions/include/firewall/set-packet-modifications.xml.i
parentfa764927c14350104671edbb2bb3570ab267e416 (diff)
downloadvyos-1x-c33cd6157ebc5c08dc1e3ff1aa36f2d2fbb9ca83.tar.gz
vyos-1x-c33cd6157ebc5c08dc1e3ff1aa36f2d2fbb9ca83.zip
T4072: change same helpers in xml definitions; add notrack action for prerouting chain; re introduce <set vrf> in policy; change global options for passing traffic to IPvX firewall; update smoketest
Diffstat (limited to 'interface-definitions/include/firewall/set-packet-modifications.xml.i')
-rw-r--r--interface-definitions/include/firewall/set-packet-modifications.xml.i32
1 files changed, 25 insertions, 7 deletions
diff --git a/interface-definitions/include/firewall/set-packet-modifications.xml.i b/interface-definitions/include/firewall/set-packet-modifications.xml.i
index eda568a0e..ee019b64e 100644
--- a/interface-definitions/include/firewall/set-packet-modifications.xml.i
+++ b/interface-definitions/include/firewall/set-packet-modifications.xml.i
@@ -6,10 +6,10 @@
<children>
<leafNode name="connection-mark">
<properties>
- <help>Connection marking</help>
+ <help>Set connection mark</help>
<valueHelp>
<format>u32:0-2147483647</format>
- <description>Connection marking</description>
+ <description>Connection mark</description>
</valueHelp>
<constraint>
<validator name="numeric" argument="--range 0-2147483647"/>
@@ -18,7 +18,7 @@
</leafNode>
<leafNode name="dscp">
<properties>
- <help>Packet Differentiated Services Codepoint (DSCP)</help>
+ <help>Set DSCP (Packet Differentiated Services Codepoint) bits</help>
<valueHelp>
<format>u32:0-63</format>
<description>DSCP number</description>
@@ -30,10 +30,10 @@
</leafNode>
<leafNode name="mark">
<properties>
- <help>Packet marking</help>
+ <help>Set packet mark</help>
<valueHelp>
<format>u32:1-2147483647</format>
- <description>Packet marking</description>
+ <description>Packet mark</description>
</valueHelp>
<constraint>
<validator name="numeric" argument="--range 1-2147483647"/>
@@ -42,7 +42,7 @@
</leafNode>
<leafNode name="table">
<properties>
- <help>Routing table to forward packet with</help>
+ <help>Set the routing table for matched packets</help>
<valueHelp>
<format>u32:1-200</format>
<description>Table number</description>
@@ -61,9 +61,27 @@
</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>TCP Maximum Segment Size</help>
+ <help>Set TCP Maximum Segment Size</help>
<valueHelp>
<format>u32:500-1460</format>
<description>Explicitly set TCP MSS value</description>