summaryrefslogtreecommitdiff
path: root/data/templates/accel-ppp/chap-secrets.config_dict.tmpl
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-05-01 21:11:09 +0200
committerChristian Poessinger <christian@poessinger.com>2022-05-01 21:11:09 +0200
commitd956fda57f3288d6b23af90eab205091a0797e1a (patch)
treecb6e59a1effb3075c96e9f09ed7db9dd3402b637 /data/templates/accel-ppp/chap-secrets.config_dict.tmpl
parent5ec208ed9ee060f7c1a7707dc2369c83657196e8 (diff)
downloadvyos-1x-d956fda57f3288d6b23af90eab205091a0797e1a.tar.gz
vyos-1x-d956fda57f3288d6b23af90eab205091a0797e1a.zip
accel-ppp: T4353: fix Jinja2 linting errors
Diffstat (limited to 'data/templates/accel-ppp/chap-secrets.config_dict.tmpl')
-rw-r--r--data/templates/accel-ppp/chap-secrets.config_dict.tmpl10
1 files changed, 0 insertions, 10 deletions
diff --git a/data/templates/accel-ppp/chap-secrets.config_dict.tmpl b/data/templates/accel-ppp/chap-secrets.config_dict.tmpl
deleted file mode 100644
index d4e8bb2aa..000000000
--- a/data/templates/accel-ppp/chap-secrets.config_dict.tmpl
+++ /dev/null
@@ -1,10 +0,0 @@
-# username server password acceptable local IP addresses shaper
-{% if authentication.local_users.username is vyos_defined %}
-{% for user, user_config in authentication.local_users.username.items() if user_config.disabled is not vyos_defined %}
-{% if user_config.rate_limit is vyos_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 %}
-{% endfor %}
-{% endif %}