Skip to content

Commit 4d33d8f

Browse files
authored
Revert "[202412] backport [frr]: Force disable next hop group support " (sonic-net#1792)
Reverts Azure/sonic-buildimage-msft#1739
1 parent 2626da8 commit 4d33d8f

12 files changed

Lines changed: 2 additions & 25 deletions

File tree

dockers/docker-fpm-frr/docker_init.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,6 @@ write_default_zebra_config()
4949
echo "no fpm use-next-hop-groups" >> $FILE_NAME
5050
echo "fpm address 127.0.0.1" >> $FILE_NAME
5151
}
52-
53-
grep -q '^no zebra nexthop kernel enable' $FILE_NAME || {
54-
echo "no zebra nexthop kernel enable" >> $FILE_NAME
55-
}
5652
}
5753

5854
if [[ ! -z "$NAMESPACE_ID" ]]; then

dockers/docker-fpm-frr/frr/zebra/zebra.conf.j2

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
{% endblock banner %}
88
!
99
{% block fpm %}
10-
! Force disable next hop group support
11-
no zebra nexthop kernel enable
1210
{% if ( ('localhost' in DEVICE_METADATA) and ('nexthop_group' in DEVICE_METADATA['localhost']) and
1311
(DEVICE_METADATA['localhost']['nexthop_group'] == 'enabled') ) %}
1412
! enable next hop group support
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
no zebra nexthop kernel enable
21
no fpm use-next-hop-groups
2+
33
fpm address 127.0.0.1
44
zebra nexthop-group keep 1
5+

src/sonic-bgpcfgd/tests/data/sonic-cfggen/zebra/zebra.conf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
! file: zebra.conf
55
!
66
!
7-
! Force disable next hop group support
8-
no zebra nexthop kernel enable
97
! Uses the old known FPM behavior of including next hop information in the route (e.g. RTM_NEWROUTE) messages
108
no fpm use-next-hop-groups
119
!

src/sonic-config-engine/tests/sample_output/py2/t2-chassis-fe-vni-zebra.conf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
! file: zebra.conf
55
!
66
!
7-
! Force disable next hop group support
8-
no zebra nexthop kernel enable
97
! Uses the old known FPM behavior of including next hop information in the route (e.g. RTM_NEWROUTE) messages
108
no fpm use-next-hop-groups
119
!

src/sonic-config-engine/tests/sample_output/py2/t2-chassis-fe-zebra.conf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
! file: zebra.conf
55
!
66
!
7-
! Force disable next hop group support
8-
no zebra nexthop kernel enable
97
! Uses the old known FPM behavior of including next hop information in the route (e.g. RTM_NEWROUTE) messages
108
no fpm use-next-hop-groups
119
!

src/sonic-config-engine/tests/sample_output/py2/zebra_frr.conf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
! file: zebra.conf
55
!
66
!
7-
! Force disable next hop group support
8-
no zebra nexthop kernel enable
97
! Uses the old known FPM behavior of including next hop information in the route (e.g. RTM_NEWROUTE) messages
108
no fpm use-next-hop-groups
119
!

src/sonic-config-engine/tests/sample_output/py2/zebra_frr_dualtor.conf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
! file: zebra.conf
55
!
66
!
7-
! Force disable next hop group support
8-
no zebra nexthop kernel enable
97
! Uses the old known FPM behavior of including next hop information in the route (e.g. RTM_NEWROUTE) messages
108
no fpm use-next-hop-groups
119
!

src/sonic-config-engine/tests/sample_output/py3/t2-chassis-fe-vni-zebra.conf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
! file: zebra.conf
55
!
66
!
7-
! Force disable next hop group support
8-
no zebra nexthop kernel enable
97
! Uses the old known FPM behavior of including next hop information in the route (e.g. RTM_NEWROUTE) messages
108
no fpm use-next-hop-groups
119
!

src/sonic-config-engine/tests/sample_output/py3/t2-chassis-fe-zebra.conf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
! file: zebra.conf
55
!
66
!
7-
! Force disable next hop group support
8-
no zebra nexthop kernel enable
97
! Uses the old known FPM behavior of including next hop information in the route (e.g. RTM_NEWROUTE) messages
108
no fpm use-next-hop-groups
119
!

0 commit comments

Comments
 (0)