sonic-buildimage/device/arista/x86_64-arista_common/thermal_policy.json
Samuel Angebault 5bfe37ca42
[Arista] Update driver submodules (#5686)
- Enable thermalctld support for our platforms
 - Fix Chassis.get_num_sfp which had an off by one
 - Implement read_eeprom and write_eeprom in SfpBase
 - Refactor of Psus and PsuSlots. Psus they are now detected and metadata reported
 - Improvements to modular support

Co-authored-by: Zhi Yuan Carl Zhao <zyzhao@arista.com>
2020-10-23 12:28:36 -07:00

61 lines
1.3 KiB
JSON

{
"thermal_control_algorithm": {
"run_at_boot_up": "true",
"fan_speed_when_suspend": "100"
},
"info_types": [
{
"type": "control_info"
},
{
"type": "fan_info"
},
{
"type": "thermal_info"
}
],
"policies": [
{
"name": "any thermal critical",
"conditions": [
{
"type": "thermal.any.critical"
}
],
"actions": [
{
"type": "fan.all.set_speed",
"speed": "100"
}
]
},
{
"name": "any thermal overheat",
"conditions": [
{
"type": "thermal.any.overheat"
}
],
"actions": [
{
"type": "fan.all.set_speed",
"speed": "100"
}
]
},
{
"name": "normal operations",
"conditions": [
{
"type": "normal"
}
],
"actions": [
{
"type": "thermal_control.control"
}
]
}
]
}