summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2023-02-13 15:06:31 +0000
committerGitHub <noreply@github.com>2023-02-13 15:06:31 +0000
commit9c481b00cae8ed1d121c809fb5edc24a937525e9 (patch)
treec3d2d985b6053bb2f4f5a621fd834bc138495052 /interface-definitions
parente7d80294ca5ab3c323c2f16702777724ee5fa121 (diff)
parent8c98ceeee57d062969456d1848b952ed9a3dd7fb (diff)
downloadvyos-1x-9c481b00cae8ed1d121c809fb5edc24a937525e9.tar.gz
vyos-1x-9c481b00cae8ed1d121c809fb5edc24a937525e9.zip
Merge pull request #1812 from sever-sever/T1993-eq
T1993: PPPoE-server add section shaper and fwmark option
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/include/accel-ppp/shaper.xml.i21
-rw-r--r--interface-definitions/service_pppoe-server.xml.in1
2 files changed, 22 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 -->
diff --git a/interface-definitions/service_pppoe-server.xml.in b/interface-definitions/service_pppoe-server.xml.in
index ba053ea75..25ab6f9a0 100644
--- a/interface-definitions/service_pppoe-server.xml.in
+++ b/interface-definitions/service_pppoe-server.xml.in
@@ -325,6 +325,7 @@
</properties>
<defaultValue>replace</defaultValue>
</leafNode>
+ #include <include/accel-ppp/shaper.xml.i>
<node name="snmp">
<properties>
<help>Enable SNMP</help>