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
319 # Create $grpnum groups with specified $ecmp and dump them
322 # create nexthops with different gateways
365 # create a resilient group with $buckets buckets and dump them
430 # create group with multiple nexthops
435 log_test $? 0 "Fdb Nexthop group with multiple nexthops"
446 log_test $? 2 "Fdb Nexthop group with non-fdb nexthops"
452 log_test $? 2 "Non-Fdb Nexthop group with fdb nexthops"
456 log_test $? 2 "Fdb Nexthop with blackhole"
458 # fdb nexthop with oif
460 log_test $? 2 "Fdb Nexthop with oif"
462 # fdb nexthop with onlink
464 log_test $? 2 "Fdb Nexthop with onlink"
466 # fdb nexthop with encap
468 log_test $? 2 "Fdb Nexthop with encap"
472 log_test $? 0 "Fdb mac add with nexthop group"
476 log_test $? 255 "Fdb mac add with nexthop"
479 log_test $? 2 "Route add with fdb nexthop"
482 log_test $? 2 "Route add with fdb nexthop group"
510 # create group with multiple nexthops
515 log_test $? 0 "Fdb Nexthop group with multiple nexthops"
526 log_test $? 2 "Fdb Nexthop group with non-fdb nexthops"
532 log_test $? 2 "Non-Fdb Nexthop group with fdb nexthops"
536 log_test $? 2 "Fdb Nexthop with blackhole"
538 # fdb nexthop with oif
540 log_test $? 2 "Fdb Nexthop with oif"
542 # fdb nexthop with onlink
544 log_test $? 2 "Fdb Nexthop with onlink"
546 # fdb nexthop with encap
548 log_test $? 2 "Fdb Nexthop with encap"
552 log_test $? 0 "Fdb mac add with nexthop group"
556 log_test $? 255 "Fdb mac add with nexthop"
559 log_test $? 2 "Route add with fdb nexthop"
562 log_test $? 2 "Route add with fdb nexthop group"
592 log_test $rc 0 "Create nexthop with id, gw, dev"
643 log_test $? 0 "Create nexthop group with single nexthop"
659 # create group with multiple nexthops - mix of gw and dev only
666 log_test $? 0 "Nexthop group with multiple nexthops"
674 # create group with multiple weighted nexthops
677 log_test $? 0 "Nexthop group with weighted nexthops"
697 # group with nexthops using different devices
710 # multiple groups with same nexthop
714 log_test $? 0 "Multiple groups with same nexthop"
729 # nexthop in the group. Needed for atomic replace with an
733 log_test $? 0 "Nexthop group with a blackhole entry"
823 log_test $? 0 "Ping with nexthop"
832 # IPv6 with blackhole nexthops
841 log_test $? 0 "Ping - blackhole replaced with gateway"
852 log_test $? 2 "Ping - group with blackhole"
856 log_test $? 0 "Ping - group blackhole replaced with gateways"
866 log_test $? 0 "IPv6 route with device only nexthop"
871 log_test $? 0 "IPv6 multipath route with nexthop mix - dev only + gw"
875 # IPv6 route with v4 nexthop - not allowed
895 log_test $? 2 "IPv6 route can not have a group with v4 and v6 gateways"
899 log_test $? 2 "IPv6 route can not have a group with v4 and v6 gateways"
910 log_test $? 2 "IPv6 route can not have a group with v4 and v6 gateways"
914 log_test $? 2 "IPv6 route can not have a group with v4 and v6 gateways"
928 # route can not use prefsrc with nexthops
930 log_test $? 2 "IPv6 route can not use src routing with external nexthop"
934 log_test $? 2 "IPv6 route with invalid metric"
944 log_test $? 0 "Nexthop with default route and rpfilter"
947 log_test $? 0 "Nexthop with multipath default route and rpfilter"
950 # existing route with old nexthop; append route with new nexthop
951 # existing route with old nexthop; replace route with new
952 # existing route with new nexthop; replace route with old
953 # route with src address and using nexthop - not allowed
1110 log_test $rc 0 "Create nexthop with id, gw, dev"
1161 log_test $? 0 "Create nexthop group with single nexthop"
1176 # create group with multiple nexthops
1182 log_test $? 0 "Nexthop group with multiple nexthops"
1190 # create group with multiple weighted nexthops
1193 log_test $? 0 "Nexthop group with weighted nexthops"
1213 # group with nexthops using different devices
1226 # multiple groups with same nexthop
1230 log_test $? 0 "Multiple groups with same nexthop"
1245 # nexthop in the group. Needed for atomic replace with an
1249 log_test $? 0 "Nexthop group with a blackhole entry"
1328 log_test $? 0 "IPv6 nexthop with IPv4 route"
1336 log_test $? 0 "IPv6 nexthop with IPv4 route"
1341 log_test $? 0 "IPv4 route with IPv6 gateway"
1345 log_test $? 2 "IPv4 route with invalid IPv6 gateway"
1370 log_test $? 2 "Route add - scope conflict with nexthop"
1375 log_test $? 2 "Nexthop replace with invalid scope for existing route"
1379 log_test $? 2 "IPv4 route with invalid metric"
1382 # add route with nexthop and check traffic
1419 # IPv4 with blackhole nexthops
1428 log_test $? 0 "Ping - blackhole replaced with gateway"
1439 log_test $? 2 "Ping - group with blackhole"
1443 log_test $? 0 "Ping - group blackhole replaced with gateways"
1453 log_test $? 0 "IPv4 route with device only nexthop"
1458 log_test $? 0 "IPv4 multipath route with nexthop mix - dev only + gw"
1462 # IPv4 with IPv6
1470 log_test $? 0 "IPv6 nexthop with IPv4 route"
1489 log_test $? 0 "IPv4 route with mixed v4-v6 multipath route"
1494 log_test $? 0 "IPv6 nexthop with IPv4 route"
1498 log_test $? 0 "IPv4 route with IPv6 gateway"
1515 log_test $? 0 "IPv4 default route with IPv6 gateway"
1521 log_test $? 0 "IPv4 route with MPLS encap"
1523 log_test $? 0 "IPv4 route with MPLS encap - check"
1526 log_test $? 0 "IPv4 route with MPLS encap and v6 gateway"
1528 log_test $? 0 "IPv4 route with MPLS encap, v6 gw - check"
1845 log_test $? 0 "List with nothing defined"
1852 log_test $? 2 "Nexthop with no device or gateway"
1854 # attempt to create nh with down device - fails
1857 log_test $? 2 "Nexthop with down device"
1859 # create nh with linkdown device - fails
1863 log_test $? 2 "Nexthop with device that is linkdown"
1868 log_test $? 0 "Nexthop with device only"
1870 # create nh with duplicate id
1872 log_test $? 2 "Nexthop with duplicate id"
1880 log_test $? 2 "Blackhole nexthop with other attributes"
1886 log_test $? 0 "Blackhole nexthop with loopback device down"
1898 log_test $? 0 "Create group with blackhole nexthop"
1910 # attempt to create group with non-existent nexthop
1912 log_test $? 2 "Create group with non-existent nexthop"
1914 # attempt to create group with same nexthop
1916 log_test $? 2 "Create group with same nexthop multiple times"
1918 # replace nexthop with a group - fails
1920 log_test $? 2 "Replace nexthop with nexthop group"
1922 # replace nexthop group with a nexthop - fails
1924 log_test $? 2 "Replace nexthop group with nexthop"
1926 # nexthop group with other attributes fail
1949 # Test to ensure that flushing with a multi-part nexthop dump works as
2004 log_test $? 0 "Add a nexthop group with default parameters"
2009 log_test $? 0 "Get a nexthop group with default parameters"
2016 log_test $? 0 "Get a nexthop group with non-default parameters"
2019 log_test $? 2 "Add a nexthop group with 0 buckets"
2045 log_test $? 0 "Replace with no parameters"
2061 log_test $? 0 "Get a nexthop group after replacing with invalid parameters"
2088 log_test $? 0 "Dump all nexthop buckets with a specific nexthop device"
2092 log_test $? 0 "Dump all nexthop buckets with a specific nexthop identifier"
2104 log_test $? 255 "Dump all nexthop buckets with invalid 'groups' keyword"
2107 log_test $? 255 "Dump all nexthop buckets with invalid 'fdb' keyword"
2117 log_test $? 2 "Get a nexthop bucket with valid group, but invalid index"