.. | .. |
---|
6 | 6 | "filter", |
---|
7 | 7 | "fw" |
---|
8 | 8 | ], |
---|
| 9 | + "plugins": { |
---|
| 10 | + "requires": "nsPlugin" |
---|
| 11 | + }, |
---|
9 | 12 | "setup": [ |
---|
10 | 13 | "$TC qdisc add dev $DEV1 ingress" |
---|
11 | 14 | ], |
---|
.. | .. |
---|
25 | 28 | "filter", |
---|
26 | 29 | "fw" |
---|
27 | 30 | ], |
---|
| 31 | + "plugins": { |
---|
| 32 | + "requires": "nsPlugin" |
---|
| 33 | + }, |
---|
28 | 34 | "setup": [ |
---|
29 | 35 | "$TC qdisc add dev $DEV1 ingress" |
---|
30 | 36 | ], |
---|
.. | .. |
---|
44 | 50 | "filter", |
---|
45 | 51 | "fw" |
---|
46 | 52 | ], |
---|
| 53 | + "plugins": { |
---|
| 54 | + "requires": "nsPlugin" |
---|
| 55 | + }, |
---|
| 56 | + "plugins": { |
---|
| 57 | + "requires": "nsPlugin" |
---|
| 58 | + }, |
---|
| 59 | + "plugins": { |
---|
| 60 | + "requires": "nsPlugin" |
---|
| 61 | + }, |
---|
| 62 | + "plugins": { |
---|
| 63 | + "requires": "nsPlugin" |
---|
| 64 | + }, |
---|
| 65 | + "plugins": { |
---|
| 66 | + "requires": "nsPlugin" |
---|
| 67 | + }, |
---|
| 68 | + "plugins": { |
---|
| 69 | + "requires": "nsPlugin" |
---|
| 70 | + }, |
---|
| 71 | + "plugins": { |
---|
| 72 | + "requires": "nsPlugin" |
---|
| 73 | + }, |
---|
| 74 | + "plugins": { |
---|
| 75 | + "requires": "nsPlugin" |
---|
| 76 | + }, |
---|
| 77 | + "plugins": { |
---|
| 78 | + "requires": "nsPlugin" |
---|
| 79 | + }, |
---|
| 80 | + "plugins": { |
---|
| 81 | + "requires": "nsPlugin" |
---|
| 82 | + }, |
---|
| 83 | + "plugins": { |
---|
| 84 | + "requires": "nsPlugin" |
---|
| 85 | + }, |
---|
| 86 | + "plugins": { |
---|
| 87 | + "requires": "nsPlugin" |
---|
| 88 | + }, |
---|
| 89 | + "plugins": { |
---|
| 90 | + "requires": "nsPlugin" |
---|
| 91 | + }, |
---|
| 92 | + "plugins": { |
---|
| 93 | + "requires": "nsPlugin" |
---|
| 94 | + }, |
---|
| 95 | + "plugins": { |
---|
| 96 | + "requires": "nsPlugin" |
---|
| 97 | + }, |
---|
| 98 | + "plugins": { |
---|
| 99 | + "requires": "nsPlugin" |
---|
| 100 | + }, |
---|
| 101 | + "plugins": { |
---|
| 102 | + "requires": "nsPlugin" |
---|
| 103 | + }, |
---|
| 104 | + "plugins": { |
---|
| 105 | + "requires": "nsPlugin" |
---|
| 106 | + }, |
---|
| 107 | + "plugins": { |
---|
| 108 | + "requires": "nsPlugin" |
---|
| 109 | + }, |
---|
| 110 | + "plugins": { |
---|
| 111 | + "requires": "nsPlugin" |
---|
| 112 | + }, |
---|
| 113 | + "plugins": { |
---|
| 114 | + "requires": "nsPlugin" |
---|
| 115 | + }, |
---|
| 116 | + "plugins": { |
---|
| 117 | + "requires": "nsPlugin" |
---|
| 118 | + }, |
---|
| 119 | + "plugins": { |
---|
| 120 | + "requires": "nsPlugin" |
---|
| 121 | + }, |
---|
| 122 | + "plugins": { |
---|
| 123 | + "requires": "nsPlugin" |
---|
| 124 | + }, |
---|
| 125 | + "plugins": { |
---|
| 126 | + "requires": "nsPlugin" |
---|
| 127 | + }, |
---|
| 128 | + "plugins": { |
---|
| 129 | + "requires": "nsPlugin" |
---|
| 130 | + }, |
---|
| 131 | + "plugins": { |
---|
| 132 | + "requires": "nsPlugin" |
---|
| 133 | + }, |
---|
| 134 | + "plugins": { |
---|
| 135 | + "requires": "nsPlugin" |
---|
| 136 | + }, |
---|
| 137 | + "plugins": { |
---|
| 138 | + "requires": "nsPlugin" |
---|
| 139 | + }, |
---|
| 140 | + "plugins": { |
---|
| 141 | + "requires": "nsPlugin" |
---|
| 142 | + }, |
---|
| 143 | + "plugins": { |
---|
| 144 | + "requires": "nsPlugin" |
---|
| 145 | + }, |
---|
| 146 | + "plugins": { |
---|
| 147 | + "requires": "nsPlugin" |
---|
| 148 | + }, |
---|
| 149 | + "plugins": { |
---|
| 150 | + "requires": "nsPlugin" |
---|
| 151 | + }, |
---|
| 152 | + "plugins": { |
---|
| 153 | + "requires": "nsPlugin" |
---|
| 154 | + }, |
---|
| 155 | + "plugins": { |
---|
| 156 | + "requires": "nsPlugin" |
---|
| 157 | + }, |
---|
| 158 | + "plugins": { |
---|
| 159 | + "requires": "nsPlugin" |
---|
| 160 | + }, |
---|
47 | 161 | "setup": [ |
---|
48 | 162 | "$TC qdisc add dev $DEV1 ingress" |
---|
49 | 163 | ], |
---|
.. | .. |
---|
54 | 168 | "matchCount": "1", |
---|
55 | 169 | "teardown": [ |
---|
56 | 170 | "$TC qdisc del dev $DEV1 ingress" |
---|
| 171 | + ] |
---|
| 172 | + }, |
---|
| 173 | + { |
---|
| 174 | + "id": "c591", |
---|
| 175 | + "name": "Add fw filter with action ok by reference", |
---|
| 176 | + "__comment": "We add sleep here because action might have not been deleted by workqueue just yet. Remove this when the behaviour is fixed.", |
---|
| 177 | + "category": [ |
---|
| 178 | + "filter", |
---|
| 179 | + "fw" |
---|
| 180 | + ], |
---|
| 181 | + "setup": [ |
---|
| 182 | + "$TC qdisc add dev $DEV1 ingress", |
---|
| 183 | + "/bin/sleep 1", |
---|
| 184 | + "$TC actions add action gact ok index 1" |
---|
| 185 | + ], |
---|
| 186 | + "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 fw action gact index 1", |
---|
| 187 | + "expExitCode": "0", |
---|
| 188 | + "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 1 protocol all fw", |
---|
| 189 | + "matchPattern": "handle 0x1.*gact action pass.*index 1 ref 2 bind 1", |
---|
| 190 | + "matchCount": "1", |
---|
| 191 | + "teardown": [ |
---|
| 192 | + "$TC qdisc del dev $DEV1 ingress", |
---|
| 193 | + "/bin/sleep 1", |
---|
| 194 | + "$TC actions del action gact index 1" |
---|
57 | 195 | ] |
---|
58 | 196 | }, |
---|
59 | 197 | { |
---|
.. | .. |
---|
76 | 214 | ] |
---|
77 | 215 | }, |
---|
78 | 216 | { |
---|
| 217 | + "id": "38b3", |
---|
| 218 | + "name": "Add fw filter with action continue by reference", |
---|
| 219 | + "__comment": "We add sleep here because action might have not been deleted by workqueue just yet. Remove this when the behaviour is fixed.", |
---|
| 220 | + "category": [ |
---|
| 221 | + "filter", |
---|
| 222 | + "fw" |
---|
| 223 | + ], |
---|
| 224 | + "setup": [ |
---|
| 225 | + "$TC qdisc add dev $DEV1 ingress", |
---|
| 226 | + "/bin/sleep 1", |
---|
| 227 | + "$TC actions add action gact continue index 1" |
---|
| 228 | + ], |
---|
| 229 | + "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 fw action gact index 1", |
---|
| 230 | + "expExitCode": "0", |
---|
| 231 | + "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 1 protocol all fw", |
---|
| 232 | + "matchPattern": "handle 0x1.*gact action continue.*index 1 ref 2 bind 1", |
---|
| 233 | + "matchCount": "1", |
---|
| 234 | + "teardown": [ |
---|
| 235 | + "$TC qdisc del dev $DEV1 ingress", |
---|
| 236 | + "/bin/sleep 1", |
---|
| 237 | + "$TC actions del action gact index 1" |
---|
| 238 | + ] |
---|
| 239 | + }, |
---|
| 240 | + { |
---|
79 | 241 | "id": "28bc", |
---|
80 | 242 | "name": "Add fw filter with action pipe", |
---|
81 | 243 | "category": [ |
---|
.. | .. |
---|
92 | 254 | "matchCount": "1", |
---|
93 | 255 | "teardown": [ |
---|
94 | 256 | "$TC qdisc del dev $DEV1 ingress" |
---|
| 257 | + ] |
---|
| 258 | + }, |
---|
| 259 | + { |
---|
| 260 | + "id": "6753", |
---|
| 261 | + "name": "Add fw filter with action pipe by reference", |
---|
| 262 | + "__comment": "We add sleep here because action might have not been deleted by workqueue just yet.", |
---|
| 263 | + "category": [ |
---|
| 264 | + "filter", |
---|
| 265 | + "fw" |
---|
| 266 | + ], |
---|
| 267 | + "setup": [ |
---|
| 268 | + "$TC qdisc add dev $DEV1 ingress", |
---|
| 269 | + "/bin/sleep 1", |
---|
| 270 | + "$TC actions add action gact pipe index 1" |
---|
| 271 | + ], |
---|
| 272 | + "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 fw action gact index 1", |
---|
| 273 | + "expExitCode": "0", |
---|
| 274 | + "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 1 protocol all fw", |
---|
| 275 | + "matchPattern": "handle 0x1.*gact action pipe.*index 1 ref 2 bind 1", |
---|
| 276 | + "matchCount": "1", |
---|
| 277 | + "teardown": [ |
---|
| 278 | + "$TC qdisc del dev $DEV1 ingress", |
---|
| 279 | + "/bin/sleep 1", |
---|
| 280 | + "$TC actions del action gact index 1" |
---|
95 | 281 | ] |
---|
96 | 282 | }, |
---|
97 | 283 | { |
---|
.. | .. |
---|
114 | 300 | ] |
---|
115 | 301 | }, |
---|
116 | 302 | { |
---|
| 303 | + "id": "6dc6", |
---|
| 304 | + "name": "Add fw filter with action drop by reference", |
---|
| 305 | + "__comment": "We add sleep here because action might have not been deleted by workqueue just yet.", |
---|
| 306 | + "category": [ |
---|
| 307 | + "filter", |
---|
| 308 | + "fw" |
---|
| 309 | + ], |
---|
| 310 | + "setup": [ |
---|
| 311 | + "$TC qdisc add dev $DEV1 ingress", |
---|
| 312 | + "/bin/sleep 1", |
---|
| 313 | + "$TC actions add action gact drop index 1" |
---|
| 314 | + ], |
---|
| 315 | + "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 fw action gact index 1", |
---|
| 316 | + "expExitCode": "0", |
---|
| 317 | + "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 1 protocol all fw", |
---|
| 318 | + "matchPattern": "handle 0x1.*gact action drop.*index 1 ref 2 bind 1", |
---|
| 319 | + "matchCount": "1", |
---|
| 320 | + "teardown": [ |
---|
| 321 | + "$TC qdisc del dev $DEV1 ingress", |
---|
| 322 | + "/bin/sleep 1", |
---|
| 323 | + "$TC actions del action gact index 1" |
---|
| 324 | + ] |
---|
| 325 | + }, |
---|
| 326 | + { |
---|
117 | 327 | "id": "9436", |
---|
118 | 328 | "name": "Add fw filter with action reclassify", |
---|
119 | 329 | "category": [ |
---|
.. | .. |
---|
133 | 343 | ] |
---|
134 | 344 | }, |
---|
135 | 345 | { |
---|
| 346 | + "id": "3bc2", |
---|
| 347 | + "name": "Add fw filter with action reclassify by reference", |
---|
| 348 | + "__comment": "We add sleep here because action might have not been deleted by workqueue just yet.", |
---|
| 349 | + "category": [ |
---|
| 350 | + "filter", |
---|
| 351 | + "fw" |
---|
| 352 | + ], |
---|
| 353 | + "setup": [ |
---|
| 354 | + "$TC qdisc add dev $DEV1 ingress", |
---|
| 355 | + "/bin/sleep 1", |
---|
| 356 | + "$TC actions add action gact reclassify index 1" |
---|
| 357 | + ], |
---|
| 358 | + "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 fw action gact index 1", |
---|
| 359 | + "expExitCode": "0", |
---|
| 360 | + "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 1 protocol all fw", |
---|
| 361 | + "matchPattern": "handle 0x1.*gact action reclassify.*index 1 ref 2 bind 1", |
---|
| 362 | + "matchCount": "1", |
---|
| 363 | + "teardown": [ |
---|
| 364 | + "$TC qdisc del dev $DEV1 ingress", |
---|
| 365 | + "/bin/sleep 1", |
---|
| 366 | + "$TC actions del action gact index 1" |
---|
| 367 | + ] |
---|
| 368 | + }, |
---|
| 369 | + { |
---|
136 | 370 | "id": "95bb", |
---|
137 | 371 | "name": "Add fw filter with action jump 10", |
---|
138 | 372 | "category": [ |
---|
.. | .. |
---|
149 | 383 | "matchCount": "1", |
---|
150 | 384 | "teardown": [ |
---|
151 | 385 | "$TC qdisc del dev $DEV1 ingress" |
---|
| 386 | + ] |
---|
| 387 | + }, |
---|
| 388 | + { |
---|
| 389 | + "id": "36f7", |
---|
| 390 | + "name": "Add fw filter with action jump 10 by reference", |
---|
| 391 | + "__comment": "We add sleep here because action might have not been deleted by workqueue just yet.", |
---|
| 392 | + "category": [ |
---|
| 393 | + "filter", |
---|
| 394 | + "fw" |
---|
| 395 | + ], |
---|
| 396 | + "setup": [ |
---|
| 397 | + "$TC qdisc add dev $DEV1 ingress", |
---|
| 398 | + "/bin/sleep 1", |
---|
| 399 | + "$TC actions add action gact jump 10 index 1" |
---|
| 400 | + ], |
---|
| 401 | + "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 fw action gact index 1", |
---|
| 402 | + "expExitCode": "0", |
---|
| 403 | + "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 1 protocol all fw", |
---|
| 404 | + "matchPattern": "handle 0x1.*gact action jump 10.*index 1 ref 2 bind 1", |
---|
| 405 | + "matchCount": "1", |
---|
| 406 | + "teardown": [ |
---|
| 407 | + "$TC qdisc del dev $DEV1 ingress", |
---|
| 408 | + "/bin/sleep 1", |
---|
| 409 | + "$TC actions del action gact index 1" |
---|
152 | 410 | ] |
---|
153 | 411 | }, |
---|
154 | 412 | { |
---|
.. | .. |
---|
728 | 986 | "filter", |
---|
729 | 987 | "fw" |
---|
730 | 988 | ], |
---|
| 989 | + "plugins": { |
---|
| 990 | + "requires": "nsPlugin" |
---|
| 991 | + }, |
---|
731 | 992 | "setup": [ |
---|
732 | 993 | "$TC qdisc add dev $DEV1 ingress", |
---|
733 | 994 | "$TC filter add dev $DEV1 parent ffff: protocol 802_3 prio 3 handle 7 fw action ok" |
---|
.. | .. |
---|
748 | 1009 | "filter", |
---|
749 | 1010 | "fw" |
---|
750 | 1011 | ], |
---|
| 1012 | + "plugins": { |
---|
| 1013 | + "requires": "nsPlugin" |
---|
| 1014 | + }, |
---|
751 | 1015 | "setup": [ |
---|
752 | 1016 | "$TC qdisc add dev $DEV1 ingress", |
---|
753 | 1017 | "$TC filter add dev $DEV1 parent ffff: prio 6 handle 2 fw action continue index 5" |
---|
.. | .. |
---|
768 | 1032 | "filter", |
---|
769 | 1033 | "fw" |
---|
770 | 1034 | ], |
---|
| 1035 | + "plugins": { |
---|
| 1036 | + "requires": "nsPlugin" |
---|
| 1037 | + }, |
---|
771 | 1038 | "setup": [ |
---|
772 | 1039 | "$TC qdisc add dev $DEV1 ingress" |
---|
773 | 1040 | ], |
---|
.. | .. |
---|
787 | 1054 | "filter", |
---|
788 | 1055 | "fw" |
---|
789 | 1056 | ], |
---|
| 1057 | + "plugins": { |
---|
| 1058 | + "requires": "nsPlugin" |
---|
| 1059 | + }, |
---|
790 | 1060 | "setup": [ |
---|
791 | 1061 | "$TC qdisc add dev $DEV1 ingress" |
---|
792 | 1062 | ], |
---|
.. | .. |
---|
806 | 1076 | "filter", |
---|
807 | 1077 | "fw" |
---|
808 | 1078 | ], |
---|
| 1079 | + "plugins": { |
---|
| 1080 | + "requires": "nsPlugin" |
---|
| 1081 | + }, |
---|
809 | 1082 | "setup": [ |
---|
810 | 1083 | "$TC qdisc add dev $DEV1 ingress", |
---|
811 | 1084 | "$TC filter add dev $DEV1 parent ffff: handle 5 prio 7 fw action pass", |
---|
.. | .. |
---|
828 | 1101 | "filter", |
---|
829 | 1102 | "fw" |
---|
830 | 1103 | ], |
---|
| 1104 | + "plugins": { |
---|
| 1105 | + "requires": "nsPlugin" |
---|
| 1106 | + }, |
---|
831 | 1107 | "setup": [ |
---|
832 | 1108 | "$TC qdisc add dev $DEV1 ingress", |
---|
833 | 1109 | "$TC filter add dev $DEV1 parent ffff: handle 5 prio 7 fw action pass", |
---|
.. | .. |
---|
850 | 1126 | "filter", |
---|
851 | 1127 | "fw" |
---|
852 | 1128 | ], |
---|
| 1129 | + "plugins": { |
---|
| 1130 | + "requires": "nsPlugin" |
---|
| 1131 | + }, |
---|
853 | 1132 | "setup": [ |
---|
854 | 1133 | "$TC qdisc add dev $DEV1 ingress", |
---|
855 | 1134 | "$TC filter add dev $DEV1 parent ffff: handle 5 prio 7 fw action pass", |
---|
.. | .. |
---|
871 | 1150 | "filter", |
---|
872 | 1151 | "fw" |
---|
873 | 1152 | ], |
---|
| 1153 | + "plugins": { |
---|
| 1154 | + "requires": "nsPlugin" |
---|
| 1155 | + }, |
---|
874 | 1156 | "setup": [ |
---|
875 | 1157 | "$TC qdisc add dev $DEV1 ingress", |
---|
876 | 1158 | "$TC filter add dev $DEV1 parent ffff: handle 1 prio 4 fw action ok", |
---|
.. | .. |
---|
892 | 1174 | "filter", |
---|
893 | 1175 | "fw" |
---|
894 | 1176 | ], |
---|
| 1177 | + "plugins": { |
---|
| 1178 | + "requires": "nsPlugin" |
---|
| 1179 | + }, |
---|
895 | 1180 | "setup": [ |
---|
896 | 1181 | "$TC qdisc add dev $DEV1 ingress", |
---|
897 | 1182 | "$TC filter add dev $DEV1 parent ffff: handle 4 prio 2 chain 13 fw action pipe", |
---|
.. | .. |
---|
913 | 1198 | "filter", |
---|
914 | 1199 | "fw" |
---|
915 | 1200 | ], |
---|
| 1201 | + "plugins": { |
---|
| 1202 | + "requires": "nsPlugin" |
---|
| 1203 | + }, |
---|
916 | 1204 | "setup": [ |
---|
917 | 1205 | "$TC qdisc add dev $DEV1 ingress", |
---|
918 | 1206 | "$TC filter add dev $DEV1 parent ffff: handle 2 prio 4 fw action drop" |
---|
.. | .. |
---|
933 | 1221 | "filter", |
---|
934 | 1222 | "fw" |
---|
935 | 1223 | ], |
---|
| 1224 | + "plugins": { |
---|
| 1225 | + "requires": "nsPlugin" |
---|
| 1226 | + }, |
---|
936 | 1227 | "setup": [ |
---|
937 | 1228 | "$TC qdisc add dev $DEV1 ingress", |
---|
938 | 1229 | "$TC filter add dev $DEV1 parent ffff: handle 3 prio 4 fw action continue" |
---|
.. | .. |
---|
953 | 1244 | "filter", |
---|
954 | 1245 | "fw" |
---|
955 | 1246 | ], |
---|
| 1247 | + "plugins": { |
---|
| 1248 | + "requires": "nsPlugin" |
---|
| 1249 | + }, |
---|
956 | 1250 | "setup": [ |
---|
957 | 1251 | "$TC qdisc add dev $DEV1 ingress", |
---|
958 | 1252 | "$TC filter add dev $DEV1 parent ffff: handle 4 prio 2 protocol arp fw action pipe" |
---|
.. | .. |
---|
973 | 1267 | "filter", |
---|
974 | 1268 | "fw" |
---|
975 | 1269 | ], |
---|
| 1270 | + "plugins": { |
---|
| 1271 | + "requires": "nsPlugin" |
---|
| 1272 | + }, |
---|
976 | 1273 | "setup": [ |
---|
977 | 1274 | "$TC qdisc add dev $DEV1 ingress", |
---|
978 | 1275 | "$TC filter add dev $DEV1 parent ffff: handle 4 prio 2 fw action pipe flowid 45" |
---|
.. | .. |
---|
993 | 1290 | "filter", |
---|
994 | 1291 | "fw" |
---|
995 | 1292 | ], |
---|
| 1293 | + "plugins": { |
---|
| 1294 | + "requires": "nsPlugin" |
---|
| 1295 | + }, |
---|
996 | 1296 | "setup": [ |
---|
997 | 1297 | "$TC qdisc add dev $DEV1 ingress", |
---|
998 | 1298 | "$TC filter add dev $DEV1 parent ffff: handle 1 prio 2 fw action ok" |
---|
.. | .. |
---|
1013 | 1313 | "filter", |
---|
1014 | 1314 | "fw" |
---|
1015 | 1315 | ], |
---|
| 1316 | + "plugins": { |
---|
| 1317 | + "requires": "nsPlugin" |
---|
| 1318 | + }, |
---|
1016 | 1319 | "setup": [ |
---|
1017 | 1320 | "$TC qdisc add dev $DEV1 ingress", |
---|
1018 | 1321 | "$TC filter add dev $DEV1 parent ffff: handle 1 prio 2 fw action ok" |
---|
.. | .. |
---|
1033 | 1336 | "filter", |
---|
1034 | 1337 | "fw" |
---|
1035 | 1338 | ], |
---|
| 1339 | + "plugins": { |
---|
| 1340 | + "requires": "nsPlugin" |
---|
| 1341 | + }, |
---|
1036 | 1342 | "setup": [ |
---|
1037 | 1343 | "$TC qdisc add dev $DEV1 ingress", |
---|
1038 | 1344 | "$TC filter add dev $DEV1 parent ffff: handle 1 prio 2 fw action ok index 3" |
---|