summaryrefslogtreecommitdiff
path: root/interface-definitions/include/firewall/set-packet-modifications-dscp.xml.i
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2024-10-04 12:21:51 +0100
committerGitHub <noreply@github.com>2024-10-04 12:21:51 +0100
commit2a46c1cfb229f0e473b91aeaf8dfd278527ccda6 (patch)
treec7b547b5ddd9f3a34d402cf09f22c238677ff087 /interface-definitions/include/firewall/set-packet-modifications-dscp.xml.i
parent43f646d6046e6edf62456f9e414cf1e1f1638e40 (diff)
parente846d2c1500df83742eb803684980396857cc0f1 (diff)
downloadvyos-1x-2a46c1cfb229f0e473b91aeaf8dfd278527ccda6.tar.gz
vyos-1x-2a46c1cfb229f0e473b91aeaf8dfd278527ccda6.zip
Merge pull request #4123 from nicolas-fort/fwall_set_commands
T6760: firewall: add packet modifications existing in policy route to regular firewall ruleset.
Diffstat (limited to 'interface-definitions/include/firewall/set-packet-modifications-dscp.xml.i')
-rw-r--r--interface-definitions/include/firewall/set-packet-modifications-dscp.xml.i21
1 files changed, 21 insertions, 0 deletions
diff --git a/interface-definitions/include/firewall/set-packet-modifications-dscp.xml.i b/interface-definitions/include/firewall/set-packet-modifications-dscp.xml.i
new file mode 100644
index 000000000..5082806fb
--- /dev/null
+++ b/interface-definitions/include/firewall/set-packet-modifications-dscp.xml.i
@@ -0,0 +1,21 @@
+<!-- include start from firewall/set-packet-modifications-dscp.xml.i -->
+<node name="set">
+ <properties>
+ <help>Packet modifications</help>
+ </properties>
+ <children>
+ <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>
+ </children>
+</node>
+<!-- include end -->