|
167 | 167 | ]
|
168 | 168 | }
|
169 | 169 | }
|
| 170 | + }, |
| 171 | + "BUFFER_POOL_CORRECT_PERCENTAGE_VALUE": { |
| 172 | + "sonic-device_metadata:sonic-device_metadata": { |
| 173 | + "sonic-device_metadata:DEVICE_METADATA": { |
| 174 | + "localhost":{ |
| 175 | + "buffer_model": "dynamic" |
| 176 | + } |
| 177 | + } |
| 178 | + }, |
| 179 | + "sonic-buffer-pool:sonic-buffer-pool": { |
| 180 | + "sonic-buffer-pool:BUFFER_POOL": { |
| 181 | + "BUFFER_POOL_LIST": [ |
| 182 | + { |
| 183 | + "name": "ingress_lossless_pool", |
| 184 | + "mode": "dynamic", |
| 185 | + "percentage": "99", |
| 186 | + "type": "ingress" |
| 187 | + } |
| 188 | + ] |
| 189 | + } |
| 190 | + } |
| 191 | + }, |
| 192 | + "BUFFER_POOL_CORRECT_LARGE_PERCENTAGE_VALUE": { |
| 193 | + "sonic-device_metadata:sonic-device_metadata": { |
| 194 | + "sonic-device_metadata:DEVICE_METADATA": { |
| 195 | + "localhost":{ |
| 196 | + "buffer_model": "dynamic" |
| 197 | + } |
| 198 | + } |
| 199 | + }, |
| 200 | + "sonic-buffer-pool:sonic-buffer-pool": { |
| 201 | + "sonic-buffer-pool:BUFFER_POOL": { |
| 202 | + "BUFFER_POOL_LIST": [ |
| 203 | + { |
| 204 | + "name": "ingress_lossless_pool", |
| 205 | + "mode": "dynamic", |
| 206 | + "percentage": "200", |
| 207 | + "type": "ingress" |
| 208 | + } |
| 209 | + ] |
| 210 | + } |
| 211 | + } |
| 212 | + }, |
| 213 | + "BUFFER_POOL_WRONG_PERCENTAGE_NEGATIVE_VALUE": { |
| 214 | + "sonic-buffer-pool:sonic-buffer-pool": { |
| 215 | + "sonic-buffer-pool:BUFFER_POOL": { |
| 216 | + "BUFFER_POOL_LIST": [ |
| 217 | + { |
| 218 | + "name": "ingress_lossless_pool", |
| 219 | + "mode": "static", |
| 220 | + "percentage": "-10", |
| 221 | + "type": "ingress" |
| 222 | + } |
| 223 | + ] |
| 224 | + } |
| 225 | + } |
| 226 | + }, |
| 227 | + "BUFFER_POOL_WRONG_PERCENTAGE_NOT_A_NUMBER_VALUE": { |
| 228 | + "sonic-buffer-pool:sonic-buffer-pool": { |
| 229 | + "sonic-buffer-pool:BUFFER_POOL": { |
| 230 | + "BUFFER_POOL_LIST": [ |
| 231 | + { |
| 232 | + "name": "ingress_lossless_pool", |
| 233 | + "mode": "static", |
| 234 | + "percentage": "NaN", |
| 235 | + "type": "ingress" |
| 236 | + } |
| 237 | + ] |
| 238 | + } |
| 239 | + } |
| 240 | + }, |
| 241 | + "BUFFER_POOL_WRONG_PERCENTAGE_VALUE_WITH_SIZE": { |
| 242 | + "sonic-buffer-pool:sonic-buffer-pool": { |
| 243 | + "sonic-buffer-pool:BUFFER_POOL": { |
| 244 | + "BUFFER_POOL_LIST": [ |
| 245 | + { |
| 246 | + "name": "ingress_lossless_pool", |
| 247 | + "mode": "static", |
| 248 | + "percentage": "90", |
| 249 | + "size": "12766208", |
| 250 | + "type": "ingress" |
| 251 | + } |
| 252 | + ] |
| 253 | + } |
| 254 | + } |
170 | 255 | }
|
171 | 256 | }
|
0 commit comments