update config

This commit is contained in:
ace 2021-10-25 14:40:26 +03:00
parent 9aedfaf036
commit 3b6f8b5ea7
No known key found for this signature in database
GPG Key ID: 2E47CC17BA7F8CF0

View File

@ -3,19 +3,23 @@ router id {{ bird.bgp.common[inventory_hostname].routerid }};
protocol device {
}
protocol direct {
disabled;
ipv4;
ipv6;
}
protocol kernel KERNEL4 {
ipv4 {
export all; # Export to protocol. default is export none
};
}
protocol kernel KERNEL6 {
ipv6 { export all; };
ipv6 { export all; };
}
{% for protocol_static in bird.bgp.static %}
protocol static {{ protocol_static.name }} {
ipv4;
@ -24,6 +28,7 @@ protocol static {{ protocol_static.name }} {
{% endfor %}
}
{% endfor %}
{% for protocol_bgp in bird.bgp.bgp %}
protocol bgp {{ protocol_bgp.name }} {
{% if protocol_bgp.confederation is defined %}
@ -41,6 +46,5 @@ protocol bgp {{ protocol_bgp.name }} {
else reject;
};
};
}
{% endfor %}