[frr]: Force disable next hop group support. (#17344)
Signed-off-by: Nazarii Hnydyn nazariig@nvidia.com Closes #17345 This W/A was proposed by Nvidia FRR team before the long term solution is ready. Why I did it A W/A to fix default route installation during LAG member flap Work item tracking N/A How I did it Disabled FRR next hop group support How to verify it Do LAG member flap
This commit is contained in:
parent
56ba5b10b4
commit
1687a442de
@ -49,6 +49,10 @@ write_default_zebra_config()
|
|||||||
echo "no fpm use-next-hop-groups" >> $FILE_NAME
|
echo "no fpm use-next-hop-groups" >> $FILE_NAME
|
||||||
echo "fpm address 127.0.0.1" >> $FILE_NAME
|
echo "fpm address 127.0.0.1" >> $FILE_NAME
|
||||||
}
|
}
|
||||||
|
|
||||||
|
grep -q '^no zebra nexthop kernel enable' $FILE_NAME || {
|
||||||
|
echo "no zebra nexthop kernel enable" >> $FILE_NAME
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if [[ ! -z "$NAMESPACE_ID" ]]; then
|
if [[ ! -z "$NAMESPACE_ID" ]]; then
|
||||||
|
@ -7,6 +7,8 @@
|
|||||||
{% endblock banner %}
|
{% endblock banner %}
|
||||||
!
|
!
|
||||||
{% block fpm %}
|
{% block fpm %}
|
||||||
|
! Force disable next hop group support
|
||||||
|
no zebra nexthop kernel enable
|
||||||
! Uses the old known FPM behavior of including next hop information in the route (e.g. RTM_NEWROUTE) messages
|
! Uses the old known FPM behavior of including next hop information in the route (e.g. RTM_NEWROUTE) messages
|
||||||
no fpm use-next-hop-groups
|
no fpm use-next-hop-groups
|
||||||
!
|
!
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
|
no zebra nexthop kernel enable
|
||||||
no fpm use-next-hop-groups
|
no fpm use-next-hop-groups
|
||||||
|
|
||||||
fpm address 127.0.0.1
|
fpm address 127.0.0.1
|
||||||
|
|
||||||
|
@ -4,6 +4,8 @@
|
|||||||
! file: zebra.conf
|
! file: zebra.conf
|
||||||
!
|
!
|
||||||
!
|
!
|
||||||
|
! Force disable next hop group support
|
||||||
|
no zebra nexthop kernel enable
|
||||||
! Uses the old known FPM behavior of including next hop information in the route (e.g. RTM_NEWROUTE) messages
|
! Uses the old known FPM behavior of including next hop information in the route (e.g. RTM_NEWROUTE) messages
|
||||||
no fpm use-next-hop-groups
|
no fpm use-next-hop-groups
|
||||||
!
|
!
|
||||||
|
@ -4,6 +4,8 @@
|
|||||||
! file: zebra.conf
|
! file: zebra.conf
|
||||||
!
|
!
|
||||||
!
|
!
|
||||||
|
! Force disable next hop group support
|
||||||
|
no zebra nexthop kernel enable
|
||||||
! Uses the old known FPM behavior of including next hop information in the route (e.g. RTM_NEWROUTE) messages
|
! Uses the old known FPM behavior of including next hop information in the route (e.g. RTM_NEWROUTE) messages
|
||||||
no fpm use-next-hop-groups
|
no fpm use-next-hop-groups
|
||||||
!
|
!
|
||||||
|
@ -4,6 +4,8 @@
|
|||||||
! file: zebra.conf
|
! file: zebra.conf
|
||||||
!
|
!
|
||||||
!
|
!
|
||||||
|
! Force disable next hop group support
|
||||||
|
no zebra nexthop kernel enable
|
||||||
! Uses the old known FPM behavior of including next hop information in the route (e.g. RTM_NEWROUTE) messages
|
! Uses the old known FPM behavior of including next hop information in the route (e.g. RTM_NEWROUTE) messages
|
||||||
no fpm use-next-hop-groups
|
no fpm use-next-hop-groups
|
||||||
!
|
!
|
||||||
|
@ -4,6 +4,8 @@
|
|||||||
! file: zebra.conf
|
! file: zebra.conf
|
||||||
!
|
!
|
||||||
!
|
!
|
||||||
|
! Force disable next hop group support
|
||||||
|
no zebra nexthop kernel enable
|
||||||
! Uses the old known FPM behavior of including next hop information in the route (e.g. RTM_NEWROUTE) messages
|
! Uses the old known FPM behavior of including next hop information in the route (e.g. RTM_NEWROUTE) messages
|
||||||
no fpm use-next-hop-groups
|
no fpm use-next-hop-groups
|
||||||
!
|
!
|
||||||
|
@ -4,6 +4,8 @@
|
|||||||
! file: zebra.conf
|
! file: zebra.conf
|
||||||
!
|
!
|
||||||
!
|
!
|
||||||
|
! Force disable next hop group support
|
||||||
|
no zebra nexthop kernel enable
|
||||||
! Uses the old known FPM behavior of including next hop information in the route (e.g. RTM_NEWROUTE) messages
|
! Uses the old known FPM behavior of including next hop information in the route (e.g. RTM_NEWROUTE) messages
|
||||||
no fpm use-next-hop-groups
|
no fpm use-next-hop-groups
|
||||||
!
|
!
|
||||||
|
@ -4,6 +4,8 @@
|
|||||||
! file: zebra.conf
|
! file: zebra.conf
|
||||||
!
|
!
|
||||||
!
|
!
|
||||||
|
! Force disable next hop group support
|
||||||
|
no zebra nexthop kernel enable
|
||||||
! Uses the old known FPM behavior of including next hop information in the route (e.g. RTM_NEWROUTE) messages
|
! Uses the old known FPM behavior of including next hop information in the route (e.g. RTM_NEWROUTE) messages
|
||||||
no fpm use-next-hop-groups
|
no fpm use-next-hop-groups
|
||||||
!
|
!
|
||||||
|
@ -4,6 +4,8 @@
|
|||||||
! file: zebra.conf
|
! file: zebra.conf
|
||||||
!
|
!
|
||||||
!
|
!
|
||||||
|
! Force disable next hop group support
|
||||||
|
no zebra nexthop kernel enable
|
||||||
! Uses the old known FPM behavior of including next hop information in the route (e.g. RTM_NEWROUTE) messages
|
! Uses the old known FPM behavior of including next hop information in the route (e.g. RTM_NEWROUTE) messages
|
||||||
no fpm use-next-hop-groups
|
no fpm use-next-hop-groups
|
||||||
!
|
!
|
||||||
|
Reference in New Issue
Block a user