sonic-utilities icon indicating copy to clipboard operation
sonic-utilities copied to clipboard

Revert "Revert "route_check: Skip route checks if bgp feature is not enabled""

Open anamehra opened this issue 10 months ago • 0 comments

Reverts sonic-net/sonic-utilities#3121

If bgp is not enabled, get_frr_routes() gets empty list and route check fails and throws a traceback. Adding check to to skip route checks bgp feature is disabled. On the Chassis supervisor, bgp may be disabled.

Signed-off-by: Anand Mehra [email protected]

anamehra avatar Apr 12 '24 07:04 anamehra