This commit is contained in:
Daniel Akulenok
2024-05-14 14:12:19 +02:00
parent 8077d8c05c
commit 52d5fa2d3f
3 changed files with 5 additions and 12 deletions

View File

@@ -1,9 +1,7 @@
{% macro parental_agents(parental_agents) %}
{% for agent in parental_agents if parental_agents is iterable %}
{% for agent in item.parental_agents if item.parental_agents is iterable %}
parental-agents {{ agent.name -}}
{{ (' port ' + agent.port | string) if agent.port is defined and agent.port -}}
{{ (' dscp ' + agent.dscp | string) if agent.dscp is defined and agent.dscp }} {
{{ functions.list_address_port_key_tls(agent.addresses) -}}};
{% endfor %}
{% endmacro %}