1 [ 1 [ 2 { 2 { 3 "id": "7682", 3 "id": "7682", 4 "name": "Create valid ife encode actio 4 "name": "Create valid ife encode action with mark and pass control", 5 "category": [ 5 "category": [ 6 "actions", 6 "actions", 7 "ife" 7 "ife" 8 ], 8 ], 9 "plugins": { 9 "plugins": { 10 "requires": "nsPlugin" 10 "requires": "nsPlugin" 11 }, 11 }, 12 "setup": [ 12 "setup": [ 13 [ 13 [ 14 "$TC actions flush action ife" 14 "$TC actions flush action ife", 15 0, 15 0, 16 1, 16 1, 17 255 17 255 18 ] 18 ] 19 ], 19 ], 20 "cmdUnderTest": "$TC actions add actio 20 "cmdUnderTest": "$TC actions add action ife encode allow mark pass index 2", 21 "expExitCode": "0", 21 "expExitCode": "0", 22 "verifyCmd": "$TC actions get action i 22 "verifyCmd": "$TC actions get action ife index 2", 23 "matchPattern": "action order [0-9]*: 23 "matchPattern": "action order [0-9]*: ife encode action pass.*type 0[xX]ED3E.*allow mark.*index 2", 24 "matchCount": "1", 24 "matchCount": "1", 25 "teardown": [ 25 "teardown": [ 26 "$TC actions flush action ife" 26 "$TC actions flush action ife" 27 ] 27 ] 28 }, 28 }, 29 { 29 { 30 "id": "ef47", 30 "id": "ef47", 31 "name": "Create valid ife encode actio 31 "name": "Create valid ife encode action with mark and pipe control", 32 "category": [ 32 "category": [ 33 "actions", 33 "actions", 34 "ife" 34 "ife" 35 ], 35 ], 36 "plugins": { 36 "plugins": { 37 "requires": "nsPlugin" 37 "requires": "nsPlugin" 38 }, 38 }, 39 "setup": [ 39 "setup": [ 40 [ 40 [ 41 "$TC actions flush action ife" 41 "$TC actions flush action ife", 42 0, 42 0, 43 1, 43 1, 44 255 44 255 45 ] 45 ] 46 ], 46 ], 47 "cmdUnderTest": "$TC actions add actio 47 "cmdUnderTest": "$TC actions add action ife encode use mark 10 pipe index 2", 48 "expExitCode": "0", 48 "expExitCode": "0", 49 "verifyCmd": "$TC actions get action i 49 "verifyCmd": "$TC actions get action ife index 2", 50 "matchPattern": "action order [0-9]*: 50 "matchPattern": "action order [0-9]*: ife encode action pipe.*type 0[xX]ED3E.*use mark.*index 2", 51 "matchCount": "1", 51 "matchCount": "1", 52 "teardown": [ 52 "teardown": [ 53 "$TC actions flush action ife" 53 "$TC actions flush action ife" 54 ] 54 ] 55 }, 55 }, 56 { 56 { 57 "id": "df43", 57 "id": "df43", 58 "name": "Create valid ife encode actio 58 "name": "Create valid ife encode action with mark and continue control", 59 "category": [ 59 "category": [ 60 "actions", 60 "actions", 61 "ife" 61 "ife" 62 ], 62 ], 63 "plugins": { 63 "plugins": { 64 "requires": "nsPlugin" 64 "requires": "nsPlugin" 65 }, 65 }, 66 "setup": [ 66 "setup": [ 67 [ 67 [ 68 "$TC actions flush action ife" 68 "$TC actions flush action ife", 69 0, 69 0, 70 1, 70 1, 71 255 71 255 72 ] 72 ] 73 ], 73 ], 74 "cmdUnderTest": "$TC actions add actio 74 "cmdUnderTest": "$TC actions add action ife encode allow mark continue index 2", 75 "expExitCode": "0", 75 "expExitCode": "0", 76 "verifyCmd": "$TC actions get action i 76 "verifyCmd": "$TC actions get action ife index 2", 77 "matchPattern": "action order [0-9]*: 77 "matchPattern": "action order [0-9]*: ife encode action continue.*type 0[xX]ED3E.*allow mark.*index 2", 78 "matchCount": "1", 78 "matchCount": "1", 79 "teardown": [ 79 "teardown": [ 80 "$TC actions flush action ife" 80 "$TC actions flush action ife" 81 ] 81 ] 82 }, 82 }, 83 { 83 { 84 "id": "e4cf", 84 "id": "e4cf", 85 "name": "Create valid ife encode actio 85 "name": "Create valid ife encode action with mark and drop control", 86 "category": [ 86 "category": [ 87 "actions", 87 "actions", 88 "ife" 88 "ife" 89 ], 89 ], 90 "plugins": { 90 "plugins": { 91 "requires": "nsPlugin" 91 "requires": "nsPlugin" 92 }, 92 }, 93 "setup": [ 93 "setup": [ 94 [ 94 [ 95 "$TC actions flush action ife" 95 "$TC actions flush action ife", 96 0, 96 0, 97 1, 97 1, 98 255 98 255 99 ] 99 ] 100 ], 100 ], 101 "cmdUnderTest": "$TC actions add actio 101 "cmdUnderTest": "$TC actions add action ife encode use mark 789 drop index 2", 102 "expExitCode": "0", 102 "expExitCode": "0", 103 "verifyCmd": "$TC actions get action i 103 "verifyCmd": "$TC actions get action ife index 2", 104 "matchPattern": "action order [0-9]*: 104 "matchPattern": "action order [0-9]*: ife encode action drop.*type 0[xX]ED3E.*use mark 789.*index 2", 105 "matchCount": "1", 105 "matchCount": "1", 106 "teardown": [ 106 "teardown": [ 107 "$TC actions flush action ife" 107 "$TC actions flush action ife" 108 ] 108 ] 109 }, 109 }, 110 { 110 { 111 "id": "ccba", 111 "id": "ccba", 112 "name": "Create valid ife encode actio 112 "name": "Create valid ife encode action with mark and reclassify control", 113 "category": [ 113 "category": [ 114 "actions", 114 "actions", 115 "ife" 115 "ife" 116 ], 116 ], 117 "plugins": { 117 "plugins": { 118 "requires": "nsPlugin" 118 "requires": "nsPlugin" 119 }, 119 }, 120 "setup": [ 120 "setup": [ 121 [ 121 [ 122 "$TC actions flush action ife" 122 "$TC actions flush action ife", 123 0, 123 0, 124 1, 124 1, 125 255 125 255 126 ] 126 ] 127 ], 127 ], 128 "cmdUnderTest": "$TC actions add actio 128 "cmdUnderTest": "$TC actions add action ife encode use mark 656768 reclassify index 2", 129 "expExitCode": "0", 129 "expExitCode": "0", 130 "verifyCmd": "$TC actions get action i 130 "verifyCmd": "$TC actions get action ife index 2", 131 "matchPattern": "action order [0-9]*: 131 "matchPattern": "action order [0-9]*: ife encode action reclassify.*type 0[xX]ED3E.*use mark 656768.*index 2", 132 "matchCount": "1", 132 "matchCount": "1", 133 "teardown": [ 133 "teardown": [ 134 "$TC actions flush action ife" 134 "$TC actions flush action ife" 135 ] 135 ] 136 }, 136 }, 137 { 137 { 138 "id": "a1cf", 138 "id": "a1cf", 139 "name": "Create valid ife encode actio 139 "name": "Create valid ife encode action with mark and jump control", 140 "category": [ 140 "category": [ 141 "actions", 141 "actions", 142 "ife" 142 "ife" 143 ], 143 ], 144 "plugins": { 144 "plugins": { 145 "requires": "nsPlugin" 145 "requires": "nsPlugin" 146 }, 146 }, 147 "setup": [ 147 "setup": [ 148 [ 148 [ 149 "$TC actions flush action ife" 149 "$TC actions flush action ife", 150 0, 150 0, 151 1, 151 1, 152 255 152 255 153 ] 153 ] 154 ], 154 ], 155 "cmdUnderTest": "$TC actions add actio 155 "cmdUnderTest": "$TC actions add action ife encode use mark 65 jump 1 index 2", 156 "expExitCode": "0", 156 "expExitCode": "0", 157 "verifyCmd": "$TC actions get action i 157 "verifyCmd": "$TC actions get action ife index 2", 158 "matchPattern": "action order [0-9]*: 158 "matchPattern": "action order [0-9]*: ife encode action jump 1.*type 0[xX]ED3E.*use mark 65.*index 2", 159 "matchCount": "1", 159 "matchCount": "1", 160 "teardown": [ 160 "teardown": [ 161 "$TC actions flush action ife" 161 "$TC actions flush action ife" 162 ] 162 ] 163 }, 163 }, 164 { 164 { 165 "id": "cb3d", 165 "id": "cb3d", 166 "name": "Create valid ife encode actio 166 "name": "Create valid ife encode action with mark value at 32-bit maximum", 167 "category": [ 167 "category": [ 168 "actions", 168 "actions", 169 "ife" 169 "ife" 170 ], 170 ], 171 "plugins": { 171 "plugins": { 172 "requires": "nsPlugin" 172 "requires": "nsPlugin" 173 }, 173 }, 174 "setup": [ 174 "setup": [ 175 [ 175 [ 176 "$TC actions flush action ife" 176 "$TC actions flush action ife", 177 0, 177 0, 178 1, 178 1, 179 255 179 255 180 ] 180 ] 181 ], 181 ], 182 "cmdUnderTest": "$TC actions add actio 182 "cmdUnderTest": "$TC actions add action ife encode use mark 4294967295 reclassify index 90", 183 "expExitCode": "0", 183 "expExitCode": "0", 184 "verifyCmd": "$TC actions get action i 184 "verifyCmd": "$TC actions get action ife index 90", 185 "matchPattern": "action order [0-9]*: 185 "matchPattern": "action order [0-9]*: ife encode action reclassify.*type 0[xX]ED3E.*use mark 4294967295.*index 90", 186 "matchCount": "1", 186 "matchCount": "1", 187 "teardown": [ 187 "teardown": [ 188 "$TC actions flush action ife" 188 "$TC actions flush action ife" 189 ] 189 ] 190 }, 190 }, 191 { 191 { 192 "id": "1efb", 192 "id": "1efb", 193 "name": "Create ife encode action with 193 "name": "Create ife encode action with mark value exceeding 32-bit maximum", 194 "category": [ 194 "category": [ 195 "actions", 195 "actions", 196 "ife" 196 "ife" 197 ], 197 ], 198 "plugins": { 198 "plugins": { 199 "requires": "nsPlugin" 199 "requires": "nsPlugin" 200 }, 200 }, 201 "setup": [ 201 "setup": [ 202 [ 202 [ 203 "$TC actions flush action ife" 203 "$TC actions flush action ife", 204 0, 204 0, 205 1, 205 1, 206 255 206 255 207 ] 207 ] 208 ], 208 ], 209 "cmdUnderTest": "$TC actions add actio 209 "cmdUnderTest": "$TC actions add action ife encode use mark 4294967295999 pipe index 90", 210 "expExitCode": "255", 210 "expExitCode": "255", 211 "verifyCmd": "$TC actions get action i 211 "verifyCmd": "$TC actions get action ife index 90", 212 "matchPattern": "action order [0-9]*: 212 "matchPattern": "action order [0-9]*: ife encode action pipe.*type 0[xX]ED3E.*use mark 4294967295999.*index 90", 213 "matchCount": "0", 213 "matchCount": "0", 214 "teardown": [] 214 "teardown": [] 215 }, 215 }, 216 { 216 { 217 "id": "95ed", 217 "id": "95ed", 218 "name": "Create valid ife encode actio 218 "name": "Create valid ife encode action with prio and pass control", 219 "category": [ 219 "category": [ 220 "actions", 220 "actions", 221 "ife" 221 "ife" 222 ], 222 ], 223 "plugins": { 223 "plugins": { 224 "requires": "nsPlugin" 224 "requires": "nsPlugin" 225 }, 225 }, 226 "setup": [ 226 "setup": [ 227 [ 227 [ 228 "$TC actions flush action ife" 228 "$TC actions flush action ife", 229 0, 229 0, 230 1, 230 1, 231 255 231 255 232 ] 232 ] 233 ], 233 ], 234 "cmdUnderTest": "$TC actions add actio 234 "cmdUnderTest": "$TC actions add action ife encode allow prio pass index 9", 235 "expExitCode": "0", 235 "expExitCode": "0", 236 "verifyCmd": "$TC actions get action i 236 "verifyCmd": "$TC actions get action ife index 9", 237 "matchPattern": "action order [0-9]*: 237 "matchPattern": "action order [0-9]*: ife encode action pass.*type 0[xX]ED3E.*allow prio.*index 9", 238 "matchCount": "1", 238 "matchCount": "1", 239 "teardown": [ 239 "teardown": [ 240 "$TC actions flush action ife" 240 "$TC actions flush action ife" 241 ] 241 ] 242 }, 242 }, 243 { 243 { 244 "id": "aa17", 244 "id": "aa17", 245 "name": "Create valid ife encode actio 245 "name": "Create valid ife encode action with prio and pipe control", 246 "category": [ 246 "category": [ 247 "actions", 247 "actions", 248 "ife" 248 "ife" 249 ], 249 ], 250 "plugins": { 250 "plugins": { 251 "requires": "nsPlugin" 251 "requires": "nsPlugin" 252 }, 252 }, 253 "setup": [ 253 "setup": [ 254 [ 254 [ 255 "$TC actions flush action ife" 255 "$TC actions flush action ife", 256 0, 256 0, 257 1, 257 1, 258 255 258 255 259 ] 259 ] 260 ], 260 ], 261 "cmdUnderTest": "$TC actions add actio 261 "cmdUnderTest": "$TC actions add action ife encode use prio 7 pipe index 9", 262 "expExitCode": "0", 262 "expExitCode": "0", 263 "verifyCmd": "$TC actions get action i 263 "verifyCmd": "$TC actions get action ife index 9", 264 "matchPattern": "action order [0-9]*: 264 "matchPattern": "action order [0-9]*: ife encode action pipe.*type 0[xX]ED3E.*use prio 7.*index 9", 265 "matchCount": "1", 265 "matchCount": "1", 266 "teardown": [ 266 "teardown": [ 267 "$TC actions flush action ife" 267 "$TC actions flush action ife" 268 ] 268 ] 269 }, 269 }, 270 { 270 { 271 "id": "74c7", 271 "id": "74c7", 272 "name": "Create valid ife encode actio 272 "name": "Create valid ife encode action with prio and continue control", 273 "category": [ 273 "category": [ 274 "actions", 274 "actions", 275 "ife" 275 "ife" 276 ], 276 ], 277 "plugins": { 277 "plugins": { 278 "requires": "nsPlugin" 278 "requires": "nsPlugin" 279 }, 279 }, 280 "setup": [ 280 "setup": [ 281 [ 281 [ 282 "$TC actions flush action ife" 282 "$TC actions flush action ife", 283 0, 283 0, 284 1, 284 1, 285 255 285 255 286 ] 286 ] 287 ], 287 ], 288 "cmdUnderTest": "$TC actions add actio 288 "cmdUnderTest": "$TC actions add action ife encode use prio 3 continue index 9", 289 "expExitCode": "0", 289 "expExitCode": "0", 290 "verifyCmd": "$TC actions get action i 290 "verifyCmd": "$TC actions get action ife index 9", 291 "matchPattern": "action order [0-9]*: 291 "matchPattern": "action order [0-9]*: ife encode action continue.*type 0[xX]ED3E.*use prio 3.*index 9", 292 "matchCount": "1", 292 "matchCount": "1", 293 "teardown": [ 293 "teardown": [ 294 "$TC actions flush action ife" 294 "$TC actions flush action ife" 295 ] 295 ] 296 }, 296 }, 297 { 297 { 298 "id": "7a97", 298 "id": "7a97", 299 "name": "Create valid ife encode actio 299 "name": "Create valid ife encode action with prio and drop control", 300 "category": [ 300 "category": [ 301 "actions", 301 "actions", 302 "ife" 302 "ife" 303 ], 303 ], 304 "plugins": { 304 "plugins": { 305 "requires": "nsPlugin" 305 "requires": "nsPlugin" 306 }, 306 }, 307 "setup": [ 307 "setup": [ 308 [ 308 [ 309 "$TC actions flush action ife" 309 "$TC actions flush action ife", 310 0, 310 0, 311 1, 311 1, 312 255 312 255 313 ] 313 ] 314 ], 314 ], 315 "cmdUnderTest": "$TC actions add actio 315 "cmdUnderTest": "$TC actions add action ife encode allow prio drop index 9", 316 "expExitCode": "0", 316 "expExitCode": "0", 317 "verifyCmd": "$TC actions get action i 317 "verifyCmd": "$TC actions get action ife index 9", 318 "matchPattern": "action order [0-9]*: 318 "matchPattern": "action order [0-9]*: ife encode action drop.*type 0[xX]ED3E.*allow prio.*index 9", 319 "matchCount": "1", 319 "matchCount": "1", 320 "teardown": [ 320 "teardown": [ 321 "$TC actions flush action ife" 321 "$TC actions flush action ife" 322 ] 322 ] 323 }, 323 }, 324 { 324 { 325 "id": "f66b", 325 "id": "f66b", 326 "name": "Create valid ife encode actio 326 "name": "Create valid ife encode action with prio and reclassify control", 327 "category": [ 327 "category": [ 328 "actions", 328 "actions", 329 "ife" 329 "ife" 330 ], 330 ], 331 "plugins": { 331 "plugins": { 332 "requires": "nsPlugin" 332 "requires": "nsPlugin" 333 }, 333 }, 334 "setup": [ 334 "setup": [ 335 [ 335 [ 336 "$TC actions flush action ife" 336 "$TC actions flush action ife", 337 0, 337 0, 338 1, 338 1, 339 255 339 255 340 ] 340 ] 341 ], 341 ], 342 "cmdUnderTest": "$TC actions add actio 342 "cmdUnderTest": "$TC actions add action ife encode use prio 998877 reclassify index 9", 343 "expExitCode": "0", 343 "expExitCode": "0", 344 "verifyCmd": "$TC actions get action i 344 "verifyCmd": "$TC actions get action ife index 9", 345 "matchPattern": "action order [0-9]*: 345 "matchPattern": "action order [0-9]*: ife encode action reclassify.*type 0[xX]ED3E.*use prio 998877.*index 9", 346 "matchCount": "1", 346 "matchCount": "1", 347 "teardown": [ 347 "teardown": [ 348 "$TC actions flush action ife" 348 "$TC actions flush action ife" 349 ] 349 ] 350 }, 350 }, 351 { 351 { 352 "id": "3056", 352 "id": "3056", 353 "name": "Create valid ife encode actio 353 "name": "Create valid ife encode action with prio and jump control", 354 "category": [ 354 "category": [ 355 "actions", 355 "actions", 356 "ife" 356 "ife" 357 ], 357 ], 358 "plugins": { 358 "plugins": { 359 "requires": "nsPlugin" 359 "requires": "nsPlugin" 360 }, 360 }, 361 "setup": [ 361 "setup": [ 362 [ 362 [ 363 "$TC actions flush action ife" 363 "$TC actions flush action ife", 364 0, 364 0, 365 1, 365 1, 366 255 366 255 367 ] 367 ] 368 ], 368 ], 369 "cmdUnderTest": "$TC actions add actio 369 "cmdUnderTest": "$TC actions add action ife encode use prio 998877 jump 10 index 9", 370 "expExitCode": "0", 370 "expExitCode": "0", 371 "verifyCmd": "$TC actions get action i 371 "verifyCmd": "$TC actions get action ife index 9", 372 "matchPattern": "action order [0-9]*: 372 "matchPattern": "action order [0-9]*: ife encode action jump 10.*type 0[xX]ED3E.*use prio 998877.*index 9", 373 "matchCount": "1", 373 "matchCount": "1", 374 "teardown": [ 374 "teardown": [ 375 "$TC actions flush action ife" 375 "$TC actions flush action ife" 376 ] 376 ] 377 }, 377 }, 378 { 378 { 379 "id": "7dd3", 379 "id": "7dd3", 380 "name": "Create valid ife encode actio 380 "name": "Create valid ife encode action with prio value at 32-bit maximum", 381 "category": [ 381 "category": [ 382 "actions", 382 "actions", 383 "ife" 383 "ife" 384 ], 384 ], 385 "plugins": { 385 "plugins": { 386 "requires": "nsPlugin" 386 "requires": "nsPlugin" 387 }, 387 }, 388 "setup": [ 388 "setup": [ 389 [ 389 [ 390 "$TC actions flush action ife" 390 "$TC actions flush action ife", 391 0, 391 0, 392 1, 392 1, 393 255 393 255 394 ] 394 ] 395 ], 395 ], 396 "cmdUnderTest": "$TC actions add actio 396 "cmdUnderTest": "$TC actions add action ife encode use prio 4294967295 reclassify index 99", 397 "expExitCode": "0", 397 "expExitCode": "0", 398 "verifyCmd": "$TC actions get action i 398 "verifyCmd": "$TC actions get action ife index 99", 399 "matchPattern": "action order [0-9]*: 399 "matchPattern": "action order [0-9]*: ife encode action reclassify.*type 0[xX]ED3E.*use prio 4294967295.*index 99", 400 "matchCount": "1", 400 "matchCount": "1", 401 "teardown": [ 401 "teardown": [ 402 "$TC actions flush action ife" 402 "$TC actions flush action ife" 403 ] 403 ] 404 }, 404 }, 405 { 405 { 406 "id": "2ca1", 406 "id": "2ca1", 407 "name": "Create ife encode action with 407 "name": "Create ife encode action with prio value exceeding 32-bit maximum", 408 "category": [ 408 "category": [ 409 "actions", 409 "actions", 410 "ife" 410 "ife" 411 ], 411 ], 412 "plugins": { 412 "plugins": { 413 "requires": "nsPlugin" 413 "requires": "nsPlugin" 414 }, 414 }, 415 "setup": [ 415 "setup": [ 416 [ 416 [ 417 "$TC actions flush action ife" 417 "$TC actions flush action ife", 418 0, 418 0, 419 1, 419 1, 420 255 420 255 421 ] 421 ] 422 ], 422 ], 423 "cmdUnderTest": "$TC actions add actio 423 "cmdUnderTest": "$TC actions add action ife encode use prio 4294967298 pipe index 99", 424 "expExitCode": "255", 424 "expExitCode": "255", 425 "verifyCmd": "$TC actions get action i 425 "verifyCmd": "$TC actions get action ife index 99", 426 "matchPattern": "action order [0-9]*: 426 "matchPattern": "action order [0-9]*: ife encode action pipe.*type 0[xX]ED3E.*use prio 4294967298.*index 99", 427 "matchCount": "0", 427 "matchCount": "0", 428 "teardown": [] 428 "teardown": [] 429 }, 429 }, 430 { 430 { 431 "id": "05bb", 431 "id": "05bb", 432 "name": "Create valid ife encode actio 432 "name": "Create valid ife encode action with tcindex and pass control", 433 "category": [ 433 "category": [ 434 "actions", 434 "actions", 435 "ife" 435 "ife" 436 ], 436 ], 437 "plugins": { 437 "plugins": { 438 "requires": "nsPlugin" 438 "requires": "nsPlugin" 439 }, 439 }, 440 "setup": [ 440 "setup": [ 441 [ 441 [ 442 "$TC actions flush action ife" 442 "$TC actions flush action ife", 443 0, 443 0, 444 1, 444 1, 445 255 445 255 446 ] 446 ] 447 ], 447 ], 448 "cmdUnderTest": "$TC actions add actio 448 "cmdUnderTest": "$TC actions add action ife encode allow tcindex pass index 1", 449 "expExitCode": "0", 449 "expExitCode": "0", 450 "verifyCmd": "$TC actions get action i 450 "verifyCmd": "$TC actions get action ife index 1", 451 "matchPattern": "action order [0-9]*: 451 "matchPattern": "action order [0-9]*: ife encode action pass.*type 0[xX]ED3E.*allow tcindex.*index 1", 452 "matchCount": "1", 452 "matchCount": "1", 453 "teardown": [ 453 "teardown": [ 454 "$TC actions flush action ife" 454 "$TC actions flush action ife" 455 ] 455 ] 456 }, 456 }, 457 { 457 { 458 "id": "ce65", 458 "id": "ce65", 459 "name": "Create valid ife encode actio 459 "name": "Create valid ife encode action with tcindex and pipe control", 460 "category": [ 460 "category": [ 461 "actions", 461 "actions", 462 "ife" 462 "ife" 463 ], 463 ], 464 "plugins": { 464 "plugins": { 465 "requires": "nsPlugin" 465 "requires": "nsPlugin" 466 }, 466 }, 467 "setup": [ 467 "setup": [ 468 [ 468 [ 469 "$TC actions flush action ife" 469 "$TC actions flush action ife", 470 0, 470 0, 471 1, 471 1, 472 255 472 255 473 ] 473 ] 474 ], 474 ], 475 "cmdUnderTest": "$TC actions add actio 475 "cmdUnderTest": "$TC actions add action ife encode use tcindex 111 pipe index 1", 476 "expExitCode": "0", 476 "expExitCode": "0", 477 "verifyCmd": "$TC actions get action i 477 "verifyCmd": "$TC actions get action ife index 1", 478 "matchPattern": "action order [0-9]*: 478 "matchPattern": "action order [0-9]*: ife encode action pipe.*type 0[xX]ED3E.*use tcindex 111.*index 1", 479 "matchCount": "1", 479 "matchCount": "1", 480 "teardown": [ 480 "teardown": [ 481 "$TC actions flush action ife" 481 "$TC actions flush action ife" 482 ] 482 ] 483 }, 483 }, 484 { 484 { 485 "id": "09cd", 485 "id": "09cd", 486 "name": "Create valid ife encode actio 486 "name": "Create valid ife encode action with tcindex and continue control", 487 "category": [ 487 "category": [ 488 "actions", 488 "actions", 489 "ife" 489 "ife" 490 ], 490 ], 491 "plugins": { 491 "plugins": { 492 "requires": "nsPlugin" 492 "requires": "nsPlugin" 493 }, 493 }, 494 "setup": [ 494 "setup": [ 495 [ 495 [ 496 "$TC actions flush action ife" 496 "$TC actions flush action ife", 497 0, 497 0, 498 1, 498 1, 499 255 499 255 500 ] 500 ] 501 ], 501 ], 502 "cmdUnderTest": "$TC actions add actio 502 "cmdUnderTest": "$TC actions add action ife encode use tcindex 1 continue index 1", 503 "expExitCode": "0", 503 "expExitCode": "0", 504 "verifyCmd": "$TC actions get action i 504 "verifyCmd": "$TC actions get action ife index 1", 505 "matchPattern": "action order [0-9]*: 505 "matchPattern": "action order [0-9]*: ife encode action continue.*type 0[xX]ED3E.*use tcindex 1.*index 1", 506 "matchCount": "1", 506 "matchCount": "1", 507 "teardown": [ 507 "teardown": [ 508 "$TC actions flush action ife" 508 "$TC actions flush action ife" 509 ] 509 ] 510 }, 510 }, 511 { 511 { 512 "id": "8eb5", 512 "id": "8eb5", 513 "name": "Create valid ife encode actio 513 "name": "Create valid ife encode action with tcindex and continue control", 514 "category": [ 514 "category": [ 515 "actions", 515 "actions", 516 "ife" 516 "ife" 517 ], 517 ], 518 "plugins": { 518 "plugins": { 519 "requires": "nsPlugin" 519 "requires": "nsPlugin" 520 }, 520 }, 521 "setup": [ 521 "setup": [ 522 [ 522 [ 523 "$TC actions flush action ife" 523 "$TC actions flush action ife", 524 0, 524 0, 525 1, 525 1, 526 255 526 255 527 ] 527 ] 528 ], 528 ], 529 "cmdUnderTest": "$TC actions add actio 529 "cmdUnderTest": "$TC actions add action ife encode use tcindex 1 continue index 1", 530 "expExitCode": "0", 530 "expExitCode": "0", 531 "verifyCmd": "$TC actions get action i 531 "verifyCmd": "$TC actions get action ife index 1", 532 "matchPattern": "action order [0-9]*: 532 "matchPattern": "action order [0-9]*: ife encode action continue.*type 0[xX]ED3E.*use tcindex 1.*index 1", 533 "matchCount": "1", 533 "matchCount": "1", 534 "teardown": [ 534 "teardown": [ 535 "$TC actions flush action ife" 535 "$TC actions flush action ife" 536 ] 536 ] 537 }, 537 }, 538 { 538 { 539 "id": "451a", 539 "id": "451a", 540 "name": "Create valid ife encode actio 540 "name": "Create valid ife encode action with tcindex and drop control", 541 "category": [ 541 "category": [ 542 "actions", 542 "actions", 543 "ife" 543 "ife" 544 ], 544 ], 545 "plugins": { 545 "plugins": { 546 "requires": "nsPlugin" 546 "requires": "nsPlugin" 547 }, 547 }, 548 "setup": [ 548 "setup": [ 549 [ 549 [ 550 "$TC actions flush action ife" 550 "$TC actions flush action ife", 551 0, 551 0, 552 1, 552 1, 553 255 553 255 554 ] 554 ] 555 ], 555 ], 556 "cmdUnderTest": "$TC actions add actio 556 "cmdUnderTest": "$TC actions add action ife encode allow tcindex drop index 77", 557 "expExitCode": "0", 557 "expExitCode": "0", 558 "verifyCmd": "$TC actions get action i 558 "verifyCmd": "$TC actions get action ife index 77", 559 "matchPattern": "action order [0-9]*: 559 "matchPattern": "action order [0-9]*: ife encode action drop.*type 0[xX]ED3E.*allow tcindex.*index 77", 560 "matchCount": "1", 560 "matchCount": "1", 561 "teardown": [ 561 "teardown": [ 562 "$TC actions flush action ife" 562 "$TC actions flush action ife" 563 ] 563 ] 564 }, 564 }, 565 { 565 { 566 "id": "d76c", 566 "id": "d76c", 567 "name": "Create valid ife encode actio 567 "name": "Create valid ife encode action with tcindex and reclassify control", 568 "category": [ 568 "category": [ 569 "actions", 569 "actions", 570 "ife" 570 "ife" 571 ], 571 ], 572 "plugins": { 572 "plugins": { 573 "requires": "nsPlugin" 573 "requires": "nsPlugin" 574 }, 574 }, 575 "setup": [ 575 "setup": [ 576 [ 576 [ 577 "$TC actions flush action ife" 577 "$TC actions flush action ife", 578 0, 578 0, 579 1, 579 1, 580 255 580 255 581 ] 581 ] 582 ], 582 ], 583 "cmdUnderTest": "$TC actions add actio 583 "cmdUnderTest": "$TC actions add action ife encode allow tcindex reclassify index 77", 584 "expExitCode": "0", 584 "expExitCode": "0", 585 "verifyCmd": "$TC actions get action i 585 "verifyCmd": "$TC actions get action ife index 77", 586 "matchPattern": "action order [0-9]*: 586 "matchPattern": "action order [0-9]*: ife encode action reclassify.*type 0[xX]ED3E.*allow tcindex.*index 77", 587 "matchCount": "1", 587 "matchCount": "1", 588 "teardown": [ 588 "teardown": [ 589 "$TC actions flush action ife" 589 "$TC actions flush action ife" 590 ] 590 ] 591 }, 591 }, 592 { 592 { 593 "id": "e731", 593 "id": "e731", 594 "name": "Create valid ife encode actio 594 "name": "Create valid ife encode action with tcindex and jump control", 595 "category": [ 595 "category": [ 596 "actions", 596 "actions", 597 "ife" 597 "ife" 598 ], 598 ], 599 "plugins": { 599 "plugins": { 600 "requires": "nsPlugin" 600 "requires": "nsPlugin" 601 }, 601 }, 602 "setup": [ 602 "setup": [ 603 [ 603 [ 604 "$TC actions flush action ife" 604 "$TC actions flush action ife", 605 0, 605 0, 606 1, 606 1, 607 255 607 255 608 ] 608 ] 609 ], 609 ], 610 "cmdUnderTest": "$TC actions add actio 610 "cmdUnderTest": "$TC actions add action ife encode allow tcindex jump 999 index 77", 611 "expExitCode": "0", 611 "expExitCode": "0", 612 "verifyCmd": "$TC actions get action i 612 "verifyCmd": "$TC actions get action ife index 77", 613 "matchPattern": "action order [0-9]*: 613 "matchPattern": "action order [0-9]*: ife encode action jump 999.*type 0[xX]ED3E.*allow tcindex.*index 77", 614 "matchCount": "1", 614 "matchCount": "1", 615 "teardown": [ 615 "teardown": [ 616 "$TC actions flush action ife" 616 "$TC actions flush action ife" 617 ] 617 ] 618 }, 618 }, 619 { 619 { 620 "id": "b7b8", 620 "id": "b7b8", 621 "name": "Create valid ife encode actio 621 "name": "Create valid ife encode action with tcindex value at 16-bit maximum", 622 "category": [ 622 "category": [ 623 "actions", 623 "actions", 624 "ife" 624 "ife" 625 ], 625 ], 626 "plugins": { 626 "plugins": { 627 "requires": "nsPlugin" 627 "requires": "nsPlugin" 628 }, 628 }, 629 "setup": [ 629 "setup": [ 630 [ 630 [ 631 "$TC actions flush action ife" 631 "$TC actions flush action ife", 632 0, 632 0, 633 1, 633 1, 634 255 634 255 635 ] 635 ] 636 ], 636 ], 637 "cmdUnderTest": "$TC actions add actio 637 "cmdUnderTest": "$TC actions add action ife encode use tcindex 65535 pass index 1", 638 "expExitCode": "0", 638 "expExitCode": "0", 639 "verifyCmd": "$TC actions get action i 639 "verifyCmd": "$TC actions get action ife index 1", 640 "matchPattern": "action order [0-9]*: 640 "matchPattern": "action order [0-9]*: ife encode action pass.*type 0[xX]ED3E.*use tcindex 65535.*index 1", 641 "matchCount": "1", 641 "matchCount": "1", 642 "teardown": [ 642 "teardown": [ 643 "$TC actions flush action ife" 643 "$TC actions flush action ife" 644 ] 644 ] 645 }, 645 }, 646 { 646 { 647 "id": "d0d8", 647 "id": "d0d8", 648 "name": "Create ife encode action with 648 "name": "Create ife encode action with tcindex value exceeding 16-bit maximum", 649 "category": [ 649 "category": [ 650 "actions", 650 "actions", 651 "ife" 651 "ife" 652 ], 652 ], 653 "plugins": { 653 "plugins": { 654 "requires": "nsPlugin" 654 "requires": "nsPlugin" 655 }, 655 }, 656 "setup": [ 656 "setup": [ 657 [ 657 [ 658 "$TC actions flush action ife" 658 "$TC actions flush action ife", 659 0, 659 0, 660 1, 660 1, 661 255 661 255 662 ] 662 ] 663 ], 663 ], 664 "cmdUnderTest": "$TC actions add actio 664 "cmdUnderTest": "$TC actions add action ife encode use tcindex 65539 pipe index 1", 665 "expExitCode": "255", 665 "expExitCode": "255", 666 "verifyCmd": "$TC actions get action i 666 "verifyCmd": "$TC actions get action ife index 1", 667 "matchPattern": "action order [0-9]*: 667 "matchPattern": "action order [0-9]*: ife encode action pipe.*type 0[xX]ED3E.*use tcindex 65539.*index 1", 668 "matchCount": "0", 668 "matchCount": "0", 669 "teardown": [] 669 "teardown": [] 670 }, 670 }, 671 { 671 { 672 "id": "2a9c", 672 "id": "2a9c", 673 "name": "Create valid ife encode actio 673 "name": "Create valid ife encode action with mac src parameter", 674 "category": [ 674 "category": [ 675 "actions", 675 "actions", 676 "ife" 676 "ife" 677 ], 677 ], 678 "plugins": { 678 "plugins": { 679 "requires": "nsPlugin" 679 "requires": "nsPlugin" 680 }, 680 }, 681 "setup": [ 681 "setup": [ 682 [ 682 [ 683 "$TC actions flush action ife" 683 "$TC actions flush action ife", 684 0, 684 0, 685 1, 685 1, 686 255 686 255 687 ] 687 ] 688 ], 688 ], 689 "cmdUnderTest": "$TC actions add actio 689 "cmdUnderTest": "$TC actions add action ife encode allow mark src 00:11:22:33:44:55 pipe index 1", 690 "expExitCode": "0", 690 "expExitCode": "0", 691 "verifyCmd": "$TC actions get action i 691 "verifyCmd": "$TC actions get action ife index 1", 692 "matchPattern": "action order [0-9]*: 692 "matchPattern": "action order [0-9]*: ife encode action pipe.*type 0[xX]ED3E.*allow mark src 00:11:22:33:44:55.*index 1", 693 "matchCount": "1", 693 "matchCount": "1", 694 "teardown": [ 694 "teardown": [ 695 "$TC actions flush action ife" 695 "$TC actions flush action ife" 696 ] 696 ] 697 }, 697 }, 698 { 698 { 699 "id": "cf5c", 699 "id": "cf5c", 700 "name": "Create valid ife encode actio 700 "name": "Create valid ife encode action with mac dst parameter", 701 "category": [ 701 "category": [ 702 "actions", 702 "actions", 703 "ife" 703 "ife" 704 ], 704 ], 705 "plugins": { 705 "plugins": { 706 "requires": "nsPlugin" 706 "requires": "nsPlugin" 707 }, 707 }, 708 "setup": [ 708 "setup": [ 709 [ 709 [ 710 "$TC actions flush action ife" 710 "$TC actions flush action ife", 711 0, 711 0, 712 1, 712 1, 713 255 713 255 714 ] 714 ] 715 ], 715 ], 716 "cmdUnderTest": "$TC actions add actio 716 "cmdUnderTest": "$TC actions add action ife encode use prio 9876 dst 00:11:22:33:44:55 reclassify index 1", 717 "expExitCode": "0", 717 "expExitCode": "0", 718 "verifyCmd": "$TC actions get action i 718 "verifyCmd": "$TC actions get action ife index 1", 719 "matchPattern": "action order [0-9]*: 719 "matchPattern": "action order [0-9]*: ife encode action reclassify.*type 0[xX]ED3E.*use prio 9876 dst 00:11:22:33:44:55.*index 1", 720 "matchCount": "1", 720 "matchCount": "1", 721 "teardown": [ 721 "teardown": [ 722 "$TC actions flush action ife" 722 "$TC actions flush action ife" 723 ] 723 ] 724 }, 724 }, 725 { 725 { 726 "id": "2353", 726 "id": "2353", 727 "name": "Create valid ife encode actio 727 "name": "Create valid ife encode action with mac src and mac dst parameters", 728 "category": [ 728 "category": [ 729 "actions", 729 "actions", 730 "ife" 730 "ife" 731 ], 731 ], 732 "plugins": { 732 "plugins": { 733 "requires": "nsPlugin" 733 "requires": "nsPlugin" 734 }, 734 }, 735 "setup": [ 735 "setup": [ 736 [ 736 [ 737 "$TC actions flush action ife" 737 "$TC actions flush action ife", 738 0, 738 0, 739 1, 739 1, 740 255 740 255 741 ] 741 ] 742 ], 742 ], 743 "cmdUnderTest": "$TC actions add actio 743 "cmdUnderTest": "$TC actions add action ife encode allow tcindex src 00:aa:bb:cc:dd:ee dst 00:11:22:33:44:55 pass index 11", 744 "expExitCode": "0", 744 "expExitCode": "0", 745 "verifyCmd": "$TC actions get action i 745 "verifyCmd": "$TC actions get action ife index 11", 746 "matchPattern": "action order [0-9]*: 746 "matchPattern": "action order [0-9]*: ife encode action pass.*type 0[xX]ED3E.*allow tcindex dst 00:11:22:33:44:55 src 00:aa:bb:cc:dd:ee .*index 11", 747 "matchCount": "1", 747 "matchCount": "1", 748 "teardown": [ 748 "teardown": [ 749 "$TC actions flush action ife" 749 "$TC actions flush action ife" 750 ] 750 ] 751 }, 751 }, 752 { 752 { 753 "id": "552c", 753 "id": "552c", 754 "name": "Create valid ife encode actio 754 "name": "Create valid ife encode action with mark and type parameters", 755 "category": [ 755 "category": [ 756 "actions", 756 "actions", 757 "ife" 757 "ife" 758 ], 758 ], 759 "plugins": { 759 "plugins": { 760 "requires": "nsPlugin" 760 "requires": "nsPlugin" 761 }, 761 }, 762 "setup": [ 762 "setup": [ 763 [ 763 [ 764 "$TC actions flush action ife" 764 "$TC actions flush action ife", 765 0, 765 0, 766 1, 766 1, 767 255 767 255 768 ] 768 ] 769 ], 769 ], 770 "cmdUnderTest": "$TC actions add actio 770 "cmdUnderTest": "$TC actions add action ife encode use mark 7 type 0xfefe pass index 1", 771 "expExitCode": "0", 771 "expExitCode": "0", 772 "verifyCmd": "$TC actions get action i 772 "verifyCmd": "$TC actions get action ife index 1", 773 "matchPattern": "action order [0-9]*: 773 "matchPattern": "action order [0-9]*: ife encode action pass.*type 0[xX]FEFE.*use mark 7.*index 1", 774 "matchCount": "1", 774 "matchCount": "1", 775 "teardown": [ 775 "teardown": [ 776 "$TC actions flush action ife" 776 "$TC actions flush action ife" 777 ] 777 ] 778 }, 778 }, 779 { 779 { 780 "id": "0421", 780 "id": "0421", 781 "name": "Create valid ife encode actio 781 "name": "Create valid ife encode action with prio and type parameters", 782 "category": [ 782 "category": [ 783 "actions", 783 "actions", 784 "ife" 784 "ife" 785 ], 785 ], 786 "plugins": { 786 "plugins": { 787 "requires": "nsPlugin" 787 "requires": "nsPlugin" 788 }, 788 }, 789 "setup": [ 789 "setup": [ 790 [ 790 [ 791 "$TC actions flush action ife" 791 "$TC actions flush action ife", 792 0, 792 0, 793 1, 793 1, 794 255 794 255 795 ] 795 ] 796 ], 796 ], 797 "cmdUnderTest": "$TC actions add actio 797 "cmdUnderTest": "$TC actions add action ife encode use prio 444 type 0xabba pipe index 21", 798 "expExitCode": "0", 798 "expExitCode": "0", 799 "verifyCmd": "$TC actions get action i 799 "verifyCmd": "$TC actions get action ife index 21", 800 "matchPattern": "action order [0-9]*: 800 "matchPattern": "action order [0-9]*: ife encode action pipe.*type 0[xX]ABBA.*use prio 444.*index 21", 801 "matchCount": "1", 801 "matchCount": "1", 802 "teardown": [ 802 "teardown": [ 803 "$TC actions flush action ife" 803 "$TC actions flush action ife" 804 ] 804 ] 805 }, 805 }, 806 { 806 { 807 "id": "4017", 807 "id": "4017", 808 "name": "Create valid ife encode actio 808 "name": "Create valid ife encode action with tcindex and type parameters", 809 "category": [ 809 "category": [ 810 "actions", 810 "actions", 811 "ife" 811 "ife" 812 ], 812 ], 813 "plugins": { 813 "plugins": { 814 "requires": "nsPlugin" 814 "requires": "nsPlugin" 815 }, 815 }, 816 "setup": [ 816 "setup": [ 817 [ 817 [ 818 "$TC actions flush action ife" 818 "$TC actions flush action ife", 819 0, 819 0, 820 1, 820 1, 821 255 821 255 822 ] 822 ] 823 ], 823 ], 824 "cmdUnderTest": "$TC actions add actio 824 "cmdUnderTest": "$TC actions add action ife encode use tcindex 5000 type 0xabcd reclassify index 21", 825 "expExitCode": "0", 825 "expExitCode": "0", 826 "verifyCmd": "$TC actions get action i 826 "verifyCmd": "$TC actions get action ife index 21", 827 "matchPattern": "action order [0-9]*: 827 "matchPattern": "action order [0-9]*: ife encode action reclassify.*type 0[xX]ABCD.*use tcindex 5000.*index 21", 828 "matchCount": "1", 828 "matchCount": "1", 829 "teardown": [ 829 "teardown": [ 830 "$TC actions flush action ife" 830 "$TC actions flush action ife" 831 ] 831 ] 832 }, 832 }, 833 { 833 { 834 "id": "fac3", 834 "id": "fac3", 835 "name": "Create valid ife encode actio 835 "name": "Create valid ife encode action with index at 32-bit maximum", 836 "category": [ 836 "category": [ 837 "actions", 837 "actions", 838 "ife" 838 "ife" 839 ], 839 ], 840 "plugins": { 840 "plugins": { 841 "requires": "nsPlugin" 841 "requires": "nsPlugin" 842 }, 842 }, 843 "setup": [ 843 "setup": [ 844 [ 844 [ 845 "$TC actions flush action ife" 845 "$TC actions flush action ife", 846 0, 846 0, 847 1, 847 1, 848 255 848 255 849 ] 849 ] 850 ], 850 ], 851 "cmdUnderTest": "$TC actions add actio 851 "cmdUnderTest": "$TC actions add action ife encode allow mark pass index 4294967295", 852 "expExitCode": "0", 852 "expExitCode": "0", 853 "verifyCmd": "$TC actions get action i 853 "verifyCmd": "$TC actions get action ife index 4294967295", 854 "matchPattern": "action order [0-9]*: 854 "matchPattern": "action order [0-9]*: ife encode action pass.*type 0[xX]ED3E.*allow mark.*index 4294967295", 855 "matchCount": "1", 855 "matchCount": "1", 856 "teardown": [ 856 "teardown": [ 857 "$TC actions flush action ife" 857 "$TC actions flush action ife" 858 ] 858 ] 859 }, 859 }, 860 { 860 { 861 "id": "7c25", 861 "id": "7c25", 862 "name": "Create valid ife decode actio 862 "name": "Create valid ife decode action with pass control", 863 "category": [ 863 "category": [ 864 "actions", 864 "actions", 865 "ife" 865 "ife" 866 ], 866 ], 867 "plugins": { 867 "plugins": { 868 "requires": "nsPlugin" 868 "requires": "nsPlugin" 869 }, 869 }, 870 "setup": [ 870 "setup": [ 871 [ 871 [ 872 "$TC actions flush action ife" 872 "$TC actions flush action ife", 873 0, 873 0, 874 1, 874 1, 875 255 875 255 876 ] 876 ] 877 ], 877 ], 878 "cmdUnderTest": "$TC actions add actio 878 "cmdUnderTest": "$TC actions add action ife decode pass index 1", 879 "expExitCode": "0", 879 "expExitCode": "0", 880 "verifyCmd": "$TC actions get action i 880 "verifyCmd": "$TC actions get action ife index 1", 881 "matchPattern": "action order [0-9]*: 881 "matchPattern": "action order [0-9]*: ife decode action pass.*type 0(x0)?.*allow mark allow tcindex allow prio.*index 1", 882 "matchCount": "1", 882 "matchCount": "1", 883 "teardown": [ 883 "teardown": [ 884 "$TC actions flush action ife" 884 "$TC actions flush action ife" 885 ] 885 ] 886 }, 886 }, 887 { 887 { 888 "id": "dccb", 888 "id": "dccb", 889 "name": "Create valid ife decode actio 889 "name": "Create valid ife decode action with pipe control", 890 "category": [ 890 "category": [ 891 "actions", 891 "actions", 892 "ife" 892 "ife" 893 ], 893 ], 894 "plugins": { 894 "plugins": { 895 "requires": "nsPlugin" 895 "requires": "nsPlugin" 896 }, 896 }, 897 "setup": [ 897 "setup": [ 898 [ 898 [ 899 "$TC actions flush action ife" 899 "$TC actions flush action ife", 900 0, 900 0, 901 1, 901 1, 902 255 902 255 903 ] 903 ] 904 ], 904 ], 905 "cmdUnderTest": "$TC actions add actio 905 "cmdUnderTest": "$TC actions add action ife decode pipe index 1", 906 "expExitCode": "0", 906 "expExitCode": "0", 907 "verifyCmd": "$TC actions get action i 907 "verifyCmd": "$TC actions get action ife index 1", 908 "matchPattern": "action order [0-9]*: 908 "matchPattern": "action order [0-9]*: ife decode action pipe.*type 0(x0)?.*allow mark allow tcindex allow prio.*index 1", 909 "matchCount": "1", 909 "matchCount": "1", 910 "teardown": [ 910 "teardown": [ 911 "$TC actions flush action ife" 911 "$TC actions flush action ife" 912 ] 912 ] 913 }, 913 }, 914 { 914 { 915 "id": "7bb9", 915 "id": "7bb9", 916 "name": "Create valid ife decode actio 916 "name": "Create valid ife decode action with continue control", 917 "category": [ 917 "category": [ 918 "actions", 918 "actions", 919 "ife" 919 "ife" 920 ], 920 ], 921 "plugins": { 921 "plugins": { 922 "requires": "nsPlugin" 922 "requires": "nsPlugin" 923 }, 923 }, 924 "setup": [ 924 "setup": [ 925 [ 925 [ 926 "$TC actions flush action ife" 926 "$TC actions flush action ife", 927 0, 927 0, 928 1, 928 1, 929 255 929 255 930 ] 930 ] 931 ], 931 ], 932 "cmdUnderTest": "$TC actions add actio 932 "cmdUnderTest": "$TC actions add action ife decode continue index 1", 933 "expExitCode": "0", 933 "expExitCode": "0", 934 "verifyCmd": "$TC actions get action i 934 "verifyCmd": "$TC actions get action ife index 1", 935 "matchPattern": "action order [0-9]*: 935 "matchPattern": "action order [0-9]*: ife decode action continue.*type 0(x0)?.*allow mark allow tcindex allow prio.*index 1", 936 "matchCount": "1", 936 "matchCount": "1", 937 "teardown": [ 937 "teardown": [ 938 "$TC actions flush action ife" 938 "$TC actions flush action ife" 939 ] 939 ] 940 }, 940 }, 941 { 941 { 942 "id": "d9ad", 942 "id": "d9ad", 943 "name": "Create valid ife decode actio 943 "name": "Create valid ife decode action with drop control", 944 "category": [ 944 "category": [ 945 "actions", 945 "actions", 946 "ife" 946 "ife" 947 ], 947 ], 948 "plugins": { 948 "plugins": { 949 "requires": "nsPlugin" 949 "requires": "nsPlugin" 950 }, 950 }, 951 "setup": [ 951 "setup": [ 952 [ 952 [ 953 "$TC actions flush action ife" 953 "$TC actions flush action ife", 954 0, 954 0, 955 1, 955 1, 956 255 956 255 957 ] 957 ] 958 ], 958 ], 959 "cmdUnderTest": "$TC actions add actio 959 "cmdUnderTest": "$TC actions add action ife decode drop index 1", 960 "expExitCode": "0", 960 "expExitCode": "0", 961 "verifyCmd": "$TC actions get action i 961 "verifyCmd": "$TC actions get action ife index 1", 962 "matchPattern": "action order [0-9]*: 962 "matchPattern": "action order [0-9]*: ife decode action drop.*type 0(x0)?.*allow mark allow tcindex allow prio.*index 1", 963 "matchCount": "1", 963 "matchCount": "1", 964 "teardown": [ 964 "teardown": [ 965 "$TC actions flush action ife" 965 "$TC actions flush action ife" 966 ] 966 ] 967 }, 967 }, 968 { 968 { 969 "id": "219f", 969 "id": "219f", 970 "name": "Create valid ife decode actio 970 "name": "Create valid ife decode action with reclassify control", 971 "category": [ 971 "category": [ 972 "actions", 972 "actions", 973 "ife" 973 "ife" 974 ], 974 ], 975 "plugins": { 975 "plugins": { 976 "requires": "nsPlugin" 976 "requires": "nsPlugin" 977 }, 977 }, 978 "setup": [ 978 "setup": [ 979 [ 979 [ 980 "$TC actions flush action ife" 980 "$TC actions flush action ife", 981 0, 981 0, 982 1, 982 1, 983 255 983 255 984 ] 984 ] 985 ], 985 ], 986 "cmdUnderTest": "$TC actions add actio 986 "cmdUnderTest": "$TC actions add action ife decode reclassify index 1", 987 "expExitCode": "0", 987 "expExitCode": "0", 988 "verifyCmd": "$TC actions get action i 988 "verifyCmd": "$TC actions get action ife index 1", 989 "matchPattern": "action order [0-9]*: 989 "matchPattern": "action order [0-9]*: ife decode action reclassify.*type 0(x0)?.*allow mark allow tcindex allow prio.*index 1", 990 "matchCount": "1", 990 "matchCount": "1", 991 "teardown": [ 991 "teardown": [ 992 "$TC actions flush action ife" 992 "$TC actions flush action ife" 993 ] 993 ] 994 }, 994 }, 995 { 995 { 996 "id": "8f44", 996 "id": "8f44", 997 "name": "Create valid ife decode actio 997 "name": "Create valid ife decode action with jump control", 998 "category": [ 998 "category": [ 999 "actions", 999 "actions", 1000 "ife" 1000 "ife" 1001 ], 1001 ], 1002 "plugins": { 1002 "plugins": { 1003 "requires": "nsPlugin" 1003 "requires": "nsPlugin" 1004 }, 1004 }, 1005 "setup": [ 1005 "setup": [ 1006 [ 1006 [ 1007 "$TC actions flush action ife 1007 "$TC actions flush action ife", 1008 0, 1008 0, 1009 1, 1009 1, 1010 255 1010 255 1011 ] 1011 ] 1012 ], 1012 ], 1013 "cmdUnderTest": "$TC actions add acti 1013 "cmdUnderTest": "$TC actions add action ife decode jump 10 index 1", 1014 "expExitCode": "0", 1014 "expExitCode": "0", 1015 "verifyCmd": "$TC actions get action 1015 "verifyCmd": "$TC actions get action ife index 1", 1016 "matchPattern": "action order [0-9]*: 1016 "matchPattern": "action order [0-9]*: ife decode action jump 10.*type 0(x0)?.*allow mark allow tcindex allow prio.*index 1", 1017 "matchCount": "1", 1017 "matchCount": "1", 1018 "teardown": [ 1018 "teardown": [ 1019 "$TC actions flush action ife" 1019 "$TC actions flush action ife" 1020 ] 1020 ] 1021 }, 1021 }, 1022 { 1022 { 1023 "id": "56cf", 1023 "id": "56cf", 1024 "name": "Create ife encode action wit 1024 "name": "Create ife encode action with index exceeding 32-bit maximum", 1025 "category": [ 1025 "category": [ 1026 "actions", 1026 "actions", 1027 "ife" 1027 "ife" 1028 ], 1028 ], 1029 "plugins": { 1029 "plugins": { 1030 "requires": "nsPlugin" 1030 "requires": "nsPlugin" 1031 }, 1031 }, 1032 "setup": [ 1032 "setup": [ 1033 [ 1033 [ 1034 "$TC actions flush action ife 1034 "$TC actions flush action ife", 1035 0, 1035 0, 1036 1, 1036 1, 1037 255 1037 255 1038 ] 1038 ] 1039 ], 1039 ], 1040 "cmdUnderTest": "$TC actions add acti 1040 "cmdUnderTest": "$TC actions add action ife encode allow mark pass index 4294967295999", 1041 "expExitCode": "255", 1041 "expExitCode": "255", 1042 "verifyCmd": "$TC actions get action 1042 "verifyCmd": "$TC actions get action ife index 4294967295999", 1043 "matchPattern": "action order [0-9]*: 1043 "matchPattern": "action order [0-9]*: ife encode action pass.*type 0[xX]ED3E.*allow mark.*index 4294967295999", 1044 "matchCount": "0", 1044 "matchCount": "0", 1045 "teardown": [] 1045 "teardown": [] 1046 }, 1046 }, 1047 { 1047 { 1048 "id": "ee94", 1048 "id": "ee94", 1049 "name": "Create ife encode action wit 1049 "name": "Create ife encode action with invalid control", 1050 "category": [ 1050 "category": [ 1051 "actions", 1051 "actions", 1052 "ife" 1052 "ife" 1053 ], 1053 ], 1054 "plugins": { 1054 "plugins": { 1055 "requires": "nsPlugin" 1055 "requires": "nsPlugin" 1056 }, 1056 }, 1057 "setup": [ 1057 "setup": [ 1058 [ 1058 [ 1059 "$TC actions flush action ife 1059 "$TC actions flush action ife", 1060 0, 1060 0, 1061 1, 1061 1, 1062 255 1062 255 1063 ] 1063 ] 1064 ], 1064 ], 1065 "cmdUnderTest": "$TC actions add acti 1065 "cmdUnderTest": "$TC actions add action ife encode allow mark kuka index 4", 1066 "expExitCode": "255", 1066 "expExitCode": "255", 1067 "verifyCmd": "$TC actions get action 1067 "verifyCmd": "$TC actions get action ife index 4", 1068 "matchPattern": "action order [0-9]*: 1068 "matchPattern": "action order [0-9]*: ife encode action kuka.*type 0[xX]ED3E.*allow mark.*index 4", 1069 "matchCount": "0", 1069 "matchCount": "0", 1070 "teardown": [] 1070 "teardown": [] 1071 }, 1071 }, 1072 { 1072 { 1073 "id": "b330", 1073 "id": "b330", 1074 "name": "Create ife encode action wit 1074 "name": "Create ife encode action with cookie", 1075 "category": [ 1075 "category": [ 1076 "actions", 1076 "actions", 1077 "ife" 1077 "ife" 1078 ], 1078 ], 1079 "plugins": { 1079 "plugins": { 1080 "requires": "nsPlugin" 1080 "requires": "nsPlugin" 1081 }, 1081 }, 1082 "setup": [ 1082 "setup": [ 1083 [ 1083 [ 1084 "$TC actions flush action ife 1084 "$TC actions flush action ife", 1085 0, 1085 0, 1086 1, 1086 1, 1087 255 1087 255 1088 ] 1088 ] 1089 ], 1089 ], 1090 "cmdUnderTest": "$TC actions add acti 1090 "cmdUnderTest": "$TC actions add action ife encode allow prio pipe index 4 cookie aabbccddeeff112233445566778800a1", 1091 "expExitCode": "0", 1091 "expExitCode": "0", 1092 "verifyCmd": "$TC actions get action 1092 "verifyCmd": "$TC actions get action ife index 4", 1093 "matchPattern": "action order [0-9]*: 1093 "matchPattern": "action order [0-9]*: ife encode action pipe.*type 0[xX]ED3E.*allow prio.*index 4.*cookie aabbccddeeff112233445566778800a1", 1094 "matchCount": "1", 1094 "matchCount": "1", 1095 "teardown": [ 1095 "teardown": [ 1096 "$TC actions flush action ife" 1096 "$TC actions flush action ife" 1097 ] 1097 ] 1098 }, 1098 }, 1099 { 1099 { 1100 "id": "bbc0", 1100 "id": "bbc0", 1101 "name": "Create ife encode action wit 1101 "name": "Create ife encode action with invalid argument", 1102 "category": [ 1102 "category": [ 1103 "actions", 1103 "actions", 1104 "ife" 1104 "ife" 1105 ], 1105 ], 1106 "plugins": { 1106 "plugins": { 1107 "requires": "nsPlugin" 1107 "requires": "nsPlugin" 1108 }, 1108 }, 1109 "setup": [ 1109 "setup": [ 1110 [ 1110 [ 1111 "$TC actions flush action ife 1111 "$TC actions flush action ife", 1112 0, 1112 0, 1113 1, 1113 1, 1114 255 1114 255 1115 ] 1115 ] 1116 ], 1116 ], 1117 "cmdUnderTest": "$TC actions add acti 1117 "cmdUnderTest": "$TC actions add action ife encode allow foo pipe index 4", 1118 "expExitCode": "255", 1118 "expExitCode": "255", 1119 "verifyCmd": "$TC actions get action 1119 "verifyCmd": "$TC actions get action ife index 4", 1120 "matchPattern": "action order [0-9]*: 1120 "matchPattern": "action order [0-9]*: ife encode action pipe.*type 0[xX]ED3E.*allow foo.*index 4", 1121 "matchCount": "0", 1121 "matchCount": "0", 1122 "teardown": [] 1122 "teardown": [] 1123 }, 1123 }, 1124 { 1124 { 1125 "id": "d54a", 1125 "id": "d54a", 1126 "name": "Create ife encode action wit 1126 "name": "Create ife encode action with invalid type argument", 1127 "category": [ 1127 "category": [ 1128 "actions", 1128 "actions", 1129 "ife" 1129 "ife" 1130 ], 1130 ], 1131 "plugins": { 1131 "plugins": { 1132 "requires": "nsPlugin" 1132 "requires": "nsPlugin" 1133 }, 1133 }, 1134 "setup": [ 1134 "setup": [ 1135 [ 1135 [ 1136 "$TC actions flush action ife 1136 "$TC actions flush action ife", 1137 0, 1137 0, 1138 1, 1138 1, 1139 255 1139 255 1140 ] 1140 ] 1141 ], 1141 ], 1142 "cmdUnderTest": "$TC actions add acti 1142 "cmdUnderTest": "$TC actions add action ife encode allow prio type 70000 pipe index 4", 1143 "expExitCode": "255", 1143 "expExitCode": "255", 1144 "verifyCmd": "$TC actions get action 1144 "verifyCmd": "$TC actions get action ife index 4", 1145 "matchPattern": "action order [0-9]*: 1145 "matchPattern": "action order [0-9]*: ife encode action pipe.*type 0[xX]11170.*allow prio.*index 4", 1146 "matchCount": "0", 1146 "matchCount": "0", 1147 "teardown": [] 1147 "teardown": [] 1148 }, 1148 }, 1149 { 1149 { 1150 "id": "7ee0", 1150 "id": "7ee0", 1151 "name": "Create ife encode action wit 1151 "name": "Create ife encode action with invalid mac src argument", 1152 "category": [ 1152 "category": [ 1153 "actions", 1153 "actions", 1154 "ife" 1154 "ife" 1155 ], 1155 ], 1156 "plugins": { 1156 "plugins": { 1157 "requires": "nsPlugin" 1157 "requires": "nsPlugin" 1158 }, 1158 }, 1159 "setup": [ 1159 "setup": [ 1160 [ 1160 [ 1161 "$TC actions flush action ife 1161 "$TC actions flush action ife", 1162 0, 1162 0, 1163 1, 1163 1, 1164 255 1164 255 1165 ] 1165 ] 1166 ], 1166 ], 1167 "cmdUnderTest": "$TC actions add acti 1167 "cmdUnderTest": "$TC actions add action ife encode allow prio src 00:11:22:33:44:pp pipe index 4", 1168 "expExitCode": "255", 1168 "expExitCode": "255", 1169 "verifyCmd": "$TC actions get action 1169 "verifyCmd": "$TC actions get action ife index 4", 1170 "matchPattern": "action order [0-9]*: 1170 "matchPattern": "action order [0-9]*: ife encode action pipe.*allow prio.*index 4", 1171 "matchCount": "0", 1171 "matchCount": "0", 1172 "teardown": [] 1172 "teardown": [] 1173 }, 1173 }, 1174 { 1174 { 1175 "id": "0a7d", 1175 "id": "0a7d", 1176 "name": "Create ife encode action wit 1176 "name": "Create ife encode action with invalid mac dst argument", 1177 "category": [ 1177 "category": [ 1178 "actions", 1178 "actions", 1179 "ife" 1179 "ife" 1180 ], 1180 ], 1181 "plugins": { 1181 "plugins": { 1182 "requires": "nsPlugin" 1182 "requires": "nsPlugin" 1183 }, 1183 }, 1184 "setup": [ 1184 "setup": [ 1185 [ 1185 [ 1186 "$TC actions flush action ife 1186 "$TC actions flush action ife", 1187 0, 1187 0, 1188 1, 1188 1, 1189 255 1189 255 1190 ] 1190 ] 1191 ], 1191 ], 1192 "cmdUnderTest": "$TC actions add acti 1192 "cmdUnderTest": "$TC actions add action ife encode allow prio dst 00.111-22:33:44:aa pipe index 4", 1193 "expExitCode": "255", 1193 "expExitCode": "255", 1194 "verifyCmd": "$TC actions get action 1194 "verifyCmd": "$TC actions get action ife index 4", 1195 "matchPattern": "action order [0-9]*: 1195 "matchPattern": "action order [0-9]*: ife encode action pipe.*allow prio.*index 4", 1196 "matchCount": "0", 1196 "matchCount": "0", 1197 "teardown": [] 1197 "teardown": [] 1198 }, 1198 }, 1199 { 1199 { 1200 "id": "a0e2", 1200 "id": "a0e2", 1201 "name": "Replace ife encode action wi 1201 "name": "Replace ife encode action with invalid goto chain control", 1202 "category": [ 1202 "category": [ 1203 "actions", 1203 "actions", 1204 "ife" 1204 "ife" 1205 ], 1205 ], 1206 "plugins": { 1206 "plugins": { 1207 "requires": "nsPlugin" 1207 "requires": "nsPlugin" 1208 }, 1208 }, 1209 "setup": [ 1209 "setup": [ 1210 [ 1210 [ 1211 "$TC actions flush action ife 1211 "$TC actions flush action ife", 1212 0, 1212 0, 1213 1, 1213 1, 1214 255 1214 255 1215 ], 1215 ], 1216 "$TC actions add action ife encod 1216 "$TC actions add action ife encode allow mark pass index 90" 1217 ], 1217 ], 1218 "cmdUnderTest": "$TC actions replace 1218 "cmdUnderTest": "$TC actions replace action ife encode allow mark goto chain 42 index 90 cookie c1a0c1a0", 1219 "expExitCode": "255", 1219 "expExitCode": "255", 1220 "verifyCmd": "$TC actions get action 1220 "verifyCmd": "$TC actions get action ife index 90", 1221 "matchPattern": "action order [0-9]*: 1221 "matchPattern": "action order [0-9]*: ife encode action pass.*type 0[xX]ED3E .*allow mark.*index 90 ref", 1222 "matchCount": "1", 1222 "matchCount": "1", 1223 "teardown": [ 1223 "teardown": [ 1224 "$TC actions flush action ife" 1224 "$TC actions flush action ife" 1225 ] 1225 ] 1226 }, 1226 }, 1227 { 1227 { 1228 "id": "a972", 1228 "id": "a972", 1229 "name": "Delete ife encode action wit 1229 "name": "Delete ife encode action with valid index", 1230 "category": [ 1230 "category": [ 1231 "actions", 1231 "actions", 1232 "ife" 1232 "ife" 1233 ], 1233 ], 1234 "plugins": { 1234 "plugins": { 1235 "requires": "nsPlugin" 1235 "requires": "nsPlugin" 1236 }, 1236 }, 1237 "setup": [ 1237 "setup": [ 1238 [ 1238 [ 1239 "$TC actions flush action ife 1239 "$TC actions flush action ife", 1240 0, 1240 0, 1241 1, 1241 1, 1242 255 1242 255 1243 ], 1243 ], 1244 "$TC actions add action ife encod 1244 "$TC actions add action ife encode allow mark pass index 20" 1245 ], 1245 ], 1246 "cmdUnderTest": "$TC actions del acti 1246 "cmdUnderTest": "$TC actions del action ife index 20", 1247 "expExitCode": "0", 1247 "expExitCode": "0", 1248 "verifyCmd": "$TC actions ls action i 1248 "verifyCmd": "$TC actions ls action ife index 20", 1249 "matchPattern": "action order [0-9]*: 1249 "matchPattern": "action order [0-9]*: ife encode action pass.*type 0[xX]ED3E.*allow mark.*index 20", 1250 "matchCount": "0", 1250 "matchCount": "0", 1251 "teardown": [ 1251 "teardown": [ 1252 "$TC actions flush action ife" 1252 "$TC actions flush action ife" 1253 ] 1253 ] 1254 }, 1254 }, 1255 { 1255 { 1256 "id": "1272", 1256 "id": "1272", 1257 "name": "Delete ife encode action wit 1257 "name": "Delete ife encode action with invalid index", 1258 "category": [ 1258 "category": [ 1259 "actions", 1259 "actions", 1260 "ife" 1260 "ife" 1261 ], 1261 ], 1262 "plugins": { 1262 "plugins": { 1263 "requires": "nsPlugin" 1263 "requires": "nsPlugin" 1264 }, 1264 }, 1265 "setup": [ 1265 "setup": [ 1266 [ 1266 [ 1267 "$TC actions flush action ife 1267 "$TC actions flush action ife", 1268 0, 1268 0, 1269 1, 1269 1, 1270 255 1270 255 1271 ], 1271 ], 1272 "$TC actions add action ife encod 1272 "$TC actions add action ife encode allow mark pass index 20" 1273 ], 1273 ], 1274 "cmdUnderTest": "$TC actions del acti 1274 "cmdUnderTest": "$TC actions del action ife index 10", 1275 "expExitCode": "255", 1275 "expExitCode": "255", 1276 "verifyCmd": "$TC actions ls action i 1276 "verifyCmd": "$TC actions ls action ife index 20", 1277 "matchPattern": "action order [0-9]*: 1277 "matchPattern": "action order [0-9]*: ife encode action pass.*type 0[xX]ED3E.*allow mark.*index 20", 1278 "matchCount": "1", 1278 "matchCount": "1", 1279 "teardown": [ 1279 "teardown": [ 1280 "$TC actions flush action ife" 1280 "$TC actions flush action ife" 1281 ] 1281 ] 1282 } 1282 } 1283 ] 1283 ]
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.