Lines Matching full:add

184 	$IP li add veth1 type veth peer name veth2
186 $IP addr add 172.16.1.1/24 dev veth1
187 $IP -6 addr add 2001:db8:91::1/64 dev veth1 nodad
189 $IP li add veth3 type veth peer name veth4
191 $IP addr add 172.16.2.1/24 dev veth3
192 $IP -6 addr add 2001:db8:92::1/64 dev veth3 nodad
195 ip -netns $peer addr add 172.16.1.2/24 dev veth2
196 ip -netns $peer -6 addr add 2001:db8:91::2/64 dev veth2 nodad
199 ip -netns $peer addr add 172.16.2.2/24 dev veth4
200 ip -netns $peer -6 addr add 2001:db8:92::2/64 dev veth4 nodad
202 ip -netns $remote li add veth5 type veth peer name veth6
204 ip -netns $remote addr add dev veth5 172.16.101.1/24
205 ip -netns $remote -6 addr add dev veth5 2001:db8:101::1/64 nodad
206 ip -netns $remote ro add 172.16.0.0/22 via 172.16.101.2
207 ip -netns $remote -6 ro add 2001:db8:90::/40 via 2001:db8:101::2
210 ip -netns $peer addr add dev veth6 172.16.101.2/24
211 ip -netns $peer -6 addr add dev veth6 2001:db8:101::2/64 nodad
331 run_cmd "$IP nexthop add id $nhidstr via $ipstr$iter dev veth1"
347 run_cmd "$IP nexthop add id $grpidstr group $grpstr"
370 run_cmd "$IP nexthop add id 100 via $ipstr dev veth1"
371 run_cmd "$IP nexthop add id 1000 group 100 type resilient buckets $buckets"
456 run_cmd "$IP nexthop add id 61 via 2001:db8:91::2 fdb"
457 run_cmd "$IP nexthop add id 62 via 2001:db8:91::3 fdb"
458 run_cmd "$IP nexthop add id 102 group 61/62 fdb"
468 run_cmd "$IP nexthop add id 63 via 2001:db8:91::4"
469 run_cmd "$IP nexthop add id 64 via 2001:db8:91::5"
470 run_cmd "$IP nexthop add id 103 group 63/64 fdb"
474 run_cmd "$IP nexthop add id 65 via 2001:db8:91::5 fdb"
475 run_cmd "$IP nexthop add id 66 via 2001:db8:91::6 fdb"
476 run_cmd "$IP nexthop add id 104 group 65/66"
480 run_cmd "$IP nexthop add id 67 blackhole fdb"
484 run_cmd "$IP nexthop add id 68 via 2001:db8:91::7 dev veth1 fdb"
488 run_cmd "$IP nexthop add id 68 via 2001:db8:91::7 onlink fdb"
492 run_cmd "$IP nexthop add id 69 encap mpls 101 via 2001:db8:91::8 dev veth1 fdb"
495 …run_cmd "$IP link add name vx10 type vxlan id 1010 local 2001:db8:91::9 remote 2001:db8:91::10 dst…
496 run_cmd "$BRIDGE fdb add 02:02:00:00:00:13 dev vx10 nhid 102 self"
497 log_test $? 0 "Fdb mac add with nexthop group"
500 run_cmd "$BRIDGE fdb add 02:02:00:00:00:14 dev vx10 nhid 61 self"
501 log_test $? 255 "Fdb mac add with nexthop"
503 run_cmd "$IP -6 ro add 2001:db8:101::1/128 nhid 66"
504 log_test $? 2 "Route add with fdb nexthop"
506 run_cmd "$IP -6 ro add 2001:db8:101::1/128 nhid 103"
507 log_test $? 2 "Route add with fdb nexthop group"
536 run_cmd "$IP nexthop add id 12 via 172.16.1.2 fdb"
537 run_cmd "$IP nexthop add id 13 via 172.16.1.3 fdb"
538 run_cmd "$IP nexthop add id 102 group 12/13 fdb"
548 run_cmd "$IP nexthop add id 14 via 172.16.1.2"
549 run_cmd "$IP nexthop add id 15 via 172.16.1.3"
550 run_cmd "$IP nexthop add id 103 group 14/15 fdb"
554 run_cmd "$IP nexthop add id 16 via 172.16.1.2 fdb"
555 run_cmd "$IP nexthop add id 17 via 172.16.1.3 fdb"
556 run_cmd "$IP nexthop add id 104 group 14/15"
560 run_cmd "$IP nexthop add id 18 blackhole fdb"
564 run_cmd "$IP nexthop add id 16 via 172.16.1.2 dev veth1 fdb"
568 run_cmd "$IP nexthop add id 16 via 172.16.1.2 onlink fdb"
572 run_cmd "$IP nexthop add id 17 encap mpls 101 via 172.16.1.2 dev veth1 fdb"
575 …run_cmd "$IP link add name vx10 type vxlan id 1010 local 10.0.0.1 remote 10.0.0.2 dstport 4789 nol…
576 run_cmd "$BRIDGE fdb add 02:02:00:00:00:13 dev vx10 nhid 102 self"
577 log_test $? 0 "Fdb mac add with nexthop group"
580 run_cmd "$BRIDGE fdb add 02:02:00:00:00:14 dev vx10 nhid 12 self"
581 log_test $? 255 "Fdb mac add with nexthop"
583 run_cmd "$IP ro add 172.16.0.0/22 nhid 15"
584 log_test $? 2 "Route add with fdb nexthop"
586 run_cmd "$IP ro add 172.16.0.0/22 nhid 103"
587 log_test $? 2 "Route add with fdb nexthop group"
621 run_cmd "$IP nexthop add id 1 via ${gws["veth1"]} dev veth1"
622 run_cmd "$IP nexthop add id 2 via ${gws["veth3"]} dev veth3"
623 run_cmd "$IP nexthop add id 1001 group 1/2"
624 run_cmd "$IP ro add 172.16.101.0/24 nhid 1001"
639 run_cmd "$IP neigh add ${gws[$dev]} dev $dev nud failed"
648 run_cmd "$IP neigh add 172.16.1.2 dev veth1 nud incomplete"
649 run_cmd "$IP neigh add 172.16.2.2 dev veth3 nud incomplete"
674 run_cmd "$IP nexthop add id 1 via ${gws["veth1"]} dev veth1"
675 run_cmd "$IP nexthop add id 2 via ${gws["veth3"]} dev veth3"
676 run_cmd "$IP nexthop add id 1001 group 1/2"
677 run_cmd "$IP ro add 2001:db8:101::/64 nhid 1001"
692 run_cmd "$IP neigh add ${gws[$dev]} dev $dev nud failed"
701 run_cmd "$IP neigh add 2001:db8:91::2 dev veth1 nud incomplete"
702 run_cmd "$IP neigh add 2001:db8:92::2 dev veth3 nud incomplete"
709 # basic operations (add, delete, replace) on nexthops and nexthop groups
721 run_cmd "$IP nexthop add id 52 via 2001:db8:91::2 dev veth1"
741 run_cmd "$IP nexthop add id 52 via 2001:db8:92::3"
745 run_cmd "$IP nexthop add id 53 via 2001:db8:3::3 dev veth1"
749 run_cmd "$IP nexthop add id 53 via 2001:db8:3::3 dev veth1 onlink"
754 run_cmd "$IP -6 nexthop add id 55 via 2001:db8:91::3 dev veth1"
755 run_cmd "$IP nexthop add id 56 via 2001:db8:91::4 dev veth1"
756 run_cmd "$IP nexthop add id 57 via 2001:db8:91::5 dev veth1"
771 run_cmd "$IP link add veth1.10 link veth1 up type vlan id 10"
772 run_cmd "$IP link add veth1.20 link veth1 up type vlan id 20"
773 run_cmd "$IP -6 addr add 2001:db8:91::1/64 dev veth1.10"
774 run_cmd "$IP -6 addr add 2001:db8:92::1/64 dev veth1.20"
775 run_cmd "$IP -6 neigh add 2001:db8:91::2 lladdr 00:11:22:33:44:55 dev veth1.10"
776 run_cmd "$IP -6 neigh add 2001:db8:92::2 lladdr 00:11:22:33:44:55 dev veth1.20"
777 run_cmd "$IP nexthop add id 100 via 2001:db8:91::2 dev veth1.10"
778 run_cmd "$IP nexthop add id 101 via 2001:db8:92::2 dev veth1.20"
779 run_cmd "$IP nexthop add id 102 group 100"
780 run_cmd "$IP route add 2001:db8:101::1/128 nhid 102"
791 # add both nexthops to the group so a reference is taken on them
832 run_cmd "$IP nexthop add id 61 via 2001:db8:91::2 dev veth1"
833 run_cmd "$IP nexthop add id 101 group 61"
852 run_cmd "$IP nexthop add id 62 via 2001:db8:91::2 dev veth1"
853 run_cmd "$IP nexthop add id 63 via 2001:db8:91::3 dev veth1"
854 run_cmd "$IP nexthop add id 64 via 2001:db8:91::4 dev veth1"
855 run_cmd "$IP nexthop add id 65 dev veth1"
856 run_cmd "$IP nexthop add id 102 group 62/63/64/65"
866 run_cmd "$IP nexthop add id 63 via 2001:db8:91::3 dev veth1"
867 run_cmd "$IP nexthop add id 103 group 62/63,2/64,3/65,4"
890 run_cmd "$IP nexthop add id 62 via 2001:db8:91::2 dev veth1"
891 run_cmd "$IP nexthop add id 63 via 2001:db8:91::3 dev veth1"
892 run_cmd "$IP nexthop add id 64 via 2001:db8:91::4 dev veth1"
893 run_cmd "$IP nexthop add id 65 via 2001:db8:91::5 dev veth1"
895 run_cmd "$IP nexthop add id 72 via 2001:db8:92::2 dev veth3"
896 run_cmd "$IP nexthop add id 73 via 2001:db8:92::3 dev veth3"
897 run_cmd "$IP nexthop add id 74 via 2001:db8:92::4 dev veth3"
898 run_cmd "$IP nexthop add id 75 via 2001:db8:92::5 dev veth3"
902 run_cmd "$IP nexthop add id 104 group 62"
903 run_cmd "$IP nexthop add id 105 group 62"
911 run_cmd "$IP nexthop add id 105 group 62/63/72/73/64"
916 run_cmd "$IP nexthop add id 106 group 105/74"
922 run_cmd "$IP -6 nexthop add id 31 blackhole"
923 run_cmd "$IP nexthop add id 107 group 31"
926 run_cmd "$IP nexthop add id 108 group 31/24"
935 run_cmd "$IP nexthop add id 62 via 2001:db8:91::2 dev veth1"
936 run_cmd "$IP nexthop add id 63 via 2001:db8:91::3 dev veth1"
937 run_cmd "$IP nexthop add id 64 via 2001:db8:91::4 dev veth1"
938 run_cmd "$IP nexthop add id 65 via 2001:db8:91::5 dev veth1"
939 run_cmd "$IP nexthop add id 66 dev veth1"
941 run_cmd "$IP nexthop add id 103 group 62,1000"
972 run_cmd "$IP nexthop add id 62 via 2001:db8:91::2 dev veth1"
973 run_cmd "$IP nexthop add id 63 via 2001:db8:91::3 dev veth1"
974 run_cmd "$IP nexthop add id 102 group 62/63 type resilient buckets 2 idle_timer 0"
984 run_cmd "$IP nexthop add id 63 via 2001:db8:91::3 dev veth1"
998 run_cmd "$IP nexthop add id 62 via 2001:db8:91::2 dev veth1"
999 run_cmd "$IP nexthop add id 63 via 2001:db8:91::3 dev veth1"
1000 run_cmd "$IP nexthop add id 102 group 62,3/63,1 type resilient buckets 4 idle_timer 0"
1010 run_cmd "$IP nexthop add id 63 via 2001:db8:91::3 dev veth1"
1022 run_cmd "$IP nexthop add id 62 via 2001:db8:91::2 dev veth1"
1023 run_cmd "$IP nexthop add id 63 via 2001:db8:91::3 dev veth1"
1024 run_cmd "$IP nexthop add id 64 via 2001:db8:91::4 dev veth1"
1025 run_cmd "$IP nexthop add id 65 via 2001:db8:91::5 dev veth1"
1026 run_cmd "$IP nexthop add id 66 dev veth1"
1028 run_cmd "$IP nexthop add id 103 group 62,1000 type resilient buckets 32"
1056 run_cmd "$IP nexthop add id 81 via 2001:db8:91::2 dev veth1"
1057 run_cmd "$IP ro add 2001:db8:101::1/128 nhid 81"
1058 log_test $? 0 "Route add"
1063 run_cmd "$IP ro add 2001:db8:101::1/128 nhid 81"
1067 run_cmd "$IP nexthop add id 82 via 2001:db8:92::2 dev veth3"
1068 run_cmd "$IP nexthop add id 122 group 81/82"
1076 run_cmd "$IP -6 nexthop add id 83 blackhole"
1106 run_cmd "$IP -6 nexthop add id 85 dev veth1"
1111 run_cmd "$IP nexthop add id 123 group 81/85"
1120 run_cmd "$IP nexthop add id 84 via 172.16.1.1 dev veth1"
1121 run_cmd "$IP ro add 2001:db8:101::1/128 nhid 84"
1132 run_cmd "$IP nexthop add id 86 via 2001:db8:92::2 dev veth3"
1133 run_cmd "$IP nexthop add id 87 via 172.16.1.1 dev veth1"
1134 run_cmd "$IP nexthop add id 88 via 172.16.1.1 dev veth1"
1135 run_cmd "$IP nexthop add id 124 group 86/87/88"
1148 run_cmd "$IP nexthop add id 87 via 172.16.1.1 dev veth1"
1149 run_cmd "$IP nexthop add id 88 via 172.16.1.1 dev veth1"
1167 run_cmd "$IP nexthop add id 86 via 2001:db8:91::2 dev veth1"
1168 run_cmd "$IP ro add 2001:db8:101::1/128 nhid 81"
1171 run_cmd "$IP ro add 2001:db8:101::2/128 nhid 86 from 2001:db8:91::1"
1175 run_cmd "$IP ro add 2001:db8:101::2/128 nhid 86 congctl lock foo"
1181 run_cmd "$IP nexthop add id 91 via 2001:db8:91::2 dev veth1"
1182 run_cmd "$IP nexthop add id 92 via 2001:db8:92::2 dev veth3"
1183 run_cmd "$IP nexthop add id 93 group 91/92"
1184 run_cmd "$IP -6 ro add default nhid 91"
1231 $IP nexthop add id 100 via 2001:db8:91::2 dev veth1
1258 run_cmd "$IP nexthop add id 100 via 2001:db8:91::2 dev veth1"
1259 run_cmd "$IP nexthop add id 101 via 2001:db8:92::2 dev veth3"
1260 run_cmd "$IP nexthop add id 102 group 100/101"
1261 run_cmd "$IP route add 2001:db8:101::1 nhid 102"
1262 run_cmd "$IP route add 2001:db8:101::2 nhid 102"
1312 run_cmd "$IP nexthop add id 100 via 2001:db8:91::2 dev veth1"
1313 run_cmd "$IP nexthop add id 101 via 2001:db8:92::2 dev veth3"
1314 run_cmd "$IP nexthop add id 102 group 100/101 type resilient buckets 512 idle_timer 0"
1315 run_cmd "$IP route add 2001:db8:101::1 nhid 102"
1316 run_cmd "$IP route add 2001:db8:101::2 nhid 102"
1348 # basic IPv4 ops - add, get, delete
1350 run_cmd "$IP nexthop add id 12 via 172.16.1.2 dev veth1"
1370 run_cmd "$IP nexthop add id 12 via 172.16.2.3"
1374 run_cmd "$IP nexthop add id 13 via 172.16.3.2 dev veth1"
1378 run_cmd "$IP nexthop add id 13 via 172.16.3.2 dev veth1 onlink"
1383 run_cmd "$IP nexthop add id 15 via 172.16.1.3 dev veth1"
1384 run_cmd "$IP nexthop add id 16 via 172.16.1.4 dev veth1"
1385 run_cmd "$IP nexthop add id 17 via 172.16.1.5 dev veth1"
1391 # nexthop route delete warning: route add with nhid and delete
1394 run_cmd "$IP nexthop add id 12 via 172.16.1.3 dev veth1"
1396 run_cmd "$IP route add 172.16.101.1/32 nhid 12"
1405 run_cmd "$IP nexthop add id 21 via 172.16.1.6 dev veth1"
1406 run_cmd "$IP ro add 172.16.101.0/24 nhid 21"
1410 run_cmd "$IP nexthop add id 22 via 172.16.1.6 dev veth1"
1411 run_cmd "$IP ro add 172.16.102.0/24 nhid 22"
1431 run_cmd "$IP nexthop add id 11 via 172.16.1.2 dev veth1"
1432 run_cmd "$IP nexthop add id 101 group 11"
1449 run_cmd "$IP nexthop add id 12 via 172.16.1.2 dev veth1"
1450 run_cmd "$IP nexthop add id 13 via 172.16.1.3 dev veth1"
1451 run_cmd "$IP nexthop add id 14 via 172.16.1.4 dev veth1"
1452 run_cmd "$IP nexthop add id 15 via 172.16.1.5 dev veth1"
1453 run_cmd "$IP nexthop add id 102 group 12/13/14/15"
1463 run_cmd "$IP nexthop add id 13 via 172.16.1.3 dev veth1"
1464 run_cmd "$IP nexthop add id 103 group 12/13,2/14,3/15,4"
1487 run_cmd "$IP nexthop add id 12 via 172.16.1.2 dev veth1"
1488 run_cmd "$IP nexthop add id 13 via 172.16.1.3 dev veth1"
1489 run_cmd "$IP nexthop add id 14 via 172.16.1.4 dev veth1"
1490 run_cmd "$IP nexthop add id 15 via 172.16.1.5 dev veth1"
1492 run_cmd "$IP nexthop add id 22 via 172.16.2.2 dev veth3"
1493 run_cmd "$IP nexthop add id 23 via 172.16.2.3 dev veth3"
1494 run_cmd "$IP nexthop add id 24 via 172.16.2.4 dev veth3"
1495 run_cmd "$IP nexthop add id 25 via 172.16.2.5 dev veth3"
1499 run_cmd "$IP nexthop add id 104 group 12"
1500 run_cmd "$IP nexthop add id 105 group 12"
1508 run_cmd "$IP nexthop add id 105 group 12/13/22/23/14"
1513 run_cmd "$IP nexthop add id 106 group 105/24"
1519 run_cmd "$IP nexthop add id 31 blackhole"
1520 run_cmd "$IP nexthop add id 107 group 31"
1523 run_cmd "$IP nexthop add id 108 group 31/24"
1543 run_cmd "$IP nexthop add id 12 via 172.16.1.2 dev veth1"
1544 run_cmd "$IP nexthop add id 13 via 172.16.1.3 dev veth1"
1545 run_cmd "$IP nexthop add id 102 group 12/13 type resilient buckets 2 idle_timer 0"
1555 run_cmd "$IP nexthop add id 13 via 172.16.1.3 dev veth1"
1569 run_cmd "$IP nexthop add id 12 via 172.16.1.2 dev veth1"
1570 run_cmd "$IP nexthop add id 13 via 172.16.1.3 dev veth1"
1571 run_cmd "$IP nexthop add id 102 group 12,3/13,1 type resilient buckets 4 idle_timer 0"
1581 run_cmd "$IP nexthop add id 13 via 172.16.1.3 dev veth1"
1597 run_cmd "$IP nexthop add id 11 via ${lladdr} dev veth1"
1599 run_cmd "$IP ro add 172.16.101.1/32 nhid 11"
1604 run_cmd "$IP nexthop add id 12 via 172.16.1.2 dev veth1"
1605 run_cmd "$IP nexthop add id 101 group 11/12"
1629 run_cmd "$IP nexthop add id 21 via 172.16.1.2 dev veth1"
1630 run_cmd "$IP ro add 172.16.101.1/32 nhid 21"
1631 log_test $? 0 "Route add"
1640 run_cmd "$IP nexthop add id 22 via 172.16.1.2 dev veth1"
1641 run_cmd "$IP ro add 172.16.101.1/32 nhid 22 scope host"
1642 log_test $? 2 "Route add - scope conflict with nexthop"
1645 run_cmd "$IP ro add 172.16.101.1/32 nhid 22 scope host"
1650 run_cmd "$IP ro add 172.16.101.2/32 nhid 22 congctl lock foo"
1654 # add route with nexthop and check traffic
1662 run_cmd "$IP nexthop add id 122 group 21/22"
1672 run_cmd "$IP nexthop add id 501 via 172.16.1.2 dev veth1"
1673 run_cmd "$IP ro add default nhid 501"
1674 run_cmd "$IP ro add default via 172.16.1.3 dev veth1 metric 20"
1681 run_cmd "$IP ro add default via 172.16.1.2 dev veth1 metric 20"
1683 run_cmd "$IP ro add default nhid 501 metric 20"
1693 run_cmd "$IP nexthop add id 23 blackhole"
1723 run_cmd "$IP nexthop add id 85 dev veth1"
1728 run_cmd "$IP nexthop add id 123 group 21/85"
1738 run_cmd "$IP nexthop add id 24 via ${lladdr} dev veth1"
1757 run_cmd "$IP nexthop add id 25 via 172.16.1.2 dev veth1"
1758 run_cmd "$IP nexthop add id 101 group 24/25"
1785 run_cmd "$IP -4 ro add default via inet6 ${lladdr} dev veth1"
1792 run_cmd "$IP nexthop add id 51 encap mpls 101 via 172.16.1.2 dev veth1"
1797 run_cmd "$IP nexthop add id 52 encap mpls 102 via inet6 2001:db8:91::2 dev veth1"
1876 run_cmd "$IP nexthop add id 62 via 2001:db8:91::2 dev veth1"
1877 run_cmd "$IP nexthop add id 63 via 2001:db8:91::3 dev veth1"
1878 run_cmd "$IP nexthop add id 122 group 62/63"
1881 run_cmd "$IP -6 ro add 2001:db8:101::1/128 nhid 122"
1882 # route add notification should contain expanded nexthops
1884 log_test $? 0 "IPv6 compat mode on - route add notification"
1891 run_cmd "$IP nexthop add id 64 via 2001:db8:91::4 dev veth1"
1903 run_cmd "$IP nexthop add id 62 via 2001:db8:91::2 dev veth1"
1904 run_cmd "$IP nexthop add id 63 via 2001:db8:91::3 dev veth1"
1905 run_cmd "$IP nexthop add id 122 group 62/63"
1908 run_cmd "$IP -6 ro add 2001:db8:101::1/128 nhid 122"
1909 # route add notification should not contain expanded nexthops
1911 log_test $? 0 "IPv6 compat mode off - route add notification"
1918 run_cmd "$IP nexthop add id 64 via 2001:db8:91::4 dev veth1"
1947 run_cmd "$IP nexthop add id 21 via 172.16.1.2 dev veth1"
1948 run_cmd "$IP nexthop add id 22 via 172.16.1.2 dev veth1"
1949 run_cmd "$IP nexthop add id 122 group 21/22"
1952 run_cmd "$IP ro add 172.16.101.1/32 nhid 122"
1955 # route add notification should contain expanded nexthops
1956 log_test $? 0 "IPv4 compat mode on - route add notification"
1963 run_cmd "$IP nexthop add id 23 via 172.16.1.3 dev veth1"
1975 run_cmd "$IP ro add 172.16.101.1/32 nhid 122"
1977 # route add notification should not contain expanded nexthops
1978 log_test $? 0 "IPv4 compat mode off - route add notification"
2003 $IP nexthop add id 100 via 172.16.1.2 dev veth1
2030 run_cmd "$IP nexthop add id 100 via 172.16.1.2 dev veth1"
2031 run_cmd "$IP nexthop add id 101 via 172.16.2.2 dev veth3"
2032 run_cmd "$IP nexthop add id 102 group 100/101"
2033 run_cmd "$IP route add 172.16.101.1 nhid 102"
2034 run_cmd "$IP route add 172.16.101.2 nhid 102"
2084 run_cmd "$IP nexthop add id 100 via 172.16.1.2 dev veth1"
2085 run_cmd "$IP nexthop add id 101 via 172.16.2.2 dev veth3"
2086 run_cmd "$IP nexthop add id 102 group 100/101 type resilient buckets 512 idle_timer 0"
2087 run_cmd "$IP route add 172.16.101.1 nhid 102"
2088 run_cmd "$IP route add 172.16.101.2 nhid 102"
2129 run_cmd "$IP nexthop add id 1"
2134 run_cmd "$IP nexthop add id 1 dev veth1"
2140 run_cmd "$IP nexthop add id 1 dev veth1"
2145 run_cmd "$IP nexthop add id 1 dev veth1"
2149 run_cmd "$IP nexthop add id 1 dev veth3"
2153 run_cmd "$IP nexthop add id 2 blackhole"
2169 run_cmd "$IP nexthop add id $((2**32-1)) blackhole"
2177 run_cmd "$IP nexthop add id 101 group 1"
2180 run_cmd "$IP nexthop add id 102 group 2"
2184 run_cmd "$IP nexthop add id 103 group 1/2"
2194 run_cmd "$IP nexthop add id 103 group 12"
2198 run_cmd "$IP nexthop add id 103 group 1/1"
2210 run_cmd "$IP nexthop add id 104 group 1 dev veth1"
2214 run_cmd "$IP nexthop add id 105 blackhole proto 99"
2215 run_cmd "$IP nexthop add id 106 blackhole proto 100"
2216 run_cmd "$IP nexthop add id 107 blackhole proto 99"
2227 run_cmd "$IP nexthop add id 104 group 1 blackhole"
2237 echo "nexthop add id $i blackhole" >> $batch_file
2280 run_cmd "$IP nexthop add id 1 dev veth1"
2286 run_cmd "$IP nexthop add id 101 group 1 type resilient buckets 8"
2287 log_test $? 0 "Add a nexthop group with default parameters"
2294 run_cmd "$IP nexthop add id 102 group 1 type resilient
2301 run_cmd "$IP nexthop add id 103 group 1 type resilient buckets 0"
2302 log_test $? 2 "Add a nexthop group with 0 buckets"
2351 run_cmd "$IP nexthop add id 1 dev veth1"
2352 run_cmd "$IP nexthop add id 2 dev veth3"
2353 run_cmd "$IP nexthop add id 101 group 1/2 type resilient buckets 4"
2354 run_cmd "$IP nexthop add id 201 group 1/2"
2394 run_cmd "$IP nexthop add id $((2**32-1)) group 1/2 type resilient buckets 4"
2420 run_cmd "$IP nexthop add id 1 dev veth1"
2421 run_cmd "$IP nexthop add id 2 dev veth3"
2422 run_cmd "$IP nexthop add id 101