1 [ 1 [ 2 { 2 { 3 "id": "4812", 3 "id": "4812", 4 "name": "Create HHF with default setti 4 "name": "Create HHF with default setting", 5 "category": [ 5 "category": [ 6 "qdisc", 6 "qdisc", 7 "hhf" 7 "hhf" 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 hhf", 15 "expExitCode": "0", 15 "expExitCode": "0", 16 "verifyCmd": "$TC qdisc show dev $DUMM 16 "verifyCmd": "$TC qdisc show dev $DUMMY", 17 "matchPattern": "qdisc hhf 1: root ref 17 "matchPattern": "qdisc hhf 1: root refcnt [0-9]+.*hh_limit 2048 reset_timeout 40ms admit_bytes 128Kb evict_timeout 1s non_hh_weight 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": "8a92", 24 "id": "8a92", 25 "name": "Create HHF with limit setting 25 "name": "Create HHF with limit setting", 26 "category": [ 26 "category": [ 27 "qdisc", 27 "qdisc", 28 "hhf" 28 "hhf" 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 hhf limit 1500", 36 "expExitCode": "0", 36 "expExitCode": "0", 37 "verifyCmd": "$TC qdisc show dev $DUMM 37 "verifyCmd": "$TC qdisc show dev $DUMMY", 38 "matchPattern": "qdisc hhf 1: root ref 38 "matchPattern": "qdisc hhf 1: root refcnt [0-9]+ limit 1500p.*hh_limit 2048 reset_timeout 40ms admit_bytes 128Kb evict_timeout 1s non_hh_weight 2", 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": "3491", 45 "id": "3491", 46 "name": "Create HHF with quantum setti 46 "name": "Create HHF with quantum setting", 47 "category": [ 47 "category": [ 48 "qdisc", 48 "qdisc", 49 "hhf" 49 "hhf" 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 hhf quantum 9000", 57 "expExitCode": "0", 57 "expExitCode": "0", 58 "verifyCmd": "$TC qdisc show dev $DUMM 58 "verifyCmd": "$TC qdisc show dev $DUMMY", 59 "matchPattern": "qdisc hhf 1: root ref 59 "matchPattern": "qdisc hhf 1: root refcnt [0-9]+.*quantum 9000b hh_limit 2048 reset_timeout 40ms admit_bytes 128Kb evict_timeout 1s non_hh_weight 2", 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": "ba04", 66 "id": "ba04", 67 "name": "Create HHF with reset_timeout 67 "name": "Create HHF with reset_timeout setting", 68 "category": [ 68 "category": [ 69 "qdisc", 69 "qdisc", 70 "hhf" 70 "hhf" 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 hhf reset_timeout 100ms", 78 "expExitCode": "0", 78 "expExitCode": "0", 79 "verifyCmd": "$TC qdisc show dev $DUMM 79 "verifyCmd": "$TC qdisc show dev $DUMMY", 80 "matchPattern": "qdisc hhf 1: root ref 80 "matchPattern": "qdisc hhf 1: root refcnt [0-9]+.*hh_limit 2048 reset_timeout 100ms admit_bytes 128Kb evict_timeout 1s non_hh_weight 2", 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": "4238", 87 "id": "4238", 88 "name": "Create HHF with admit_bytes s 88 "name": "Create HHF with admit_bytes setting", 89 "category": [ 89 "category": [ 90 "qdisc", 90 "qdisc", 91 "hhf" 91 "hhf" 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 hhf admit_bytes 100000", 99 "expExitCode": "0", 99 "expExitCode": "0", 100 "verifyCmd": "$TC qdisc show dev $DUMM 100 "verifyCmd": "$TC qdisc show dev $DUMMY", 101 "matchPattern": "qdisc hhf 1: root ref 101 "matchPattern": "qdisc hhf 1: root refcnt [0-9]+.*hh_limit 2048 reset_timeout 40ms admit_bytes 100000b evict_timeout 1s non_hh_weight 2", 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": "839f", 108 "id": "839f", 109 "name": "Create HHF with evict_timeout 109 "name": "Create HHF with evict_timeout setting", 110 "category": [ 110 "category": [ 111 "qdisc", 111 "qdisc", 112 "hhf" 112 "hhf" 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 hhf evict_timeout 0.5s", 120 "expExitCode": "0", 120 "expExitCode": "0", 121 "verifyCmd": "$TC qdisc show dev $DUMM 121 "verifyCmd": "$TC qdisc show dev $DUMMY", 122 "matchPattern": "qdisc hhf 1: root ref 122 "matchPattern": "qdisc hhf 1: root refcnt [0-9]+.*hh_limit 2048 reset_timeout 40ms admit_bytes 128Kb evict_timeout 500ms non_hh_weight 2", 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": "a044", 129 "id": "a044", 130 "name": "Create HHF with non_hh_weight 130 "name": "Create HHF with non_hh_weight setting", 131 "category": [ 131 "category": [ 132 "qdisc", 132 "qdisc", 133 "hhf" 133 "hhf" 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 hhf non_hh_weight 10", 141 "expExitCode": "0", 141 "expExitCode": "0", 142 "verifyCmd": "$TC qdisc show dev $DUMM 142 "verifyCmd": "$TC qdisc show dev $DUMMY", 143 "matchPattern": "qdisc hhf 1: root ref 143 "matchPattern": "qdisc hhf 1: root refcnt [0-9]+.*hh_limit 2048 reset_timeout 40ms admit_bytes 128Kb evict_timeout 1s non_hh_weight 10", 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": "32f9", 150 "id": "32f9", 151 "name": "Change HHF with limit setting 151 "name": "Change HHF with limit setting", 152 "category": [ 152 "category": [ 153 "qdisc", 153 "qdisc", 154 "hhf" 154 "hhf" 155 ], 155 ], 156 "plugins": { 156 "plugins": { 157 "requires": "nsPlugin" 157 "requires": "nsPlugin" 158 }, 158 }, 159 "setup": [ 159 "setup": [ 160 "$TC qdisc add dev $DUMMY handle 1 160 "$TC qdisc add dev $DUMMY handle 1: root hhf" 161 ], 161 ], 162 "cmdUnderTest": "$TC qdisc change dev 162 "cmdUnderTest": "$TC qdisc change dev $DUMMY handle 1: root hhf limit 1500", 163 "expExitCode": "0", 163 "expExitCode": "0", 164 "verifyCmd": "$TC qdisc show dev $DUMM 164 "verifyCmd": "$TC qdisc show dev $DUMMY", 165 "matchPattern": "qdisc hhf 1: root ref 165 "matchPattern": "qdisc hhf 1: root refcnt [0-9]+ limit 1500p.*hh_limit 2048 reset_timeout 40ms admit_bytes 128Kb evict_timeout 1s non_hh_weight 2", 166 "matchCount": "1", 166 "matchCount": "1", 167 "teardown": [ 167 "teardown": [ 168 "$TC qdisc del dev $DUMMY handle 1 168 "$TC qdisc del dev $DUMMY handle 1: root" 169 ] 169 ] 170 }, 170 }, 171 { 171 { 172 "id": "385e", 172 "id": "385e", 173 "name": "Show HHF class", 173 "name": "Show HHF class", 174 "category": [ 174 "category": [ 175 "qdisc", 175 "qdisc", 176 "hhf" 176 "hhf" 177 ], 177 ], 178 "plugins": { 178 "plugins": { 179 "requires": "nsPlugin" 179 "requires": "nsPlugin" 180 }, 180 }, 181 "setup": [ 181 "setup": [ 182 ], 182 ], 183 "cmdUnderTest": "$TC qdisc add dev $DU 183 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root hhf", 184 "expExitCode": "0", 184 "expExitCode": "0", 185 "verifyCmd": "$TC class show dev $DUMM 185 "verifyCmd": "$TC class show dev $DUMMY", 186 "matchPattern": "class hhf 1:", 186 "matchPattern": "class hhf 1:", 187 "matchCount": "0", 187 "matchCount": "0", 188 "teardown": [ 188 "teardown": [ 189 "$TC qdisc del dev $DUMMY handle 1 189 "$TC qdisc del dev $DUMMY handle 1: root" 190 ] 190 ] 191 } 191 } 192 ] 192 ]
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.