diff --git a/templates/frr.conf.j2 b/templates/frr.conf.j2 index cbdd33f..4ae9559 100644 --- a/templates/frr.conf.j2 +++ b/templates/frr.conf.j2 @@ -47,6 +47,9 @@ router bgp {{host_ASN}} {% if host_loopback_IP is defined %} network {{host_loopback_IP}}/32 {% endif %} +{% if networks_to_announce_ipv4 is defined and networks_to_announce_ipv4 != [] %} + network {{networks_to_announce_ipv4}} +{% endif %} {% if autobgp_interfaces is defined and autobgp_interfaces != [] %} neighbor fabric activate neighbor fabric prefix-list AS{{host_ASN}}-OUT out