Skip to content

Commit 941e74e

Browse files
committed
peer-group fix
put the table map in correct spot for v4 Signed-off-by: Mukul Chodhary <[email protected]>
1 parent 5972ab3 commit 941e74e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

dockers/docker-fpm-frr/frr/bgpd/templates/general/peer-group.conf.j2

+3-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
neighbor PEER_V4 soft-reconfiguration inbound
1515
neighbor PEER_V4 route-map FROM_BGP_PEER_V4 in
1616
neighbor PEER_V4 route-map TO_BGP_PEER_V4 out
17+
{% if CONFIG_DB__DEVICE_METADATA['localhost']['type'] == 'SpineRouter' %}
18+
table-map SELECTIVE_ROUTE_DOWNLOAD_V4
19+
{% endif %}
1720
exit-address-family
1821
address-family ipv6
1922
{% if CONFIG_DB__DEVICE_METADATA['localhost']['type'] == 'ToRRouter' %}
@@ -27,7 +30,6 @@
2730
neighbor PEER_V6 route-map FROM_BGP_PEER_V6 in
2831
neighbor PEER_V6 route-map TO_BGP_PEER_V6 out
2932
{% if CONFIG_DB__DEVICE_METADATA['localhost']['type'] == 'SpineRouter' %}
30-
table-map SELECTIVE_ROUTE_DOWNLOAD_V4
3133
table-map SELECTIVE_ROUTE_DOWNLOAD_V6
3234
{% endif %}
3335
exit-address-family

0 commit comments

Comments
 (0)