Role service-bird: suffix legacy ipv6 bgp peers with '_legacy', also

This commit is contained in:
Tobias Hachmer 2019-03-25 20:33:08 +01:00
parent 6cc9776c66
commit f701d77dfd
No known key found for this signature in database
GPG key ID: E112788464CA5C60

View file

@ -14,7 +14,7 @@ protocol bgp mwu_{{ network.remote }} from ibgp_mwu {
{% if server_type == 'gateway' %}
{% for item, value in bgp_legacy_servers.items() %}
{% if item != inventory_hostname_short %}
protocol bgp mwu_{{ item }} from ibgp_mwu {
protocol bgp mwu_{{ item }}_legacy from ibgp_mwu {
source address mwu_address_legacy;
neighbor {{ value.ipv6 }} as mwu_as;
};