1*965a25e3SZhengchao Shao[ 2*965a25e3SZhengchao Shao { 3*965a25e3SZhengchao Shao "id": "4957", 4*965a25e3SZhengchao Shao "name": "Create FQ_CODEL with default setting", 5*965a25e3SZhengchao Shao "category": [ 6*965a25e3SZhengchao Shao "qdisc", 7*965a25e3SZhengchao Shao "fq_codel" 8*965a25e3SZhengchao Shao ], 9*965a25e3SZhengchao Shao "plugins": { 10*965a25e3SZhengchao Shao "requires": "nsPlugin" 11*965a25e3SZhengchao Shao }, 12*965a25e3SZhengchao Shao "setup": [ 13*965a25e3SZhengchao Shao "$IP link add dev $DUMMY type dummy || /bin/true" 14*965a25e3SZhengchao Shao ], 15*965a25e3SZhengchao Shao "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root fq_codel", 16*965a25e3SZhengchao Shao "expExitCode": "0", 17*965a25e3SZhengchao Shao "verifyCmd": "$TC qdisc show dev $DUMMY", 18*965a25e3SZhengchao Shao "matchPattern": "qdisc fq_codel 1: root refcnt [0-9]+ limit 10240p flows 1024 quantum.*target 5ms interval 100ms memory_limit 32Mb ecn drop_batch 64", 19*965a25e3SZhengchao Shao "matchCount": "1", 20*965a25e3SZhengchao Shao "teardown": [ 21*965a25e3SZhengchao Shao "$TC qdisc del dev $DUMMY handle 1: root", 22*965a25e3SZhengchao Shao "$IP link del dev $DUMMY type dummy" 23*965a25e3SZhengchao Shao ] 24*965a25e3SZhengchao Shao }, 25*965a25e3SZhengchao Shao { 26*965a25e3SZhengchao Shao "id": "7621", 27*965a25e3SZhengchao Shao "name": "Create FQ_CODEL with limit setting", 28*965a25e3SZhengchao Shao "category": [ 29*965a25e3SZhengchao Shao "qdisc", 30*965a25e3SZhengchao Shao "fq_codel" 31*965a25e3SZhengchao Shao ], 32*965a25e3SZhengchao Shao "plugins": { 33*965a25e3SZhengchao Shao "requires": "nsPlugin" 34*965a25e3SZhengchao Shao }, 35*965a25e3SZhengchao Shao "setup": [ 36*965a25e3SZhengchao Shao "$IP link add dev $DUMMY type dummy || /bin/true" 37*965a25e3SZhengchao Shao ], 38*965a25e3SZhengchao Shao "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root fq_codel limit 1000", 39*965a25e3SZhengchao Shao "expExitCode": "0", 40*965a25e3SZhengchao Shao "verifyCmd": "$TC qdisc show dev $DUMMY", 41*965a25e3SZhengchao Shao "matchPattern": "qdisc fq_codel 1: root refcnt [0-9]+ limit 1000p flows 1024 quantum.*target 5ms interval 100ms memory_limit 32Mb ecn drop_batch 64", 42*965a25e3SZhengchao Shao "matchCount": "1", 43*965a25e3SZhengchao Shao "teardown": [ 44*965a25e3SZhengchao Shao "$TC qdisc del dev $DUMMY handle 1: root", 45*965a25e3SZhengchao Shao "$IP link del dev $DUMMY type dummy" 46*965a25e3SZhengchao Shao ] 47*965a25e3SZhengchao Shao }, 48*965a25e3SZhengchao Shao { 49*965a25e3SZhengchao Shao "id": "6871", 50*965a25e3SZhengchao Shao "name": "Create FQ_CODEL with memory_limit setting", 51*965a25e3SZhengchao Shao "category": [ 52*965a25e3SZhengchao Shao "qdisc", 53*965a25e3SZhengchao Shao "fq_codel" 54*965a25e3SZhengchao Shao ], 55*965a25e3SZhengchao Shao "plugins": { 56*965a25e3SZhengchao Shao "requires": "nsPlugin" 57*965a25e3SZhengchao Shao }, 58*965a25e3SZhengchao Shao "setup": [ 59*965a25e3SZhengchao Shao "$IP link add dev $DUMMY type dummy || /bin/true" 60*965a25e3SZhengchao Shao ], 61*965a25e3SZhengchao Shao "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root fq_codel memory_limit 100000", 62*965a25e3SZhengchao Shao "expExitCode": "0", 63*965a25e3SZhengchao Shao "verifyCmd": "$TC qdisc show dev $DUMMY", 64*965a25e3SZhengchao Shao "matchPattern": "qdisc fq_codel 1: root refcnt [0-9]+ limit 10240p flows 1024 quantum.*target 5ms interval 100ms memory_limit 100000b ecn drop_batch 64", 65*965a25e3SZhengchao Shao "matchCount": "1", 66*965a25e3SZhengchao Shao "teardown": [ 67*965a25e3SZhengchao Shao "$TC qdisc del dev $DUMMY handle 1: root", 68*965a25e3SZhengchao Shao "$IP link del dev $DUMMY type dummy" 69*965a25e3SZhengchao Shao ] 70*965a25e3SZhengchao Shao }, 71*965a25e3SZhengchao Shao { 72*965a25e3SZhengchao Shao "id": "5636", 73*965a25e3SZhengchao Shao "name": "Create FQ_CODEL with target setting", 74*965a25e3SZhengchao Shao "category": [ 75*965a25e3SZhengchao Shao "qdisc", 76*965a25e3SZhengchao Shao "fq_codel" 77*965a25e3SZhengchao Shao ], 78*965a25e3SZhengchao Shao "plugins": { 79*965a25e3SZhengchao Shao "requires": "nsPlugin" 80*965a25e3SZhengchao Shao }, 81*965a25e3SZhengchao Shao "setup": [ 82*965a25e3SZhengchao Shao "$IP link add dev $DUMMY type dummy || /bin/true" 83*965a25e3SZhengchao Shao ], 84*965a25e3SZhengchao Shao "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root fq_codel target 2000", 85*965a25e3SZhengchao Shao "expExitCode": "0", 86*965a25e3SZhengchao Shao "verifyCmd": "$TC qdisc show dev $DUMMY", 87*965a25e3SZhengchao Shao "matchPattern": "qdisc fq_codel 1: root refcnt [0-9]+ limit 10240p flows 1024 quantum.*target 2ms interval 100ms memory_limit 32Mb ecn drop_batch 64", 88*965a25e3SZhengchao Shao "matchCount": "1", 89*965a25e3SZhengchao Shao "teardown": [ 90*965a25e3SZhengchao Shao "$TC qdisc del dev $DUMMY handle 1: root", 91*965a25e3SZhengchao Shao "$IP link del dev $DUMMY type dummy" 92*965a25e3SZhengchao Shao ] 93*965a25e3SZhengchao Shao }, 94*965a25e3SZhengchao Shao { 95*965a25e3SZhengchao Shao "id": "630a", 96*965a25e3SZhengchao Shao "name": "Create FQ_CODEL with interval setting", 97*965a25e3SZhengchao Shao "category": [ 98*965a25e3SZhengchao Shao "qdisc", 99*965a25e3SZhengchao Shao "fq_codel" 100*965a25e3SZhengchao Shao ], 101*965a25e3SZhengchao Shao "plugins": { 102*965a25e3SZhengchao Shao "requires": "nsPlugin" 103*965a25e3SZhengchao Shao }, 104*965a25e3SZhengchao Shao "setup": [ 105*965a25e3SZhengchao Shao "$IP link add dev $DUMMY type dummy || /bin/true" 106*965a25e3SZhengchao Shao ], 107*965a25e3SZhengchao Shao "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root fq_codel interval 5000", 108*965a25e3SZhengchao Shao "expExitCode": "0", 109*965a25e3SZhengchao Shao "verifyCmd": "$TC qdisc show dev $DUMMY", 110*965a25e3SZhengchao Shao "matchPattern": "qdisc fq_codel 1: root refcnt [0-9]+ limit 10240p flows 1024 quantum.*target 5ms interval 5ms memory_limit 32Mb ecn drop_batch 64", 111*965a25e3SZhengchao Shao "matchCount": "1", 112*965a25e3SZhengchao Shao "teardown": [ 113*965a25e3SZhengchao Shao "$TC qdisc del dev $DUMMY handle 1: root", 114*965a25e3SZhengchao Shao "$IP link del dev $DUMMY type dummy" 115*965a25e3SZhengchao Shao ] 116*965a25e3SZhengchao Shao }, 117*965a25e3SZhengchao Shao { 118*965a25e3SZhengchao Shao "id": "4324", 119*965a25e3SZhengchao Shao "name": "Create FQ_CODEL with quantum setting", 120*965a25e3SZhengchao Shao "category": [ 121*965a25e3SZhengchao Shao "qdisc", 122*965a25e3SZhengchao Shao "fq_codel" 123*965a25e3SZhengchao Shao ], 124*965a25e3SZhengchao Shao "plugins": { 125*965a25e3SZhengchao Shao "requires": "nsPlugin" 126*965a25e3SZhengchao Shao }, 127*965a25e3SZhengchao Shao "setup": [ 128*965a25e3SZhengchao Shao "$IP link add dev $DUMMY type dummy || /bin/true" 129*965a25e3SZhengchao Shao ], 130*965a25e3SZhengchao Shao "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root fq_codel quantum 9000", 131*965a25e3SZhengchao Shao "expExitCode": "0", 132*965a25e3SZhengchao Shao "verifyCmd": "$TC qdisc show dev $DUMMY", 133*965a25e3SZhengchao Shao "matchPattern": "qdisc fq_codel 1: root refcnt [0-9]+ limit 10240p flows 1024 quantum 9000 target 5ms interval 100ms memory_limit 32Mb ecn drop_batch 64", 134*965a25e3SZhengchao Shao "matchCount": "1", 135*965a25e3SZhengchao Shao "teardown": [ 136*965a25e3SZhengchao Shao "$TC qdisc del dev $DUMMY handle 1: root", 137*965a25e3SZhengchao Shao "$IP link del dev $DUMMY type dummy" 138*965a25e3SZhengchao Shao ] 139*965a25e3SZhengchao Shao }, 140*965a25e3SZhengchao Shao { 141*965a25e3SZhengchao Shao "id": "b190", 142*965a25e3SZhengchao Shao "name": "Create FQ_CODEL with noecn flag", 143*965a25e3SZhengchao Shao "category": [ 144*965a25e3SZhengchao Shao "qdisc", 145*965a25e3SZhengchao Shao "fq_codel" 146*965a25e3SZhengchao Shao ], 147*965a25e3SZhengchao Shao "plugins": { 148*965a25e3SZhengchao Shao "requires": "nsPlugin" 149*965a25e3SZhengchao Shao }, 150*965a25e3SZhengchao Shao "setup": [ 151*965a25e3SZhengchao Shao "$IP link add dev $DUMMY type dummy || /bin/true" 152*965a25e3SZhengchao Shao ], 153*965a25e3SZhengchao Shao "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root fq_codel noecn", 154*965a25e3SZhengchao Shao "expExitCode": "0", 155*965a25e3SZhengchao Shao "verifyCmd": "$TC qdisc show dev $DUMMY", 156*965a25e3SZhengchao Shao "matchPattern": "qdisc fq_codel 1: root refcnt [0-9]+ limit 10240p flows 1024 quantum.*target 5ms interval 100ms memory_limit 32Mb drop_batch 64", 157*965a25e3SZhengchao Shao "matchCount": "1", 158*965a25e3SZhengchao Shao "teardown": [ 159*965a25e3SZhengchao Shao "$TC qdisc del dev $DUMMY handle 1: root", 160*965a25e3SZhengchao Shao "$IP link del dev $DUMMY type dummy" 161*965a25e3SZhengchao Shao ] 162*965a25e3SZhengchao Shao }, 163*965a25e3SZhengchao Shao { 164*965a25e3SZhengchao Shao "id": "5381", 165*965a25e3SZhengchao Shao "name": "Create FQ_CODEL with ce_threshold setting", 166*965a25e3SZhengchao Shao "category": [ 167*965a25e3SZhengchao Shao "qdisc", 168*965a25e3SZhengchao Shao "fq_codel" 169*965a25e3SZhengchao Shao ], 170*965a25e3SZhengchao Shao "plugins": { 171*965a25e3SZhengchao Shao "requires": "nsPlugin" 172*965a25e3SZhengchao Shao }, 173*965a25e3SZhengchao Shao "setup": [ 174*965a25e3SZhengchao Shao "$IP link add dev $DUMMY type dummy || /bin/true" 175*965a25e3SZhengchao Shao ], 176*965a25e3SZhengchao Shao "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root fq_codel ce_threshold 1024000", 177*965a25e3SZhengchao Shao "expExitCode": "0", 178*965a25e3SZhengchao Shao "verifyCmd": "$TC qdisc show dev $DUMMY", 179*965a25e3SZhengchao Shao "matchPattern": "qdisc fq_codel 1: root refcnt [0-9]+ limit 10240p flows 1024 quantum.*target 5ms ce_threshold 1.02s interval 100ms memory_limit 32Mb ecn drop_batch 64", 180*965a25e3SZhengchao Shao "matchCount": "1", 181*965a25e3SZhengchao Shao "teardown": [ 182*965a25e3SZhengchao Shao "$TC qdisc del dev $DUMMY handle 1: root", 183*965a25e3SZhengchao Shao "$IP link del dev $DUMMY type dummy" 184*965a25e3SZhengchao Shao ] 185*965a25e3SZhengchao Shao }, 186*965a25e3SZhengchao Shao { 187*965a25e3SZhengchao Shao "id": "c9d2", 188*965a25e3SZhengchao Shao "name": "Create FQ_CODEL with drop_batch setting", 189*965a25e3SZhengchao Shao "category": [ 190*965a25e3SZhengchao Shao "qdisc", 191*965a25e3SZhengchao Shao "fq_codel" 192*965a25e3SZhengchao Shao ], 193*965a25e3SZhengchao Shao "plugins": { 194*965a25e3SZhengchao Shao "requires": "nsPlugin" 195*965a25e3SZhengchao Shao }, 196*965a25e3SZhengchao Shao "setup": [ 197*965a25e3SZhengchao Shao "$IP link add dev $DUMMY type dummy || /bin/true" 198*965a25e3SZhengchao Shao ], 199*965a25e3SZhengchao Shao "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root fq_codel drop_batch 100", 200*965a25e3SZhengchao Shao "expExitCode": "0", 201*965a25e3SZhengchao Shao "verifyCmd": "$TC qdisc show dev $DUMMY", 202*965a25e3SZhengchao Shao "matchPattern": "qdisc fq_codel 1: root refcnt [0-9]+ limit 10240p flows 1024 quantum.*target 5ms interval 100ms memory_limit 32Mb ecn drop_batch 100", 203*965a25e3SZhengchao Shao "matchCount": "1", 204*965a25e3SZhengchao Shao "teardown": [ 205*965a25e3SZhengchao Shao "$TC qdisc del dev $DUMMY handle 1: root", 206*965a25e3SZhengchao Shao "$IP link del dev $DUMMY type dummy" 207*965a25e3SZhengchao Shao ] 208*965a25e3SZhengchao Shao }, 209*965a25e3SZhengchao Shao { 210*965a25e3SZhengchao Shao "id": "523b", 211*965a25e3SZhengchao Shao "name": "Create FQ_CODEL with multiple setting", 212*965a25e3SZhengchao Shao "category": [ 213*965a25e3SZhengchao Shao "qdisc", 214*965a25e3SZhengchao Shao "fq_codel" 215*965a25e3SZhengchao Shao ], 216*965a25e3SZhengchao Shao "plugins": { 217*965a25e3SZhengchao Shao "requires": "nsPlugin" 218*965a25e3SZhengchao Shao }, 219*965a25e3SZhengchao Shao "setup": [ 220*965a25e3SZhengchao Shao "$IP link add dev $DUMMY type dummy || /bin/true" 221*965a25e3SZhengchao Shao ], 222*965a25e3SZhengchao Shao "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root fq_codel limit 1000 flows 256 drop_batch 100", 223*965a25e3SZhengchao Shao "expExitCode": "0", 224*965a25e3SZhengchao Shao "verifyCmd": "$TC qdisc show dev $DUMMY", 225*965a25e3SZhengchao Shao "matchPattern": "qdisc fq_codel 1: root refcnt [0-9]+ limit 1000p flows 256 quantum.*target 5ms interval 100ms memory_limit 32Mb ecn drop_batch 100", 226*965a25e3SZhengchao Shao "matchCount": "1", 227*965a25e3SZhengchao Shao "teardown": [ 228*965a25e3SZhengchao Shao "$TC qdisc del dev $DUMMY handle 1: root", 229*965a25e3SZhengchao Shao "$IP link del dev $DUMMY type dummy" 230*965a25e3SZhengchao Shao ] 231*965a25e3SZhengchao Shao }, 232*965a25e3SZhengchao Shao { 233*965a25e3SZhengchao Shao "id": "9283", 234*965a25e3SZhengchao Shao "name": "Replace FQ_CODEL with noecn setting", 235*965a25e3SZhengchao Shao "category": [ 236*965a25e3SZhengchao Shao "qdisc", 237*965a25e3SZhengchao Shao "fq_codel" 238*965a25e3SZhengchao Shao ], 239*965a25e3SZhengchao Shao "plugins": { 240*965a25e3SZhengchao Shao "requires": "nsPlugin" 241*965a25e3SZhengchao Shao }, 242*965a25e3SZhengchao Shao "setup": [ 243*965a25e3SZhengchao Shao "$IP link add dev $DUMMY type dummy || /bin/true", 244*965a25e3SZhengchao Shao "$TC qdisc add dev $DUMMY handle 1: root fq_codel limit 1000 flows 256 drop_batch 100" 245*965a25e3SZhengchao Shao ], 246*965a25e3SZhengchao Shao "cmdUnderTest": "$TC qdisc replace dev $DUMMY handle 1: root fq_codel noecn", 247*965a25e3SZhengchao Shao "expExitCode": "0", 248*965a25e3SZhengchao Shao "verifyCmd": "$TC qdisc show dev $DUMMY", 249*965a25e3SZhengchao Shao "matchPattern": "qdisc fq_codel 1: root refcnt [0-9]+ limit 1000p flows 256 quantum.*target 5ms interval 100ms memory_limit 32Mb drop_batch 100", 250*965a25e3SZhengchao Shao "matchCount": "1", 251*965a25e3SZhengchao Shao "teardown": [ 252*965a25e3SZhengchao Shao "$TC qdisc del dev $DUMMY handle 1: root", 253*965a25e3SZhengchao Shao "$IP link del dev $DUMMY type dummy" 254*965a25e3SZhengchao Shao ] 255*965a25e3SZhengchao Shao }, 256*965a25e3SZhengchao Shao { 257*965a25e3SZhengchao Shao "id": "3459", 258*965a25e3SZhengchao Shao "name": "Change FQ_CODEL with limit setting", 259*965a25e3SZhengchao Shao "category": [ 260*965a25e3SZhengchao Shao "qdisc", 261*965a25e3SZhengchao Shao "fq_codel" 262*965a25e3SZhengchao Shao ], 263*965a25e3SZhengchao Shao "plugins": { 264*965a25e3SZhengchao Shao "requires": "nsPlugin" 265*965a25e3SZhengchao Shao }, 266*965a25e3SZhengchao Shao "setup": [ 267*965a25e3SZhengchao Shao "$IP link add dev $DUMMY type dummy || /bin/true", 268*965a25e3SZhengchao Shao "$TC qdisc add dev $DUMMY handle 1: root fq_codel limit 1000 flows 256 drop_batch 100" 269*965a25e3SZhengchao Shao ], 270*965a25e3SZhengchao Shao "cmdUnderTest": "$TC qdisc change dev $DUMMY handle 1: root fq_codel limit 2000", 271*965a25e3SZhengchao Shao "expExitCode": "0", 272*965a25e3SZhengchao Shao "verifyCmd": "$TC qdisc show dev $DUMMY", 273*965a25e3SZhengchao Shao "matchPattern": "qdisc fq_codel 1: root refcnt [0-9]+ limit 2000p flows 256 quantum.*target 5ms interval 100ms memory_limit 32Mb ecn drop_batch 100", 274*965a25e3SZhengchao Shao "matchCount": "1", 275*965a25e3SZhengchao Shao "teardown": [ 276*965a25e3SZhengchao Shao "$TC qdisc del dev $DUMMY handle 1: root", 277*965a25e3SZhengchao Shao "$IP link del dev $DUMMY type dummy" 278*965a25e3SZhengchao Shao ] 279*965a25e3SZhengchao Shao }, 280*965a25e3SZhengchao Shao { 281*965a25e3SZhengchao Shao "id": "0128", 282*965a25e3SZhengchao Shao "name": "Delete FQ_CODEL with handle", 283*965a25e3SZhengchao Shao "category": [ 284*965a25e3SZhengchao Shao "qdisc", 285*965a25e3SZhengchao Shao "fq_codel" 286*965a25e3SZhengchao Shao ], 287*965a25e3SZhengchao Shao "plugins": { 288*965a25e3SZhengchao Shao "requires": "nsPlugin" 289*965a25e3SZhengchao Shao }, 290*965a25e3SZhengchao Shao "setup": [ 291*965a25e3SZhengchao Shao "$IP link add dev $DUMMY type dummy || /bin/true", 292*965a25e3SZhengchao Shao "$TC qdisc add dev $DUMMY handle 1: root fq_codel limit 1000 flows 256 drop_batch 100" 293*965a25e3SZhengchao Shao ], 294*965a25e3SZhengchao Shao "cmdUnderTest": "$TC qdisc del dev $DUMMY handle 1: root", 295*965a25e3SZhengchao Shao "expExitCode": "0", 296*965a25e3SZhengchao Shao "verifyCmd": "$TC qdisc show dev $DUMMY", 297*965a25e3SZhengchao Shao "matchPattern": "qdisc fq_codel 1: root refcnt [0-9]+ limit 1000p flows 256 quantum.*target 5ms interval 100ms memory_limit 32Mb noecn drop_batch 100", 298*965a25e3SZhengchao Shao "matchCount": "0", 299*965a25e3SZhengchao Shao "teardown": [ 300*965a25e3SZhengchao Shao "$IP link del dev $DUMMY type dummy" 301*965a25e3SZhengchao Shao ] 302*965a25e3SZhengchao Shao }, 303*965a25e3SZhengchao Shao { 304*965a25e3SZhengchao Shao "id": "0435", 305*965a25e3SZhengchao Shao "name": "Show FQ_CODEL class", 306*965a25e3SZhengchao Shao "category": [ 307*965a25e3SZhengchao Shao "qdisc", 308*965a25e3SZhengchao Shao "fq_codel" 309*965a25e3SZhengchao Shao ], 310*965a25e3SZhengchao Shao "plugins": { 311*965a25e3SZhengchao Shao "requires": "nsPlugin" 312*965a25e3SZhengchao Shao }, 313*965a25e3SZhengchao Shao "setup": [ 314*965a25e3SZhengchao Shao "$IP link add dev $DUMMY type dummy || /bin/true" 315*965a25e3SZhengchao Shao ], 316*965a25e3SZhengchao Shao "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root fq_codel", 317*965a25e3SZhengchao Shao "expExitCode": "0", 318*965a25e3SZhengchao Shao "verifyCmd": "$TC class show dev $DUMMY", 319*965a25e3SZhengchao Shao "matchPattern": "class fq_codel 1:", 320*965a25e3SZhengchao Shao "matchCount": "0", 321*965a25e3SZhengchao Shao "teardown": [ 322*965a25e3SZhengchao Shao "$TC qdisc del dev $DUMMY handle 1: root", 323*965a25e3SZhengchao Shao "$IP link del dev $DUMMY type dummy" 324*965a25e3SZhengchao Shao ] 325*965a25e3SZhengchao Shao } 326*965a25e3SZhengchao Shao] 327