1 [ 2 { 3 "id": "e90e", 4 "name": "Add ETS qdisc using bands", 5 "category": [ 6 "qdisc", 7 "ets" 8 ], 9 "plugins": { 10 "requires": "nsPlugin" 11 }, 12 "setup": [ 13 ], 14 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root ets bands 2", 15 "expExitCode": "0", 16 "verifyCmd": "$TC qdisc show dev $DUMMY", 17 "matchPattern": "qdisc ets 1: root .* bands 2", 18 "matchCount": "1", 19 "teardown": [ 20 "$TC qdisc del dev $DUMMY handle 1: root" 21 ] 22 }, 23 { 24 "id": "b059", 25 "name": "Add ETS qdisc using quanta", 26 "category": [ 27 "qdisc", 28 "ets" 29 ], 30 "plugins": { 31 "requires": "nsPlugin" 32 }, 33 "setup": [ 34 ], 35 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root ets quanta 1000 900 800 700", 36 "expExitCode": "0", 37 "verifyCmd": "$TC qdisc show dev $DUMMY", 38 "matchPattern": "qdisc ets 1: root .*bands 4 quanta 1000 900 800 700", 39 "matchCount": "1", 40 "teardown": [ 41 "$TC qdisc del dev $DUMMY handle 1: root" 42 ] 43 }, 44 { 45 "id": "e8e7", 46 "name": "Add ETS qdisc using strict", 47 "category": [ 48 "qdisc", 49 "ets" 50 ], 51 "plugins": { 52 "requires": "nsPlugin" 53 }, 54 "setup": [ 55 ], 56 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root ets strict 3", 57 "expExitCode": "0", 58 "verifyCmd": "$TC qdisc show dev $DUMMY", 59 "matchPattern": "qdisc ets 1: root .*bands 3 strict 3", 60 "matchCount": "1", 61 "teardown": [ 62 "$TC qdisc del dev $DUMMY handle 1: root" 63 ] 64 }, 65 { 66 "id": "233c", 67 "name": "Add ETS qdisc using bands + quanta", 68 "category": [ 69 "qdisc", 70 "ets" 71 ], 72 "plugins": { 73 "requires": "nsPlugin" 74 }, 75 "setup": [ 76 ], 77 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root ets bands 4 quanta 1000 900 800 700", 78 "expExitCode": "0", 79 "verifyCmd": "$TC qdisc show dev $DUMMY", 80 "matchPattern": "qdisc ets 1: root .*bands 4 quanta 1000 900 800 700 priomap", 81 "matchCount": "1", 82 "teardown": [ 83 "$TC qdisc del dev $DUMMY handle 1: root" 84 ] 85 }, 86 { 87 "id": "3d35", 88 "name": "Add ETS qdisc using bands + strict", 89 "category": [ 90 "qdisc", 91 "ets" 92 ], 93 "plugins": { 94 "requires": "nsPlugin" 95 }, 96 "setup": [ 97 ], 98 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root ets bands 3 strict 3", 99 "expExitCode": "0", 100 "verifyCmd": "$TC qdisc show dev $DUMMY", 101 "matchPattern": "qdisc ets 1: root .*bands 3 strict 3 priomap", 102 "matchCount": "1", 103 "teardown": [ 104 "$TC qdisc del dev $DUMMY handle 1: root" 105 ] 106 }, 107 { 108 "id": "7f3b", 109 "name": "Add ETS qdisc using strict + quanta", 110 "category": [ 111 "qdisc", 112 "ets" 113 ], 114 "plugins": { 115 "requires": "nsPlugin" 116 }, 117 "setup": [ 118 ], 119 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root ets strict 3 quanta 1500 750", 120 "expExitCode": "0", 121 "verifyCmd": "$TC qdisc show dev $DUMMY", 122 "matchPattern": "qdisc ets 1: root .*bands 5 strict 3 quanta 1500 750 priomap", 123 "matchCount": "1", 124 "teardown": [ 125 "$TC qdisc del dev $DUMMY handle 1: root" 126 ] 127 }, 128 { 129 "id": "4593", 130 "name": "Add ETS qdisc using strict 0 + quanta", 131 "category": [ 132 "qdisc", 133 "ets" 134 ], 135 "plugins": { 136 "requires": "nsPlugin" 137 }, 138 "setup": [ 139 ], 140 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root ets strict 0 quanta 1500 750", 141 "expExitCode": "0", 142 "verifyCmd": "$TC qdisc show dev $DUMMY", 143 "matchPattern": "qdisc ets 1: root .*bands 2 quanta 1500 750 priomap", 144 "matchCount": "1", 145 "teardown": [ 146 "$TC qdisc del dev $DUMMY handle 1: root" 147 ] 148 }, 149 { 150 "id": "8938", 151 "name": "Add ETS qdisc using bands + strict + quanta", 152 "category": [ 153 "qdisc", 154 "ets" 155 ], 156 "plugins": { 157 "requires": "nsPlugin" 158 }, 159 "setup": [ 160 ], 161 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root ets bands 5 strict 3 quanta 1500 750", 162 "expExitCode": "0", 163 "verifyCmd": "$TC qdisc show dev $DUMMY", 164 "matchPattern": "qdisc ets 1: root .*bands 5 .*strict 3 quanta 1500 750 priomap", 165 "matchCount": "1", 166 "teardown": [ 167 "$TC qdisc del dev $DUMMY handle 1: root" 168 ] 169 }, 170 { 171 "id": "0782", 172 "name": "Add ETS qdisc with more bands than quanta", 173 "category": [ 174 "qdisc", 175 "ets" 176 ], 177 "plugins": { 178 "requires": "nsPlugin" 179 }, 180 "setup": [ 181 ], 182 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root ets bands 2 quanta 1000", 183 "expExitCode": "0", 184 "verifyCmd": "$TC qdisc show dev $DUMMY", 185 "matchPattern": "qdisc ets 1: root .*bands 2 .*quanta 1000 [1-9][0-9]* priomap", 186 "matchCount": "1", 187 "teardown": [ 188 "$TC qdisc del dev $DUMMY handle 1: root" 189 ] 190 }, 191 { 192 "id": "501b", 193 "name": "Add ETS qdisc with more bands than strict", 194 "category": [ 195 "qdisc", 196 "ets" 197 ], 198 "plugins": { 199 "requires": "nsPlugin" 200 }, 201 "setup": [ 202 ], 203 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root ets bands 3 strict 1", 204 "expExitCode": "0", 205 "verifyCmd": "$TC qdisc show dev $DUMMY", 206 "matchPattern": "qdisc ets 1: root .*bands 3 strict 1 quanta ([1-9][0-9]* ){2}priomap", 207 "matchCount": "1", 208 "teardown": [ 209 "$TC qdisc del dev $DUMMY handle 1: root" 210 ] 211 }, 212 { 213 "id": "671a", 214 "name": "Add ETS qdisc with more bands than strict + quanta", 215 "category": [ 216 "qdisc", 217 "ets" 218 ], 219 "plugins": { 220 "requires": "nsPlugin" 221 }, 222 "setup": [ 223 ], 224 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root ets bands 3 strict 1 quanta 1000", 225 "expExitCode": "0", 226 "verifyCmd": "$TC qdisc show dev $DUMMY", 227 "matchPattern": "qdisc ets 1: root .*bands 3 strict 1 quanta 1000 [1-9][0-9]* priomap", 228 "matchCount": "1", 229 "teardown": [ 230 "$TC qdisc del dev $DUMMY handle 1: root" 231 ] 232 }, 233 { 234 "id": "2a23", 235 "name": "Add ETS qdisc with 16 bands", 236 "category": [ 237 "qdisc", 238 "ets" 239 ], 240 "plugins": { 241 "requires": "nsPlugin" 242 }, 243 "setup": [ 244 ], 245 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root ets bands 16", 246 "expExitCode": "0", 247 "verifyCmd": "$TC qdisc show dev $DUMMY", 248 "matchPattern": "qdisc ets 1: root .* bands 16", 249 "matchCount": "1", 250 "teardown": [ 251 "$TC qdisc del dev $DUMMY handle 1: root" 252 ] 253 }, 254 { 255 "id": "8daf", 256 "name": "Add ETS qdisc with 17 bands", 257 "category": [ 258 "qdisc", 259 "ets" 260 ], 261 "plugins": { 262 "requires": "nsPlugin" 263 }, 264 "setup": [ 265 ], 266 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root ets bands 17", 267 "expExitCode": "1", 268 "verifyCmd": "$TC qdisc show dev $DUMMY", 269 "matchPattern": "qdisc ets", 270 "matchCount": "0", 271 "teardown": [ 272 ] 273 }, 274 { 275 "id": "7f95", 276 "name": "Add ETS qdisc with 17 strict", 277 "category": [ 278 "qdisc", 279 "ets" 280 ], 281 "plugins": { 282 "requires": "nsPlugin" 283 }, 284 "setup": [ 285 ], 286 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root ets strict 17", 287 "expExitCode": "1", 288 "verifyCmd": "$TC qdisc show dev $DUMMY", 289 "matchPattern": "qdisc ets", 290 "matchCount": "0", 291 "teardown": [ 292 ] 293 }, 294 { 295 "id": "837a", 296 "name": "Add ETS qdisc with 16 quanta", 297 "category": [ 298 "qdisc", 299 "ets" 300 ], 301 "plugins": { 302 "requires": "nsPlugin" 303 }, 304 "setup": [ 305 ], 306 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root ets quanta 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16", 307 "expExitCode": "0", 308 "verifyCmd": "$TC qdisc show dev $DUMMY", 309 "matchPattern": "qdisc ets 1: root .* bands 16", 310 "matchCount": "1", 311 "teardown": [ 312 "$TC qdisc del dev $DUMMY handle 1: root" 313 ] 314 }, 315 { 316 "id": "65b6", 317 "name": "Add ETS qdisc with 17 quanta", 318 "category": [ 319 "qdisc", 320 "ets" 321 ], 322 "plugins": { 323 "requires": "nsPlugin" 324 }, 325 "setup": [ 326 ], 327 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root ets quanta 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17", 328 "expExitCode": "2", 329 "verifyCmd": "$TC qdisc show dev $DUMMY", 330 "matchPattern": "qdisc ets", 331 "matchCount": "0", 332 "teardown": [ 333 ] 334 }, 335 { 336 "id": "b9e9", 337 "name": "Add ETS qdisc with 16 strict + quanta", 338 "category": [ 339 "qdisc", 340 "ets" 341 ], 342 "plugins": { 343 "requires": "nsPlugin" 344 }, 345 "setup": [ 346 ], 347 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root ets strict 8 quanta 1 2 3 4 5 6 7 8", 348 "expExitCode": "0", 349 "verifyCmd": "$TC qdisc show dev $DUMMY", 350 "matchPattern": "qdisc ets 1: root .* bands 16", 351 "matchCount": "1", 352 "teardown": [ 353 "$TC qdisc del dev $DUMMY handle 1: root" 354 ] 355 }, 356 { 357 "id": "9877", 358 "name": "Add ETS qdisc with 17 strict + quanta", 359 "category": [ 360 "qdisc", 361 "ets" 362 ], 363 "plugins": { 364 "requires": "nsPlugin" 365 }, 366 "setup": [ 367 ], 368 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root ets strict 9 quanta 1 2 3 4 5 6 7 8", 369 "expExitCode": "2", 370 "verifyCmd": "$TC qdisc show dev $DUMMY", 371 "matchPattern": "qdisc ets", 372 "matchCount": "0", 373 "teardown": [ 374 ] 375 }, 376 { 377 "id": "c696", 378 "name": "Add ETS qdisc with priomap", 379 "category": [ 380 "qdisc", 381 "ets" 382 ], 383 "plugins": { 384 "requires": "nsPlugin" 385 }, 386 "setup": [ 387 ], 388 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root ets bands 5 priomap 0 0 1 0 1 2 0 1 2 3 0 1 2 3 4 0", 389 "expExitCode": "0", 390 "verifyCmd": "$TC qdisc show dev $DUMMY", 391 "matchPattern": "qdisc ets 1: root .*priomap 0 0 1 0 1 2 0 1 2 3 0 1 2 3 4 0", 392 "matchCount": "1", 393 "teardown": [ 394 "$TC qdisc del dev $DUMMY handle 1: root" 395 ] 396 }, 397 { 398 "id": "30c4", 399 "name": "Add ETS qdisc with quanta + priomap", 400 "category": [ 401 "qdisc", 402 "ets" 403 ], 404 "plugins": { 405 "requires": "nsPlugin" 406 }, 407 "setup": [ 408 ], 409 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root ets quanta 1000 2000 3000 4000 5000 priomap 0 0 1 0 1 2 0 1 2 3 0 1 2 3 4 0", 410 "expExitCode": "0", 411 "verifyCmd": "$TC qdisc show dev $DUMMY", 412 "matchPattern": "qdisc ets 1: root .*quanta 1000 2000 3000 4000 5000 priomap 0 0 1 0 1 2 0 1 2 3 0 1 2 3 4 0", 413 "matchCount": "1", 414 "teardown": [ 415 "$TC qdisc del dev $DUMMY handle 1: root" 416 ] 417 }, 418 { 419 "id": "e8ac", 420 "name": "Add ETS qdisc with strict + priomap", 421 "category": [ 422 "qdisc", 423 "ets" 424 ], 425 "plugins": { 426 "requires": "nsPlugin" 427 }, 428 "setup": [ 429 ], 430 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root ets strict 5 priomap 0 0 1 0 1 2 0 1 2 3 0 1 2 3 4 0", 431 "expExitCode": "0", 432 "verifyCmd": "$TC qdisc show dev $DUMMY", 433 "matchPattern": "qdisc ets 1: root .*bands 5 strict 5 priomap 0 0 1 0 1 2 0 1 2 3 0 1 2 3 4 0", 434 "matchCount": "1", 435 "teardown": [ 436 "$TC qdisc del dev $DUMMY handle 1: root" 437 ] 438 }, 439 { 440 "id": "5a7e", 441 "name": "Add ETS qdisc with quanta + strict + priomap", 442 "category": [ 443 "qdisc", 444 "ets" 445 ], 446 "plugins": { 447 "requires": "nsPlugin" 448 }, 449 "setup": [ 450 ], 451 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root ets strict 2 quanta 1000 2000 3000 priomap 0 0 1 0 1 2 0 1 2 3 0 1 2 3 4 0", 452 "expExitCode": "0", 453 "verifyCmd": "$TC qdisc show dev $DUMMY", 454 "matchPattern": "qdisc ets 1: root .*strict 2 quanta 1000 2000 3000 priomap 0 0 1 0 1 2 0 1 2 3 0 1 2 3 4 0", 455 "matchCount": "1", 456 "teardown": [ 457 "$TC qdisc del dev $DUMMY handle 1: root" 458 ] 459 }, 460 { 461 "id": "cb8b", 462 "name": "Show ETS class :1", 463 "category": [ 464 "qdisc", 465 "ets" 466 ], 467 "plugins": { 468 "requires": "nsPlugin" 469 }, 470 "setup": [ 471 ], 472 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root ets quanta 4000 3000 2000", 473 "expExitCode": "0", 474 "verifyCmd": "$TC class show dev $DUMMY classid 1:1", 475 "matchPattern": "class ets 1:1 root quantum 4000", 476 "matchCount": "1", 477 "teardown": [ 478 "$TC qdisc del dev $DUMMY handle 1: root" 479 ] 480 }, 481 { 482 "id": "1b4e", 483 "name": "Show ETS class :2", 484 "category": [ 485 "qdisc", 486 "ets" 487 ], 488 "plugins": { 489 "requires": "nsPlugin" 490 }, 491 "setup": [ 492 ], 493 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root ets quanta 4000 3000 2000", 494 "expExitCode": "0", 495 "verifyCmd": "$TC class show dev $DUMMY classid 1:2", 496 "matchPattern": "class ets 1:2 root quantum 3000", 497 "matchCount": "1", 498 "teardown": [ 499 "$TC qdisc del dev $DUMMY handle 1: root" 500 ] 501 }, 502 { 503 "id": "f642", 504 "name": "Show ETS class :3", 505 "category": [ 506 "qdisc", 507 "ets" 508 ], 509 "plugins": { 510 "requires": "nsPlugin" 511 }, 512 "setup": [ 513 ], 514 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root ets quanta 4000 3000 2000", 515 "expExitCode": "0", 516 "verifyCmd": "$TC class show dev $DUMMY classid 1:3", 517 "matchPattern": "class ets 1:3 root quantum 2000", 518 "matchCount": "1", 519 "teardown": [ 520 "$TC qdisc del dev $DUMMY handle 1: root" 521 ] 522 }, 523 { 524 "id": "0a5f", 525 "name": "Show ETS strict class", 526 "category": [ 527 "qdisc", 528 "ets" 529 ], 530 "plugins": { 531 "requires": "nsPlugin" 532 }, 533 "setup": [ 534 ], 535 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root ets strict 3", 536 "expExitCode": "0", 537 "verifyCmd": "$TC class show dev $DUMMY classid 1:1", 538 "matchPattern": "class ets 1:1 root $", 539 "matchCount": "1", 540 "teardown": [ 541 "$TC qdisc del dev $DUMMY handle 1: root" 542 ] 543 }, 544 { 545 "id": "f7c8", 546 "name": "Add ETS qdisc with too many quanta", 547 "category": [ 548 "qdisc", 549 "ets" 550 ], 551 "plugins": { 552 "requires": "nsPlugin" 553 }, 554 "setup": [ 555 ], 556 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root ets bands 2 quanta 1000 2000 3000", 557 "expExitCode": "1", 558 "verifyCmd": "$TC qdisc show dev $DUMMY", 559 "matchPattern": "qdisc ets", 560 "matchCount": "0", 561 "teardown": [ 562 ] 563 }, 564 { 565 "id": "2389", 566 "name": "Add ETS qdisc with too many strict", 567 "category": [ 568 "qdisc", 569 "ets" 570 ], 571 "plugins": { 572 "requires": "nsPlugin" 573 }, 574 "setup": [ 575 ], 576 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root ets bands 2 strict 3", 577 "expExitCode": "1", 578 "verifyCmd": "$TC qdisc show dev $DUMMY", 579 "matchPattern": "qdisc ets", 580 "matchCount": "0", 581 "teardown": [ 582 ] 583 }, 584 { 585 "id": "fe3c", 586 "name": "Add ETS qdisc with too many strict + quanta", 587 "category": [ 588 "qdisc", 589 "ets" 590 ], 591 "plugins": { 592 "requires": "nsPlugin" 593 }, 594 "setup": [ 595 ], 596 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root ets bands 4 strict 2 quanta 1000 2000 3000", 597 "expExitCode": "1", 598 "verifyCmd": "$TC qdisc show dev $DUMMY", 599 "matchPattern": "qdisc ets", 600 "matchCount": "0", 601 "teardown": [ 602 ] 603 }, 604 { 605 "id": "cb04", 606 "name": "Add ETS qdisc with excess priomap elements", 607 "category": [ 608 "qdisc", 609 "ets" 610 ], 611 "plugins": { 612 "requires": "nsPlugin" 613 }, 614 "setup": [ 615 ], 616 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root ets bands 5 priomap 0 0 1 0 1 2 0 1 2 3 0 1 2 3 4 0 1 2", 617 "expExitCode": "1", 618 "verifyCmd": "$TC qdisc show dev $DUMMY", 619 "matchPattern": "qdisc ets", 620 "matchCount": "0", 621 "teardown": [ 622 ] 623 }, 624 { 625 "id": "c32e", 626 "name": "Add ETS qdisc with priomap above bands", 627 "category": [ 628 "qdisc", 629 "ets" 630 ], 631 "plugins": { 632 "requires": "nsPlugin" 633 }, 634 "setup": [ 635 ], 636 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root ets bands 2 priomap 0 1 2", 637 "expExitCode": "1", 638 "verifyCmd": "$TC qdisc show dev $DUMMY", 639 "matchPattern": "qdisc ets", 640 "matchCount": "0", 641 "teardown": [ 642 ] 643 }, 644 { 645 "id": "744c", 646 "name": "Add ETS qdisc with priomap above quanta", 647 "category": [ 648 "qdisc", 649 "ets" 650 ], 651 "plugins": { 652 "requires": "nsPlugin" 653 }, 654 "setup": [ 655 ], 656 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root ets quanta 1000 500 priomap 0 1 2", 657 "expExitCode": "1", 658 "verifyCmd": "$TC qdisc show dev $DUMMY", 659 "matchPattern": "qdisc ets", 660 "matchCount": "0", 661 "teardown": [ 662 ] 663 }, 664 { 665 "id": "7b33", 666 "name": "Add ETS qdisc with priomap above strict", 667 "category": [ 668 "qdisc", 669 "ets" 670 ], 671 "plugins": { 672 "requires": "nsPlugin" 673 }, 674 "setup": [ 675 ], 676 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root ets strict 2 priomap 0 1 2", 677 "expExitCode": "1", 678 "verifyCmd": "$TC qdisc show dev $DUMMY", 679 "matchPattern": "qdisc ets", 680 "matchCount": "0", 681 "teardown": [ 682 ] 683 }, 684 { 685 "id": "dbe6", 686 "name": "Add ETS qdisc with priomap above strict + quanta", 687 "category": [ 688 "qdisc", 689 "ets" 690 ], 691 "plugins": { 692 "requires": "nsPlugin" 693 }, 694 "setup": [ 695 ], 696 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root ets strict 1 quanta 1000 500 priomap 0 1 2 3", 697 "expExitCode": "1", 698 "verifyCmd": "$TC qdisc show dev $DUMMY", 699 "matchPattern": "qdisc ets", 700 "matchCount": "0", 701 "teardown": [ 702 ] 703 }, 704 { 705 "id": "bdb2", 706 "name": "Add ETS qdisc with priomap within bands with strict + quanta", 707 "category": [ 708 "qdisc", 709 "ets" 710 ], 711 "plugins": { 712 "requires": "nsPlugin" 713 }, 714 "setup": [ 715 ], 716 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root ets bands 4 strict 1 quanta 1000 500 priomap 0 1 2 3", 717 "expExitCode": "0", 718 "verifyCmd": "$TC qdisc show dev $DUMMY", 719 "matchPattern": "qdisc ets", 720 "matchCount": "1", 721 "teardown": [ 722 ] 723 }, 724 { 725 "id": "39a3", 726 "name": "Add ETS qdisc with priomap above bands with strict + quanta", 727 "category": [ 728 "qdisc", 729 "ets" 730 ], 731 "plugins": { 732 "requires": "nsPlugin" 733 }, 734 "setup": [ 735 ], 736 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root ets bands 4 strict 1 quanta 1000 500 priomap 0 1 2 3 4", 737 "expExitCode": "1", 738 "verifyCmd": "$TC qdisc show dev $DUMMY", 739 "matchPattern": "qdisc ets", 740 "matchCount": "0", 741 "teardown": [ 742 ] 743 }, 744 { 745 "id": "557c", 746 "name": "Unset priorities default to the last band", 747 "category": [ 748 "qdisc", 749 "ets" 750 ], 751 "plugins": { 752 "requires": "nsPlugin" 753 }, 754 "setup": [ 755 ], 756 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root ets bands 4 priomap 0 0 0 0", 757 "expExitCode": "0", 758 "verifyCmd": "$TC qdisc show dev $DUMMY", 759 "matchPattern": "qdisc ets .*priomap 0 0 0 0 3 3 3 3 3 3 3 3 3 3 3 3", 760 "matchCount": "1", 761 "teardown": [ 762 ] 763 }, 764 { 765 "id": "a347", 766 "name": "Unset priorities default to the last band -- no priomap", 767 "category": [ 768 "qdisc", 769 "ets" 770 ], 771 "plugins": { 772 "requires": "nsPlugin" 773 }, 774 "setup": [ 775 ], 776 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root ets bands 4", 777 "expExitCode": "0", 778 "verifyCmd": "$TC qdisc show dev $DUMMY", 779 "matchPattern": "qdisc ets .*priomap 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3", 780 "matchCount": "1", 781 "teardown": [ 782 ] 783 }, 784 { 785 "id": "39c4", 786 "name": "Add ETS qdisc with too few bands", 787 "category": [ 788 "qdisc", 789 "ets" 790 ], 791 "plugins": { 792 "requires": "nsPlugin" 793 }, 794 "setup": [ 795 ], 796 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root ets bands 0", 797 "expExitCode": "1", 798 "verifyCmd": "$TC qdisc show dev $DUMMY", 799 "matchPattern": "qdisc ets", 800 "matchCount": "0", 801 "teardown": [ 802 ] 803 }, 804 { 805 "id": "930b", 806 "name": "Add ETS qdisc with too many bands", 807 "category": [ 808 "qdisc", 809 "ets" 810 ], 811 "plugins": { 812 "requires": "nsPlugin" 813 }, 814 "setup": [ 815 ], 816 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root ets bands 17", 817 "expExitCode": "1", 818 "verifyCmd": "$TC qdisc show dev $DUMMY", 819 "matchPattern": "qdisc ets", 820 "matchCount": "0", 821 "teardown": [ 822 ] 823 }, 824 { 825 "id": "406a", 826 "name": "Add ETS qdisc without parameters", 827 "category": [ 828 "qdisc", 829 "ets" 830 ], 831 "plugins": { 832 "requires": "nsPlugin" 833 }, 834 "setup": [ 835 ], 836 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root ets", 837 "expExitCode": "1", 838 "verifyCmd": "$TC qdisc show dev $DUMMY", 839 "matchPattern": "qdisc ets", 840 "matchCount": "0", 841 "teardown": [ 842 ] 843 }, 844 { 845 "id": "e51a", 846 "name": "Zero element in quanta", 847 "category": [ 848 "qdisc", 849 "ets" 850 ], 851 "plugins": { 852 "requires": "nsPlugin" 853 }, 854 "setup": [ 855 ], 856 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root ets quanta 1000 0 800 700", 857 "expExitCode": "1", 858 "verifyCmd": "$TC qdisc show dev $DUMMY", 859 "matchPattern": "qdisc ets", 860 "matchCount": "0", 861 "teardown": [ 862 ] 863 }, 864 { 865 "id": "e7f2", 866 "name": "Sole zero element in quanta", 867 "category": [ 868 "qdisc", 869 "ets" 870 ], 871 "plugins": { 872 "requires": "nsPlugin" 873 }, 874 "setup": [ 875 ], 876 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root ets quanta 0", 877 "expExitCode": "1", 878 "verifyCmd": "$TC qdisc show dev $DUMMY", 879 "matchPattern": "qdisc ets", 880 "matchCount": "0", 881 "teardown": [ 882 ] 883 }, 884 { 885 "id": "d6e6", 886 "name": "No values after the quanta keyword", 887 "category": [ 888 "qdisc", 889 "ets" 890 ], 891 "plugins": { 892 "requires": "nsPlugin" 893 }, 894 "setup": [ 895 ], 896 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root ets quanta", 897 "expExitCode": "255", 898 "verifyCmd": "$TC qdisc show dev $DUMMY", 899 "matchPattern": "qdisc ets", 900 "matchCount": "0", 901 "teardown": [ 902 ] 903 }, 904 { 905 "id": "28c6", 906 "name": "Change ETS band quantum", 907 "category": [ 908 "qdisc", 909 "ets" 910 ], 911 "plugins": { 912 "requires": "nsPlugin" 913 }, 914 "setup": [ 915 "$TC qdisc add dev $DUMMY handle 1: root ets quanta 1000 2000 3000" 916 ], 917 "cmdUnderTest": "$TC class change dev $DUMMY classid 1:1 ets quantum 1500", 918 "expExitCode": "0", 919 "verifyCmd": "$TC qdisc show dev $DUMMY", 920 "matchPattern": "qdisc ets 1: root .*quanta 1500 2000 3000 priomap ", 921 "matchCount": "1", 922 "teardown": [ 923 ] 924 }, 925 { 926 "id": "4714", 927 "name": "Change ETS band without quantum", 928 "category": [ 929 "qdisc", 930 "ets" 931 ], 932 "plugins": { 933 "requires": "nsPlugin" 934 }, 935 "setup": [ 936 "$TC qdisc add dev $DUMMY handle 1: root ets quanta 1000 2000 3000" 937 ], 938 "cmdUnderTest": "$TC class change dev $DUMMY classid 1:1 ets", 939 "expExitCode": "0", 940 "verifyCmd": "$TC qdisc show dev $DUMMY", 941 "matchPattern": "qdisc ets 1: root .*quanta 1000 2000 3000 priomap ", 942 "matchCount": "1", 943 "teardown": [ 944 ] 945 }, 946 { 947 "id": "6979", 948 "name": "Change quantum of a strict ETS band", 949 "category": [ 950 "qdisc", 951 "ets" 952 ], 953 "plugins": { 954 "requires": "nsPlugin" 955 }, 956 "setup": [ 957 "$TC qdisc add dev $DUMMY handle 1: root ets strict 5" 958 ], 959 "cmdUnderTest": "$TC class change dev $DUMMY classid 1:2 ets quantum 1500", 960 "expExitCode": "2", 961 "verifyCmd": "$TC qdisc show dev $DUMMY", 962 "matchPattern": "qdisc ets .*bands 5 .*strict 5", 963 "matchCount": "1", 964 "teardown": [ 965 ] 966 }, 967 { 968 "id": "9a7d", 969 "name": "Change ETS strict band without quantum", 970 "category": [ 971 "qdisc", 972 "ets" 973 ], 974 "plugins": { 975 "requires": "nsPlugin" 976 }, 977 "setup": [ 978 "$TC qdisc add dev $DUMMY handle 1: root ets strict 5" 979 ], 980 "cmdUnderTest": "$TC class change dev $DUMMY classid 1:2 ets", 981 "expExitCode": "0", 982 "verifyCmd": "$TC qdisc show dev $DUMMY", 983 "matchPattern": "qdisc ets .*bands 5 .*strict 5", 984 "matchCount": "1", 985 "teardown": [ 986 ] 987 } 988 ]
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.