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
320 # Create $grpnum groups with specified $ecmp and dump them
323 # create nexthops with different gateways
366 # create a resilient group with $buckets buckets and dump them
431 # create group with multiple nexthops
436 log_test $? 0 "Fdb Nexthop group with multiple nexthops"
447 log_test $? 2 "Fdb Nexthop group with non-fdb nexthops"
453 log_test $? 2 "Non-Fdb Nexthop group with fdb nexthops"
457 log_test $? 2 "Fdb Nexthop with blackhole"
459 # fdb nexthop with oif
461 log_test $? 2 "Fdb Nexthop with oif"
463 # fdb nexthop with onlink
465 log_test $? 2 "Fdb Nexthop with onlink"
467 # fdb nexthop with encap
469 log_test $? 2 "Fdb Nexthop with encap"
473 log_test $? 0 "Fdb mac add with nexthop group"
477 log_test $? 255 "Fdb mac add with nexthop"
480 log_test $? 2 "Route add with fdb nexthop"
483 log_test $? 2 "Route add with fdb nexthop group"
511 # create group with multiple nexthops
516 log_test $? 0 "Fdb Nexthop group with multiple nexthops"
527 log_test $? 2 "Fdb Nexthop group with non-fdb nexthops"
533 log_test $? 2 "Non-Fdb Nexthop group with fdb nexthops"
537 log_test $? 2 "Fdb Nexthop with blackhole"
539 # fdb nexthop with oif
541 log_test $? 2 "Fdb Nexthop with oif"
543 # fdb nexthop with onlink
545 log_test $? 2 "Fdb Nexthop with onlink"
547 # fdb nexthop with encap
549 log_test $? 2 "Fdb Nexthop with encap"
553 log_test $? 0 "Fdb mac add with nexthop group"
557 log_test $? 255 "Fdb mac add with nexthop"
560 log_test $? 2 "Route add with fdb nexthop"
563 log_test $? 2 "Route add with fdb nexthop group"
593 log_test $rc 0 "Create nexthop with id, gw, dev"
666 # an unlinked IPv6 route (but not freed due to stale dst) with a
671 # delete the nexthop with stale dst, since we have an unlinked
672 # group with a ref to it and an unlinked IPv6 route with ref to the
704 log_test $? 0 "Create nexthop group with single nexthop"
720 # create group with multiple nexthops - mix of gw and dev only
727 log_test $? 0 "Nexthop group with multiple nexthops"
735 # create group with multiple weighted nexthops
738 log_test $? 0 "Nexthop group with weighted nexthops"
758 # group with nexthops using different devices
771 # multiple groups with same nexthop
775 log_test $? 0 "Multiple groups with same nexthop"
790 # nexthop in the group. Needed for atomic replace with an
794 log_test $? 0 "Nexthop group with a blackhole entry"
887 log_test $? 0 "Ping with nexthop"
896 # IPv6 with blackhole nexthops
905 log_test $? 0 "Ping - blackhole replaced with gateway"
916 log_test $? 2 "Ping - group with blackhole"
920 log_test $? 0 "Ping - group blackhole replaced with gateways"
930 log_test $? 0 "IPv6 route with device only nexthop"
935 log_test $? 0 "IPv6 multipath route with nexthop mix - dev only + gw"
939 # IPv6 route with v4 nexthop - not allowed
959 log_test $? 2 "IPv6 route can not have a group with v4 and v6 gateways"
963 log_test $? 2 "IPv6 route can not have a group with v4 and v6 gateways"
974 log_test $? 2 "IPv6 route can not have a group with v4 and v6 gateways"
978 log_test $? 2 "IPv6 route can not have a group with v4 and v6 gateways"
992 # route can not use prefsrc with nexthops
994 log_test $? 2 "IPv6 route can not use src routing with external nexthop"
998 log_test $? 2 "IPv6 route with invalid metric"
1008 log_test $? 0 "Nexthop with default route and rpfilter"
1011 log_test $? 0 "Nexthop with multipath default route and rpfilter"
1014 # existing route with old nexthop; append route with new nexthop
1015 # existing route with old nexthop; replace route with new
1016 # existing route with new nexthop; replace route with old
1017 # route with src address and using nexthop - not allowed
1174 log_test $rc 0 "Create nexthop with id, gw, dev"
1213 # nexthop route delete warning: route add with nhid and delete
1230 log_test $? 2 "Delete multipath route with only nh id based entry"
1255 log_test $? 0 "Create nexthop group with single nexthop"
1270 # create group with multiple nexthops
1276 log_test $? 0 "Nexthop group with multiple nexthops"
1284 # create group with multiple weighted nexthops
1287 log_test $? 0 "Nexthop group with weighted nexthops"
1307 # group with nexthops using different devices
1320 # multiple groups with same nexthop
1324 log_test $? 0 "Multiple groups with same nexthop"
1339 # nexthop in the group. Needed for atomic replace with an
1343 log_test $? 0 "Nexthop group with a blackhole entry"
1422 log_test $? 0 "IPv6 nexthop with IPv4 route"
1430 log_test $? 0 "IPv6 nexthop with IPv4 route"
1435 log_test $? 0 "IPv4 route with IPv6 gateway"
1439 log_test $? 2 "IPv4 route with invalid IPv6 gateway"
1464 log_test $? 2 "Route add - scope conflict with nexthop"
1469 log_test $? 2 "Nexthop replace with invalid scope for existing route"
1473 log_test $? 2 "IPv4 route with invalid metric"
1476 # add route with nexthop and check traffic
1513 # IPv4 with blackhole nexthops
1522 log_test $? 0 "Ping - blackhole replaced with gateway"
1533 log_test $? 2 "Ping - group with blackhole"
1537 log_test $? 0 "Ping - group blackhole replaced with gateways"
1547 log_test $? 0 "IPv4 route with device only nexthop"
1552 log_test $? 0 "IPv4 multipath route with nexthop mix - dev only + gw"
1556 # IPv4 with IPv6
1564 log_test $? 0 "IPv6 nexthop with IPv4 route"
1583 log_test $? 0 "IPv4 route with mixed v4-v6 multipath route"
1588 log_test $? 0 "IPv6 nexthop with IPv4 route"
1592 log_test $? 0 "IPv4 route with IPv6 gateway"
1609 log_test $? 0 "IPv4 default route with IPv6 gateway"
1615 log_test $? 0 "IPv4 route with MPLS encap"
1617 log_test $? 0 "IPv4 route with MPLS encap - check"
1620 log_test $? 0 "IPv4 route with MPLS encap and v6 gateway"
1622 log_test $? 0 "IPv4 route with MPLS encap, v6 gw - check"
1939 log_test $? 0 "List with nothing defined"
1946 log_test $? 2 "Nexthop with no device or gateway"
1948 # attempt to create nh with down device - fails
1951 log_test $? 2 "Nexthop with down device"
1953 # create nh with linkdown device - fails
1957 log_test $? 2 "Nexthop with device that is linkdown"
1962 log_test $? 0 "Nexthop with device only"
1964 # create nh with duplicate id
1966 log_test $? 2 "Nexthop with duplicate id"
1974 log_test $? 2 "Blackhole nexthop with other attributes"
1980 log_test $? 0 "Blackhole nexthop with loopback device down"
1992 log_test $? 0 "Create group with blackhole nexthop"
2004 # attempt to create group with non-existent nexthop
2006 log_test $? 2 "Create group with non-existent nexthop"
2008 # attempt to create group with same nexthop
2010 log_test $? 2 "Create group with same nexthop multiple times"
2012 # replace nexthop with a group - fails
2014 log_test $? 2 "Replace nexthop with nexthop group"
2016 # replace nexthop group with a nexthop - fails
2018 log_test $? 2 "Replace nexthop group with nexthop"
2020 # nexthop group with other attributes fail
2043 # Test to ensure that flushing with a multi-part nexthop dump works as
2098 log_test $? 0 "Add a nexthop group with default parameters"
2103 log_test $? 0 "Get a nexthop group with default parameters"
2110 log_test $? 0 "Get a nexthop group with non-default parameters"
2113 log_test $? 2 "Add a nexthop group with 0 buckets"
2139 log_test $? 0 "Replace with no parameters"
2155 log_test $? 0 "Get a nexthop group after replacing with invalid parameters"
2183 log_test $? 0 "Dump all nexthop buckets with a specific nexthop device"
2187 log_test $? 0 "Dump all nexthop buckets with a specific nexthop identifier"
2199 log_test $? 255 "Dump all nexthop buckets with invalid 'groups' keyword"
2202 log_test $? 255 "Dump all nexthop buckets with invalid 'fdb' keyword"
2212 log_test $? 2 "Get a nexthop bucket with valid group, but invalid index"