dn42-ansible/ext-peer.bgp.conf.j2

14 lines
333 B
Text
Raw Normal View History

protocol bgp dn42_{{ item['remotename'] }} from dnpeers {
neighbor {{ item['remote_llv6'] }} % 'dn42{{ item['remotename'] }}' as {{ item['asn'] }};
{% if item['needs_v4'] is defined %}
{% if item['remote_unicastv4'] is not defined %}
ipv4 {
extended next hop on;
};
{% endif %}
ipv6 {
extended next hop on;
};
{% endif %}
}