Added bgp peering info to bond_interfaces

This commit is contained in:
Cory 2021-03-25 16:47:02 +10:30
parent 293b5fce1f
commit 313dd89089
1 changed files with 5 additions and 0 deletions

View File

@ -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