summaryrefslogtreecommitdiff
path: root/interface-definitions/include/accel-ppp/shaper.xml.i
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-02-10 07:54:45 +0100
committerGitHub <noreply@github.com>2023-02-10 07:54:45 +0100
commit7000d33d3dd275796cf0d9ac450a3af88168c907 (patch)
tree16f1fddcd4814ca7210f92f9229832910faf5309 /interface-definitions/include/accel-ppp/shaper.xml.i
parent078faa6718c2afb918031f52430d586a006dd050 (diff)
parent3f4aee7a34463594b8b3164f472dc4ff35eac322 (diff)
downloadvyos-1x-7000d33d3dd275796cf0d9ac450a3af88168c907.tar.gz
vyos-1x-7000d33d3dd275796cf0d9ac450a3af88168c907.zip
Merge pull request #1808 from sever-sever/T1993
T1993: PPPoE-server add section shaper and fwmark option
Diffstat (limited to 'interface-definitions/include/accel-ppp/shaper.xml.i')
-rw-r--r--interface-definitions/include/accel-ppp/shaper.xml.i21
1 files changed, 21 insertions, 0 deletions
diff --git a/interface-definitions/include/accel-ppp/shaper.xml.i b/interface-definitions/include/accel-ppp/shaper.xml.i
new file mode 100644
index 000000000..b4f9536d2
--- /dev/null
+++ b/interface-definitions/include/accel-ppp/shaper.xml.i
@@ -0,0 +1,21 @@
+<!-- include start from accel-ppp/shaper.xml.i -->
+<node name="shaper">
+ <properties>
+ <help>Traffic shaper bandwidth parameters</help>
+ </properties>
+ <children>
+ <leafNode name="fwmark">
+ <properties>
+ <help>Firewall mark value for traffic that excludes from shaping</help>
+ <valueHelp>
+ <format>u32:1-2147483647</format>
+ <description>Match firewall mark value</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-2147483647"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ </children>
+</node>
+<!-- include end -->