ansible-ffibk/roles/service-bird-ffrl/templates/ffrl_ipv4_peers.conf.j2

14 lines
409 B
Text
Raw Normal View History

2017-09-11 23:49:11 +02:00
#
# {{ ansible_managed }}
#
{% for peer_id, peer_value in ffrl_exit_server.items() %}
protocol bgp '{{ peer_id.replace('-','_') }}' from ffrl_uplink {
source address {{ peer_value.tunnel_ipv4_network | ipaddr('net') | ipaddr('1') | ipaddr('address') }};
neighbor {{ peer_value.tunnel_ipv4_network | ipaddr('net') | ipaddr('address') }} as ffrl_as;
2017-09-11 23:49:11 +02:00
};
{% if not loop.last %}
{% endif %}
{% endfor %}