13 lines
348 B
Django/Jinja
13 lines
348 B
Django/Jinja
#
|
|
# {{ ansible_managed }}
|
|
#
|
|
|
|
{% for peer_id, peer_value in ffrl_exit_server.iteritems() %}
|
|
protocol bgp {{ peer_id }} from ffrl_uplink {
|
|
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 %}
|