bird: typos

This commit is contained in:
jeltz 2022-12-22 11:00:37 +01:00
parent b9fb9f377f
commit cc82841560
Signed by: jeltz
GPG key ID: 800882B66C0C3326

View file

@ -31,7 +31,7 @@ protocol kernel kernel6 {
{% if bird__static_unreachable | ansible.utils.ipv4 %} {% if bird__static_unreachable | ansible.utils.ipv4 %}
protocol static unreachable4 { protocol static unreachable4 {
ipv4 { ipv4 {
export all; import all;
}; };
{% for route in bird__static_unreachable | ansible.utils.ipv4 %} {% for route in bird__static_unreachable | ansible.utils.ipv4 %}
route {{ route }} unreachable; route {{ route }} unreachable;
@ -42,7 +42,7 @@ protocol static unreachable4 {
{% if bird__static_unreachable | ansible.utils.ipv6 %} {% if bird__static_unreachable | ansible.utils.ipv6 %}
protocol static unreachable6 { protocol static unreachable6 {
ipv6 { ipv6 {
export all; import all;
}; };
{% for route in bird__static_unreachable | ansible.utils.ipv6 %} {% for route in bird__static_unreachable | ansible.utils.ipv6 %}
route {{ route }} unreachable; route {{ route }} unreachable;
@ -59,10 +59,10 @@ protocol ospf v2 ospf4 {
}; };
area 0 { area 0 {
{% for network in bird__ospf_stub_networks | ansible.utils.ipv4 %} {% for network in bird__ospf_stub_networks | ansible.utils.ipv4 %}
stubnet {{ network }}; stubnet {{ network }};
{% endfor %} {% endfor %}
{% for name, iface in bird__ospf_broadcast_interfaces.items() %} {% for name, iface in bird__ospf_broadcast_interfaces.items() %}
interface {{ name | enquote }} { interface {{ name | enquote }} {
type broadcast; type broadcast;
hello {{ iface.hello | default(bird__ospf_hello) | int }}; hello {{ iface.hello | default(bird__ospf_hello) | int }};
@ -72,12 +72,12 @@ protocol ospf v2 ospf4 {
wait {{ iface.wait | default(bird__ospf_wait) | int }}; wait {{ iface.wait | default(bird__ospf_wait) | int }};
dead {{ iface.dead | default(bird__ospf_dead) | int }}; dead {{ iface.dead | default(bird__ospf_dead) | int }};
}; };
{% endfor %} {% endfor %}
{% for name in bird__ospf_stub_interfaces %} {% for name in bird__ospf_stub_interfaces %}
interface {{ name | enquote }} { interface {{ name | enquote }} {
stub; stub;
}; };
{% endfor %} {% endfor %}
}; };
} }
@ -92,10 +92,10 @@ protocol ospf v3 ospf6 {
}; };
area 0 { area 0 {
{% for network in bird__ospf_stub_networks | ansible.utils.ipv6 %} {% for network in bird__ospf_stub_networks | ansible.utils.ipv6 %}
stubnet {{ network }}; stubnet {{ network }};
{% endfor %} {% endfor %}
{% for name, iface in bird__ospf_broadcast_interfaces.items() %} {% for name, iface in bird__ospf_broadcast_interfaces.items() %}
interface {{ name | enquote }} { interface {{ name | enquote }} {
type broadcast; type broadcast;
hello {{ iface.hello | default(bird__ospf_hello) | int }}; hello {{ iface.hello | default(bird__ospf_hello) | int }};
@ -105,8 +105,8 @@ protocol ospf v3 ospf6 {
wait {{ iface.wait | default(bird__ospf_wait) | int }}; wait {{ iface.wait | default(bird__ospf_wait) | int }};
dead {{ iface.dead | default(bird__ospf_dead) | int }}; dead {{ iface.dead | default(bird__ospf_dead) | int }};
}; };
{% endfor %} {% endfor %}
{% for name in bird__ospf_stub_interfaces %} {% for name in bird__ospf_stub_interfaces %}
interface {{ name | enquote }} { interface {{ name | enquote }} {
stub; stub;
}; };
@ -130,7 +130,7 @@ protocol ospf v3 ospf6 {
| ansible.utils.ipaddr(version=version) | ansible.utils.ipaddr(version=version)
| first | first
%} %}
protocol bgp bgp_{{ session.name }}{{ version }} { protocol bgp bgp{{ version }}_{{ session.name }} {
local {{ local_address }} as {{ session.local.as }}; local {{ local_address }} as {{ session.local.as }};
neighbor {{ remote_address }} as {{ session.remote.as }}; neighbor {{ remote_address }} as {{ session.remote.as }};