refactor: Continue removing macro dependencies from templates

This commit is contained in:
Daniel Akulenok
2024-05-14 10:31:16 +02:00
committed by Daniel Akulenok
parent fdf150c640
commit 18b5c5a20f
3 changed files with 5 additions and 10 deletions

View File

@@ -1,7 +1,6 @@
{# ACL Macro. Very easy statement. It's just a list of address match elements. #}
{% macro acl(acls) %}
{% for acl in acls %}
{% for acl in item.acl %}
acl {{ acl.name }} {
{{ functions.simple_item_list(acl.addresses) -}}
};
{% endfor %}{% endmacro %}
{% endfor %}