mirror of
https://gitea.0xace.cc/ansible-galaxy/bird.git
synced 2025-04-05 22:51:57 +00:00
fix confederation
This commit is contained in:
parent
84425da4c2
commit
e1bfad2b10
@ -26,8 +26,10 @@ protocol static {{ protocol_static.name }} {
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% for protocol_bgp in bird.bgp.bgp %}
|
{% for protocol_bgp in bird.bgp.bgp %}
|
||||||
protocol bgp {{ protocol_bgp.name }} {
|
protocol bgp {{ protocol_bgp.name }} {
|
||||||
|
{% if protocol_bgp.confederation is defined %}
|
||||||
confederation {{ protocol_bgp.confederation }};
|
confederation {{ protocol_bgp.confederation }};
|
||||||
confederation member yes;
|
confederation member yes;
|
||||||
|
{% endif %}
|
||||||
local as {{ protocol_bgp.local_asnum }};
|
local as {{ protocol_bgp.local_asnum }};
|
||||||
neighbor {{ protocol_bgp.remote_addr }} as {{ protocol_bgp.remote_asnum }};
|
neighbor {{ protocol_bgp.remote_addr }} as {{ protocol_bgp.remote_asnum }};
|
||||||
hold time 30;
|
hold time 30;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user