Skip to content

Commit

Permalink
Merge pull request sonic-net#75 from abdosi/202205
Browse files Browse the repository at this point in the history
Chery pick of azure master PR # 16026
  • Loading branch information
abdosi authored Aug 7, 2023
2 parents 559ebcb + e8ae138 commit 5ad8413
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dockers/docker-fpm-frr/frr/bgpd/bgpd.main.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ router bgp {{ DEVICE_METADATA['localhost']['bgp_asn'] }}
{% if get_ipv6_loopback_address(LOOPBACK_INTERFACE, "Loopback0") != 'None' %}
address-family ipv6
network {{ get_ipv6_loopback_address(LOOPBACK_INTERFACE, "Loopback0") | ip }}/64
{% if DEVICE_METADATA['localhost']['switch_type'] == 'voq' or DEVICE_METADATA['localhost']['switch_type'] == 'chassis-packet' %}
network {{ get_ipv6_loopback_address(LOOPBACK_INTERFACE, "Loopback0") | ip }}/128 route-map HIDE_INTERNAL
{% endif %}
exit-address-family
{% endif %}
{% if ((multi_asic is defined and DEVICE_METADATA['localhost']['switch_type'] != 'chassis-packet') or (DEVICE_METADATA['localhost']['switch_type'] == 'voq')) %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ router bgp 55555
!
address-family ipv6
network fc00::1/64
network fc00::1/128 route-map HIDE_INTERNAL
exit-address-family
!
network 10.10.10.1/24
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ router bgp 55555
!
address-family ipv6
network fc00::1/64
network fc00::1/128 route-map HIDE_INTERNAL
exit-address-family
address-family ipv6
network fc00::2/128 route-map HIDE_INTERNAL
Expand Down

0 comments on commit 5ad8413

Please sign in to comment.