We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8b68a4 commit 6e716ceCopy full SHA for 6e716ce
dockers/docker-fpm-frr/frr.conf.j2
@@ -80,6 +80,8 @@ route-map FROM_BGP_SPEAKER_V4 permit 10
80
route-map TO_BGP_SPEAKER_V4 deny 10
81
!
82
! Vnet BGP instance
83
+{% block vnet_bgp_instance %}
84
+{% if VNET is defined %}
85
{% for vnet_name, vnet_metadata in VNET.iteritems() %}
86
router bgp {{ DEVICE_METADATA['localhost']['bgp_asn'] }} vrf {{ vnet_name }}
87
no bgp default ipv4-unicast
@@ -131,6 +133,8 @@ router bgp {{ DEVICE_METADATA['localhost']['bgp_asn'] }} vrf {{ vnet_name }}
131
133
advertise ipv4 unicast
132
134
exit-address-family
135
{% endfor %}
136
+{% endif %}
137
+{% endblock vnet_bgp_instance %}
138
139
router bgp {{ DEVICE_METADATA['localhost']['bgp_asn'] }}
140
bgp log-neighbor-changes
0 commit comments