mirror of
				https://github.com/Telecominfraproject/ols-nos.git
				synced 2025-10-30 17:48:09 +00:00 
			
		
		
		
	[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:
		| @@ -49,6 +49,10 @@ write_default_zebra_config() | ||||
|         echo "no fpm use-next-hop-groups" >> $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 | ||||
|   | ||||
| @@ -7,6 +7,8 @@ | ||||
| {% endblock banner %} | ||||
| ! | ||||
| {% 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 | ||||
| no fpm use-next-hop-groups | ||||
| ! | ||||
|   | ||||
| @@ -1,4 +1,3 @@ | ||||
| no zebra nexthop kernel enable | ||||
| no fpm use-next-hop-groups | ||||
|  | ||||
| fpm address 127.0.0.1 | ||||
|  | ||||
|   | ||||
| @@ -4,6 +4,8 @@ | ||||
| ! 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 | ||||
| no fpm use-next-hop-groups | ||||
| ! | ||||
|   | ||||
| @@ -4,6 +4,8 @@ | ||||
| ! 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 | ||||
| no fpm use-next-hop-groups | ||||
| ! | ||||
|   | ||||
| @@ -4,6 +4,8 @@ | ||||
| ! 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 | ||||
| no fpm use-next-hop-groups | ||||
| ! | ||||
|   | ||||
| @@ -4,6 +4,8 @@ | ||||
| ! 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 | ||||
| no fpm use-next-hop-groups | ||||
| ! | ||||
|   | ||||
| @@ -4,6 +4,8 @@ | ||||
| ! 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 | ||||
| no fpm use-next-hop-groups | ||||
| ! | ||||
|   | ||||
| @@ -4,6 +4,8 @@ | ||||
| ! 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 | ||||
| no fpm use-next-hop-groups | ||||
| ! | ||||
|   | ||||
| @@ -4,6 +4,8 @@ | ||||
| ! 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 | ||||
| no fpm use-next-hop-groups | ||||
| ! | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Nazarii Hnydyn
					Nazarii Hnydyn