|
|
|
@ -31,7 +31,7 @@ protocol kernel kernel6 {
|
|
|
|
|
{% if bird__static_unreachable | ansible.utils.ipv4 %}
|
|
|
|
|
protocol static unreachable4 {
|
|
|
|
|
ipv4 {
|
|
|
|
|
export all;
|
|
|
|
|
import all;
|
|
|
|
|
};
|
|
|
|
|
{% for route in bird__static_unreachable | ansible.utils.ipv4 %}
|
|
|
|
|
route {{ route }} unreachable;
|
|
|
|
@ -42,7 +42,7 @@ protocol static unreachable4 {
|
|
|
|
|
{% if bird__static_unreachable | ansible.utils.ipv6 %}
|
|
|
|
|
protocol static unreachable6 {
|
|
|
|
|
ipv6 {
|
|
|
|
|
export all;
|
|
|
|
|
import all;
|
|
|
|
|
};
|
|
|
|
|
{% for route in bird__static_unreachable | ansible.utils.ipv6 %}
|
|
|
|
|
route {{ route }} unreachable;
|
|
|
|
@ -130,7 +130,7 @@ protocol ospf v3 ospf6 {
|
|
|
|
|
| ansible.utils.ipaddr(version=version)
|
|
|
|
|
| first
|
|
|
|
|
%}
|
|
|
|
|
protocol bgp bgp_{{ session.name }}{{ version }} {
|
|
|
|
|
protocol bgp bgp{{ version }}_{{ session.name }} {
|
|
|
|
|
|
|
|
|
|
local {{ local_address }} as {{ session.local.as }};
|
|
|
|
|
neighbor {{ remote_address }} as {{ session.remote.as }};
|
|
|
|
|