2024-12-25 06:29:32 +00:00
|
|
|
protocol bgp dn42_{{ item['remotename'] }} from dnpeers {
|
|
|
|
neighbor {{ item['remote_llv6'] }} % 'dn42{{ item['remotename'] }}' as {{ item['asn'] }};
|
2024-12-25 09:43:27 +00:00
|
|
|
{% if item.extmsg|default(true) %}
|
|
|
|
enable extended messages on;
|
|
|
|
{% endif %}
|
|
|
|
{% if item.hostadv|default(true) %}
|
|
|
|
advertise hostname on;
|
|
|
|
{% endif %}
|
|
|
|
{% if item['needs_v4']|default(true) %}
|
|
|
|
{% if item['enh']|default(true) %}
|
2024-12-25 06:29:32 +00:00
|
|
|
ipv4 {
|
|
|
|
extended next hop on;
|
|
|
|
};
|
|
|
|
{% endif %}
|
|
|
|
ipv6 {
|
|
|
|
extended next hop on;
|
|
|
|
};
|
|
|
|
{% endif %}
|
|
|
|
}
|