bgp_redistribute_connected

This commit is contained in:
Cory Hawkless 2020-11-07 23:03:11 +10:30
parent 8cbad89ae0
commit 251449661f
1 changed files with 3 additions and 0 deletions

View File

@ -47,6 +47,9 @@ router bgp {{host_ASN}}
{% if host_loopback_IP is defined %}
network {{host_loopback_IP}}/32
{% endif %}
{% if bgp_redistribute_connected is defined and bgp_redistribute_connected == True %}
redistribute connected
{% endif %}
{% if networks_to_announce_ipv4 is defined and networks_to_announce_ipv4 != [] %}
{% for item in networks_to_announce_ipv4 %}
network {{item}}