def test_static_route(rand_selected_dut, ptfadapter, ptfhost, tbinfo, toggle_all_simulator_ports_to_rand_selected_tor):
    duthost = rand_selected_dut
    skip_201911_and_older(duthost)
    (prefix_len, nexthop_addrs, nexthop_devs, nexthop_interfaces) = get_nexthops(duthost, tbinfo)
    run_static_route_test(duthost, ptfadapter, ptfhost, tbinfo, '1.1.1.0/24', nexthop_addrs, prefix_len, nexthop_devs, nexthop_interfaces)
def test_static_route(rand_selected_dut, ptfadapter, ptfhost, tbinfo, toggle_all_simulator_ports_to_rand_selected_tor):
    duthost = rand_selected_dut
    skip_201911_and_older(duthost)
    (prefix_len, nexthop_addrs, nexthop_devs, nexthop_interfaces) = get_nexthops(duthost, tbinfo)
    run_static_route_test(duthost, ptfadapter, ptfhost, tbinfo, '1.1.1.0/24', nexthop_addrs, prefix_len, nexthop_devs, nexthop_interfaces)