Added bgp_redistribute_connected conditrional
This commit is contained in:
parent
97bf6b7ffd
commit
5fee46f5b0
|
@ -47,6 +47,9 @@ router bgp {{host_ASN}}
|
||||||
{% if host_loopback_IP is defined %}
|
{% if host_loopback_IP is defined %}
|
||||||
network {{host_loopback_IP}}/32
|
network {{host_loopback_IP}}/32
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if bgp_redistribute_connected is defined and bgp_redistribute_connected == True %}
|
||||||
|
redistribute connected
|
||||||
|
{% endif %}
|
||||||
{% if autobgp_interfaces is defined and autobgp_interfaces != [] %}
|
{% if autobgp_interfaces is defined and autobgp_interfaces != [] %}
|
||||||
neighbor fabric activate
|
neighbor fabric activate
|
||||||
neighbor fabric prefix-list AS{{host_ASN}}-OUT out
|
neighbor fabric prefix-list AS{{host_ASN}}-OUT out
|
||||||
|
|
Loading…
Reference in New Issue