diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2022-07-05 12:31:24 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2022-07-05 12:31:24 +0000 |
commit | 14a7a85b49ccb6c961b7919fb25aff03504ba0db (patch) | |
tree | 5e88e32bbb86ad03e30f32e70b502538a2b3cab8 /interface-definitions/include/accel-ppp/radius-additions-rate-limit.xml.i | |
parent | 459f8ea10227b5644083ddcf8a0e8b63faa22313 (diff) | |
download | vyos-1x-14a7a85b49ccb6c961b7919fb25aff03504ba0db.tar.gz vyos-1x-14a7a85b49ccb6c961b7919fb25aff03504ba0db.zip |
pppoe-server: T4373: Add option multiplier for correct shaping
Multiplier option is required by some vendors for correct shaping
For RADIUS based rate-limits
edit service pppoe-server
set authentication radius rate-limit multiplier '0.001'
Diffstat (limited to 'interface-definitions/include/accel-ppp/radius-additions-rate-limit.xml.i')
-rw-r--r-- | interface-definitions/include/accel-ppp/radius-additions-rate-limit.xml.i | 14 |
1 files changed, 14 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 --> |