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