summaryrefslogtreecommitdiff
path: root/data/templates/accel-ppp/chap-secrets.j2
blob: cc3ddc28f9fe6f73ebabd8bda3bf63741dc31662 (plain)
1
2
3
4
5
6
7
8
9
10
# username  server  password  acceptable local IP addresses   shaper
{% for user in local_users %}
{%     if user.state == 'enabled' %}
{%         if user.upload and user.download %}
{{ "%-12s" | format(user.name) }} * {{ "%-16s" | format(user.password) }} {{ "%-16s" | format(user.ip) }} {{ user.download }}/{{ user.upload }}
{%         else %}
{{ "%-12s" | format(user.name) }} * {{ "%-16s" | format(user.password) }} {{ "%-16s" | format(user.ip) }}
{%         endif %}
{%     endif %}
{% endfor %}