2017-09-11 23:49:11 +02:00
|
|
|
#
|
|
|
|
# {{ ansible_managed }}
|
|
|
|
#
|
|
|
|
|
2018-08-07 10:32:23 +02:00
|
|
|
{% for peer_id, peer_value in ffrl_exit_server.items() %}
|
2018-10-04 19:09:59 +02:00
|
|
|
protocol bgp '{{ peer_id.replace('-','_') }}' from ffrl_uplink {
|
2017-10-03 14:37:39 +02:00
|
|
|
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 %}
|