summaryrefslogtreecommitdiff
path: root/data/templates/accel-ppp/chap-secrets.pppoe.tmpl
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-10-04 19:13:31 +0200
committerChristian Poessinger <christian@poessinger.com>2020-10-04 19:13:31 +0200
commit136d81c13c79aa510404e8cf7a63ea631b017209 (patch)
tree213d0a7eb89ded6c242eec0bc2be67f6cbd4010a /data/templates/accel-ppp/chap-secrets.pppoe.tmpl
parent3691fa4aa76b303f209beee3d24a0647c1116794 (diff)
downloadvyos-1x-136d81c13c79aa510404e8cf7a63ea631b017209.tar.gz
vyos-1x-136d81c13c79aa510404e8cf7a63ea631b017209.zip
pppoe-server: T2953: prepare common chap-secrets file
Diffstat (limited to 'data/templates/accel-ppp/chap-secrets.pppoe.tmpl')
-rw-r--r--data/templates/accel-ppp/chap-secrets.pppoe.tmpl12
1 files changed, 0 insertions, 12 deletions
diff --git a/data/templates/accel-ppp/chap-secrets.pppoe.tmpl b/data/templates/accel-ppp/chap-secrets.pppoe.tmpl
deleted file mode 100644
index da64b64d5..000000000
--- a/data/templates/accel-ppp/chap-secrets.pppoe.tmpl
+++ /dev/null
@@ -1,12 +0,0 @@
-# username server password acceptable local IP addresses shaper
-{% if authentication is defined and authentication.local_users is defined and authentication.local_users.username is defined %}
-{% for user, user_config in authentication.local_users.username.items() %}
-{% if user_config.disabled is not defined %}
-{% if user_config.rate_limit is defined %}
-{{ "%-12s" | format(user) }} * {{ "%-16s" | format(user_config.password) }} {{ "%-16s" | format(user_config.static_ip) }} {{ user_config.rate_limit.download }}/{{ user_config.rate_limit.upload }}
-{% else %}
-{{ "%-12s" | format(user) }} * {{ "%-16s" | format(user_config.password) }} {{ "%-16s" | format(user_config.static_ip) }}
-{% endif %}
-{% endif %}
-{% endfor %}
-{% endif %}