From b9fb9f377fd8e53030e81ed3d9dc125733048519 Mon Sep 17 00:00:00 2001 From: Jeltz Date: Thu, 22 Dec 2022 10:50:51 +0100 Subject: [PATCH] bird: remove unused OSPF protocol instances --- roles/bird/templates/bird.conf.j2 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/roles/bird/templates/bird.conf.j2 b/roles/bird/templates/bird.conf.j2 index 9ee2070..41a4cf8 100644 --- a/roles/bird/templates/bird.conf.j2 +++ b/roles/bird/templates/bird.conf.j2 @@ -50,6 +50,7 @@ protocol static unreachable6 { } {% endif %} +{% if bird__ospf_broadcast_interfaces %} protocol ospf v2 ospf4 { ipv4 { @@ -80,7 +81,9 @@ protocol ospf v2 ospf4 { }; } +{% endif %} +{% if bird__ospf_broadcast_interfaces %} protocol ospf v3 ospf6 { ipv6 { @@ -111,6 +114,8 @@ protocol ospf v3 ospf6 { }; } +{% endif %} + {% for session in bird__bgp_sessions %} {% for local_address in session.local.address %}