summaryrefslogtreecommitdiff
path: root/data/templates/frr/bfdd.frr.tmpl
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-04-14 21:24:08 +0200
committerChristian Poessinger <christian@poessinger.com>2022-04-14 21:29:44 +0200
commitdf045eca2f6c7a9257de5d32723d9ccc799346e5 (patch)
treebabc4f0a9a6fe51bd0e9ee357a8618f02b08c20b /data/templates/frr/bfdd.frr.tmpl
parentc944188a7e220141207687d04db74eb3a3961e7a (diff)
downloadvyos-1x-df045eca2f6c7a9257de5d32723d9ccc799346e5.tar.gz
vyos-1x-df045eca2f6c7a9257de5d32723d9ccc799346e5.zip
frr: T4353: fix Jinja2 linting errors
Diffstat (limited to 'data/templates/frr/bfdd.frr.tmpl')
-rw-r--r--data/templates/frr/bfdd.frr.tmpl58
1 files changed, 0 insertions, 58 deletions
diff --git a/data/templates/frr/bfdd.frr.tmpl b/data/templates/frr/bfdd.frr.tmpl
deleted file mode 100644
index ac55d4634..000000000
--- a/data/templates/frr/bfdd.frr.tmpl
+++ /dev/null
@@ -1,58 +0,0 @@
-{% if profile is vyos_defined or peer is vyos_defined %}
-bfd
-{% if profile is vyos_defined %}
-{% for profile_name, profile_config in profile.items() %}
- profile {{ profile_name }}
- detect-multiplier {{ profile_config.interval.multiplier }}
- receive-interval {{ profile_config.interval.receive }}
- transmit-interval {{ profile_config.interval.transmit }}
-{% if profile_config.interval.echo_interval is vyos_defined %}
- echo transmit-interval {{ profile_config.interval.echo_interval }}
- echo receive-interval {{ profile_config.interval.echo_interval }}
-{% endif %}
-{% if profile_config.echo_mode is vyos_defined %}
- echo-mode
-{% endif %}
-{% if profile_config.passive is vyos_defined %}
- passive-mode
-{% endif %}
-{% if profile_config.shutdown is vyos_defined %}
- shutdown
-{% else %}
- no shutdown
-{% endif %}
- exit
- !
-{% endfor %}
-{% endif %}
-{% if peer is vyos_defined %}
-{% for peer_name, peer_config in peer.items() %}
- peer {{ peer_name }}{{ ' multihop' if peer_config.multihop is vyos_defined }}{{ ' local-address ' + peer_config.source.address if peer_config.source.address is vyos_defined }}{{ ' interface ' + peer_config.source.interface if peer_config.source.interface is vyos_defined }} {{ ' vrf ' + peer_config.vrf if peer_config.vrf is vyos_defined }}
- detect-multiplier {{ peer_config.interval.multiplier }}
- receive-interval {{ peer_config.interval.receive }}
- transmit-interval {{ peer_config.interval.transmit }}
-{% if peer_config.interval.echo_interval is vyos_defined %}
- echo transmit-interval {{ peer_config.interval.echo_interval }}
- echo receive-interval {{ peer_config.interval.echo_interval }}
-{% endif %}
-{% if peer_config.echo_mode is vyos_defined %}
- echo-mode
-{% endif %}
-{% if peer_config.passive is vyos_defined %}
- passive-mode
-{% endif %}
-{% if peer_config.profile is vyos_defined %}
- profile {{ peer_config.profile }}
-{% endif %}
-{% if peer_config.shutdown is vyos_defined %}
- shutdown
-{% else %}
- no shutdown
-{% endif %}
- exit
- !
-{% endfor %}
-{% endif %}
-exit
-!
-{% endif %}