diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-02-12 12:55:39 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-02-12 12:55:39 +0000 |
commit | 8c98ceeee57d062969456d1848b952ed9a3dd7fb (patch) | |
tree | ff0568a121089d758f90523e87ff6275288bb38e /interface-definitions/include | |
parent | 0a5579b84d7c4280fe429bd45a70482a83b8d887 (diff) | |
download | vyos-1x-8c98ceeee57d062969456d1848b952ed9a3dd7fb.tar.gz vyos-1x-8c98ceeee57d062969456d1848b952ed9a3dd7fb.zip |
T1993: PPPoE-server add section shaper and fwmark option
Extended PPPoE-server rate-limiter to avoid shaping marked resources
Often this feature needs for ISP, which provides access to some IX
or its resources.
set service pppoe-server shaper fwmark '223'
Diffstat (limited to 'interface-definitions/include')
-rw-r--r-- | interface-definitions/include/accel-ppp/shaper.xml.i | 21 |
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 --> |