diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-07-09 11:32:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-09 11:32:56 +0200 |
commit | ddfb571f83ce54dbb137959b9e635651cb7f1679 (patch) | |
tree | 274ab6ddd4fff8178ef870d64634242e5a5ab315 /interface-definitions | |
parent | 7b998593c931757994a8965999366f2d7c9c93f3 (diff) | |
parent | 168f24eafeac4d7d4691a3853061d5c00e0009ca (diff) | |
download | vyos-1x-ddfb571f83ce54dbb137959b9e635651cb7f1679.tar.gz vyos-1x-ddfb571f83ce54dbb137959b9e635651cb7f1679.zip |
Merge pull request #1392 from sever-sever/T4507-eq
accel-ppp: T4373: T4507: Add options multiplier for shaper
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/include/accel-ppp/radius-additions-rate-limit.xml.i | 14 | ||||
-rw-r--r-- | interface-definitions/service_ipoe-server.xml.in | 5 |
2 files changed, 19 insertions, 0 deletions
diff --git a/interface-definitions/include/accel-ppp/radius-additions-rate-limit.xml.i b/interface-definitions/include/accel-ppp/radius-additions-rate-limit.xml.i index be49fce5a..f44920c3f 100644 --- a/interface-definitions/include/accel-ppp/radius-additions-rate-limit.xml.i +++ b/interface-definitions/include/accel-ppp/radius-additions-rate-limit.xml.i @@ -21,6 +21,20 @@ <valueless /> </properties> </leafNode> + <leafNode name="multiplier"> + <properties> + <help>Shaper multiplier</help> + <valueHelp> + <format><0.001-1000></format> + <description>Shaper multiplier</description> + </valueHelp> + <constraint> + <validator name="numeric" argument="--range 0.001-1000 --float"/> + </constraint> + <constraintErrorMessage>Multiplier needs to be between 0.001 and 1000</constraintErrorMessage> + </properties> + <defaultValue>1</defaultValue> + </leafNode> </children> </node> <!-- include end --> diff --git a/interface-definitions/service_ipoe-server.xml.in b/interface-definitions/service_ipoe-server.xml.in index bdf399d46..b9279793c 100644 --- a/interface-definitions/service_ipoe-server.xml.in +++ b/interface-definitions/service_ipoe-server.xml.in @@ -217,6 +217,11 @@ </tagNode> </children> </tagNode> + <node name="radius"> + <children> + #include <include/accel-ppp/radius-additions-rate-limit.xml.i> + </children> + </node> #include <include/radius-server-ipv4.xml.i> #include <include/accel-ppp/radius-additions.xml.i> </children> |