From f1b031589e6c58296cdf73b975c71b10c407bdb3 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 10 Apr 2022 09:26:56 +0200 Subject: T4353: enable linting of Jinja2 templates --- data/templates/frr/rpki.frr.tmpl | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 data/templates/frr/rpki.frr.tmpl (limited to 'data/templates/frr/rpki.frr.tmpl') diff --git a/data/templates/frr/rpki.frr.tmpl b/data/templates/frr/rpki.frr.tmpl deleted file mode 100644 index 3f4fd3236..000000000 --- a/data/templates/frr/rpki.frr.tmpl +++ /dev/null @@ -1,18 +0,0 @@ -! -{# as FRR does not support deleting the entire rpki section we leave it in place even when it's empty #} -rpki -{% if cache is vyos_defined %} -{% for peer, peer_config in cache.items() %} -{# port is mandatory and preference uses a default value #} -{% if peer_config.ssh.username is vyos_defined %} - rpki cache {{ peer | replace('_', '-') }} {{ peer_config.port }} {{ peer_config.ssh.username }} {{ peer_config.ssh.private_key_file }} {{ peer_config.ssh.public_key_file }} {{ peer_config.ssh.known_hosts_file }} preference {{ peer_config.preference }} -{% else %} - rpki cache {{ peer | replace('_', '-') }} {{ peer_config.port }} preference {{ peer_config.preference }} -{% endif %} -{% endfor %} -{% endif %} -{% if polling_period is vyos_defined %} - rpki polling_period {{ polling_period }} -{% endif %} -exit -! -- cgit v1.2.3