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 /data/templates | |
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 'data/templates')
-rw-r--r-- | data/templates/accel-ppp/config_shaper_radius.j2 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/data/templates/accel-ppp/config_shaper_radius.j2 b/data/templates/accel-ppp/config_shaper_radius.j2 index 8de5f5df3..c409c3718 100644 --- a/data/templates/accel-ppp/config_shaper_radius.j2 +++ b/data/templates/accel-ppp/config_shaper_radius.j2 @@ -6,5 +6,8 @@ attr={{ authentication.radius.rate_limit.attribute }} {% if authentication.radius.rate_limit.vendor is defined and authentication.radius.rate_limit.vendor is not none %} vendor={{ authentication.radius.rate_limit.vendor }} {% endif %} +{% if authentication.radius.rate_limit.multiplier is defined and authentication.radius.rate_limit.multiplier is not none %} +rate-multiplier={{ authentication.radius.rate_limit.multiplier }} +{% endif %} {% endif %} {% endif %} |