Added bgp peering info to bond_interfaces
This commit is contained in:
parent
293b5fce1f
commit
313dd89089
|
@ -41,6 +41,11 @@ router bgp {{host_ASN}}
|
||||||
{% for item in frr_other_peers %}
|
{% for item in frr_other_peers %}
|
||||||
neighbor {{ item['ip'] }} remote-as {{ item['remote_ASN'] }}
|
neighbor {{ item['ip'] }} remote-as {{ item['remote_ASN'] }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
{% if bond_interfaces is defined and bond_interfaces != [] %}
|
||||||
|
{% for item in bond_interfaces %}
|
||||||
|
neighbor {{ item['ip'] }} remote-as {{ item['remote_ASN'] }}
|
||||||
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
!
|
!
|
||||||
address-family ipv4 unicast
|
address-family ipv4 unicast
|
||||||
|
|
Loading…
Reference in New Issue