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