e7c26fb0c9
Platform library changes - Fix the use of /proc/modules during testing, fixes #7463 - Add `libsfp-eeprom.so` build to read/write xcvr eeproms in C - Add some more reboot-cause information - Write down temperature hw thresholds to the sensors - Report software thresholds through platform api - Writ `port_name sysfs` file of optoe` - Tests enhancements - Fix dependency issues for chassis provisioning Platform configuration changes - Add `pcie.yaml` configuration for a few platforms - Mount `libsfp-eeprom.so` inside `pmon` - Fix `Arista-7050SX3-48C8` and `Arista-7050SX3-48YC8' platform and hwsku - Miscellaneous fixes Co-authored-by: Boyang Yu <byu@arista.com> Co-authored-by: Zhi Yuan Carl Zhao <zyzhao@arista.com>
22 lines
775 B
Django/Jinja
22 lines
775 B
Django/Jinja
{%- macro generate_wred_profiles() %}
|
|
"WRED_PROFILE": {
|
|
"AZURE_LOSSLESS" : {
|
|
"wred_green_enable" : "true",
|
|
"wred_yellow_enable" : "true",
|
|
"wred_red_enable" : "true",
|
|
"ecn" : "ecn_all",
|
|
"green_max_threshold" : "2097152",
|
|
"green_min_threshold" : "250000",
|
|
"yellow_max_threshold" : "2097152",
|
|
"yellow_min_threshold" : "1048576",
|
|
"red_max_threshold" : "2097152",
|
|
"red_min_threshold" : "1048576",
|
|
"green_drop_probability" : "5",
|
|
"yellow_drop_probability": "5",
|
|
"red_drop_probability" : "5"
|
|
}
|
|
},
|
|
{%- endmacro %}
|
|
|
|
{%- include 'qos_config.j2' %}
|