[bgp]:Add redistribution connected for ipv6 also for Frontend ASICs (#4767)

* fix redistribution connected for ipv6 also

Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <arlakshm@microsoft.com>
This commit is contained in:
arlakshm 2020-06-16 06:45:45 -07:00 committed by Abhishek Dosi
parent c625e0e3e6
commit c5807c2dd2

View File

@ -63,7 +63,12 @@ router bgp {{ DEVICE_METADATA['localhost']['bgp_asn'] }}
! !
! !
{% if DEVICE_METADATA['localhost']['sub_role'] == 'FrontEnd' %} {% if DEVICE_METADATA['localhost']['sub_role'] == 'FrontEnd' %}
address-family ipv4
redistribute connected route-map HIDE_INTERNAL redistribute connected route-map HIDE_INTERNAL
exit-address-family
address-family ipv6
redistribute connected route-map HIDE_INTERNAL
exit-address-family
{% endif %} {% endif %}
! !
{% if constants.bgp.maximum_paths.enabled is defined and constants.bgp.maximum_paths.enabled %} {% if constants.bgp.maximum_paths.enabled is defined and constants.bgp.maximum_paths.enabled %}