summaryrefslogtreecommitdiff
path: root/data/templates/accel-ppp/config_shaper_radius.j2
blob: 942cdf13223e071fac283d0a57b53f6bf87dcd0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
{% if authentication.mode is vyos_defined('radius') %}
{%     if authentication.radius.rate_limit.enable is vyos_defined %}
[shaper]
verbose=1
attr={{ authentication.radius.rate_limit.attribute }}
{%         if authentication.radius.rate_limit.vendor is vyos_defined %}
vendor={{ authentication.radius.rate_limit.vendor }}
{%         endif %}
{%         if authentication.radius.rate_limit.multiplier is vyos_defined %}
rate-multiplier={{ authentication.radius.rate_limit.multiplier }}
{%         endif %}
{%     endif %}
{% endif %}