bird: add OSPF stubnet support
This commit is contained in:
parent
8863eed924
commit
618cad720a
2 changed files with 7 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
bird__ospf_stub_interfaces: []
|
||||
bird__ospf_stub_networks: []
|
||||
bird__ospf_broadcast_interfaces: {}
|
||||
bird__ospf_hello: 2
|
||||
bird__ospf_retransmit: 5
|
||||
|
|
|
@ -58,6 +58,9 @@ protocol ospf v2 ospf4 {
|
|||
};
|
||||
|
||||
area 0 {
|
||||
{% for network in bird__ospf_stub_networks | ansible.utils.ipv4 %}
|
||||
stubnet {{ network }};
|
||||
{% endfor %}
|
||||
{% for name, iface in bird__ospf_broadcast_interfaces.items() %}
|
||||
interface {{ name | enquote }} {
|
||||
type broadcast;
|
||||
|
@ -86,6 +89,9 @@ protocol ospf v3 ospf6 {
|
|||
};
|
||||
|
||||
area 0 {
|
||||
{% for network in bird__ospf_stub_networks | ansible.utils.ipv6 %}
|
||||
stubnet {{ network }};
|
||||
{% endfor %}
|
||||
{% for name, iface in bird__ospf_broadcast_interfaces.items() %}
|
||||
interface {{ name | enquote }} {
|
||||
type broadcast;
|
||||
|
|
Loading…
Reference in a new issue