Lines Matching full:with
13 # This test is for checking IPv4 and IPv6 FIB behavior with nexthop
21 # all tests in this script. Can be overridden with -t option
271 log_test $rc 0 "Create nexthop with id, gw, dev"
322 log_test $? 0 "Create nexthop group with single nexthop"
338 # create group with multiple nexthops - mix of gw and dev only
345 log_test $? 0 "Nexthop group with multiple nexthops"
353 # create group with multiple weighted nexthops
356 log_test $? 0 "Nexthop group with weighted nexthops"
376 # group with nexthops using different devices
389 # multiple groups with same nexthop
393 log_test $? 0 "Multiple groups with same nexthop"
408 # nexthop in the group. Needed for atomic replace with an
412 log_test $? 0 "Nexthop group with a blackhole entry"
440 log_test $? 0 "Ping with nexthop"
449 # IPv6 with blackhole nexthops
458 log_test $? 0 "Ping - blackhole replaced with gateway"
469 log_test $? 2 "Ping - group with blackhole"
473 log_test $? 0 "Ping - group blackhole replaced with gateways"
483 log_test $? 0 "IPv6 route with device only nexthop"
488 log_test $? 0 "IPv6 multipath route with nexthop mix - dev only + gw"
492 # IPv6 route with v4 nexthop - not allowed
516 # existing route with old nexthop; append route with new nexthop
517 # existing route with old nexthop; replace route with new
518 # existing route with new nexthop; replace route with old
519 # route with src address and using nexthop - not allowed
535 log_test $rc 0 "Create nexthop with id, gw, dev"
586 log_test $? 0 "Create nexthop group with single nexthop"
601 # create group with multiple nexthops
607 log_test $? 0 "Nexthop group with multiple nexthops"
615 # create group with multiple weighted nexthops
618 log_test $? 0 "Nexthop group with weighted nexthops"
638 # group with nexthops using different devices
651 # multiple groups with same nexthop
655 log_test $? 0 "Multiple groups with same nexthop"
670 # nexthop in the group. Needed for atomic replace with an
674 log_test $? 0 "Nexthop group with a blackhole entry"
689 log_test $? 0 "IPv6 nexthop with IPv4 route"
697 log_test $? 0 "IPv6 nexthop with IPv4 route"
702 log_test $? 0 "IPv4 route with IPv6 gateway"
706 log_test $? 2 "IPv4 route with invalid IPv6 gateway"
731 log_test $? 2 "Route add - scope conflict with nexthop"
736 log_test $? 2 "Nexthop replace with invalid scope for existing route"
739 # add route with nexthop and check traffic
753 # IPv4 with blackhole nexthops
762 log_test $? 0 "Ping - blackhole replaced with gateway"
773 log_test $? 2 "Ping - group with blackhole"
777 log_test $? 0 "Ping - group blackhole replaced with gateways"
787 log_test $? 0 "IPv4 route with device only nexthop"
792 log_test $? 0 "IPv4 multipath route with nexthop mix - dev only + gw"
796 # IPv4 with IPv6
804 log_test $? 0 "IPv6 nexthop with IPv4 route"
823 log_test $? 0 "IPv4 route with mixed v4-v6 multipath route"
828 log_test $? 0 "IPv6 nexthop with IPv4 route"
832 log_test $? 0 "IPv4 route with IPv6 gateway"
850 log_test $? 0 "IPv4 route with MPLS encap"
852 log_test $? 0 "IPv4 route with MPLS encap - check"
855 log_test $? 0 "IPv4 route with MPLS encap and v6 gateway"
857 log_test $? 0 "IPv4 route with MPLS encap, v6 gw - check"
866 log_test $? 0 "List with nothing defined"
873 log_test $? 2 "Nexthop with no device or gateway"
875 # attempt to create nh with down device - fails
878 log_test $? 2 "Nexthop with down device"
880 # create nh with linkdown device - fails
884 log_test $? 2 "Nexthop with device that is linkdown"
889 log_test $? 0 "Nexthop with device only"
891 # create nh with duplicate id
893 log_test $? 2 "Nexthop with duplicate id"
901 log_test $? 2 "Blackhole nexthop with other attributes"
911 log_test $? 0 "Create group with blackhole nexthop"
923 # attempt to create group with non-existent nexthop
925 log_test $? 2 "Create group with non-existent nexthop"
927 # attempt to create group with same nexthop
929 log_test $? 2 "Create group with same nexthop multiple times"
931 # replace nexthop with a group - fails
933 log_test $? 2 "Replace nexthop with nexthop group"
935 # replace nexthop group with a nexthop - fails
937 log_test $? 2 "Replace nexthop group with nexthop"
939 # nexthop group with other attributes fail