sonic-utilities
sonic-utilities copied to clipboard
Revert "Revert "route_check: Skip route checks if bgp feature is not enabled""
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]