Provides the status of the default route
def test_fun(duthosts, rand_one_dut_hostname):
duthost = duthosts[rand_one_dut_hostname]
ipv4_route_status = duthost.check_default_route(ipv6=False)
ipv4
- Whether or not to check ipv4 route- Required:
False
- Type:
Boolean
- Default:
True
- Required:
ipv6
- Whether or not to check ipv6 route- Required:
False
- Type:
Boolean
- Default:
True
- Required:
True
if default route is accesible, False
otherwise.