[Arista] Use thermalctld instead of fancontrol (#6173)
**- Why I did it** There is a preference to use thermalctld instead of fancontrol for 201911 release branch. The Arista platform submodule updates and thermal policies in the platforms will allow Arista devices to use thermalctld instead of fancontrol. **- How I did it** I cherry-picked the necessary commits from master branch for sonic-platform-modules-arista into 201911 branch. I've also added the file to skip fancontrol and added the thermal policies json. **- How to verify it** On Gardena, Upperlake, Clearlake, and Lodoga thermalctld is up and running with no errors. Fans show ~29%. Co-authored-by: Zhi Yuan Carl Zhao <zyzhao@arista.com>
This commit is contained in:
parent
35d93ff8a3
commit
511541f7f0
@ -1 +1 @@
|
||||
../x86_64-arista_common/pmon_daemon_control_skip_thermalctld.json
|
||||
../x86_64-arista_common/pmon_daemon_control.json
|
1
device/arista/x86_64-arista_7050_qx32/thermal_policy.json
Symbolic link
1
device/arista/x86_64-arista_7050_qx32/thermal_policy.json
Symbolic link
@ -0,0 +1 @@
|
||||
../x86_64-arista_common/thermal_policy.json
|
@ -1 +1 @@
|
||||
../x86_64-arista_common/pmon_daemon_control_skip_thermalctld.json
|
||||
../x86_64-arista_common/pmon_daemon_control.json
|
1
device/arista/x86_64-arista_7050_qx32s/thermal_policy.json
Symbolic link
1
device/arista/x86_64-arista_7050_qx32s/thermal_policy.json
Symbolic link
@ -0,0 +1 @@
|
||||
../x86_64-arista_common/thermal_policy.json
|
@ -1 +1 @@
|
||||
../x86_64-arista_common/pmon_daemon_control_skip_thermalctld.json
|
||||
../x86_64-arista_common/pmon_daemon_control.json
|
1
device/arista/x86_64-arista_7050cx3_32s/thermal_policy.json
Symbolic link
1
device/arista/x86_64-arista_7050cx3_32s/thermal_policy.json
Symbolic link
@ -0,0 +1 @@
|
||||
../x86_64-arista_common/thermal_policy.json
|
@ -1 +1 @@
|
||||
../x86_64-arista_common/pmon_daemon_control_skip_thermalctld.json
|
||||
../x86_64-arista_common/pmon_daemon_control.json
|
1
device/arista/x86_64-arista_7060_cx32s/thermal_policy.json
Symbolic link
1
device/arista/x86_64-arista_7060_cx32s/thermal_policy.json
Symbolic link
@ -0,0 +1 @@
|
||||
../x86_64-arista_common/thermal_policy.json
|
@ -1 +1 @@
|
||||
../x86_64-arista_common/pmon_daemon_control_skip_thermalctld.json
|
||||
../x86_64-arista_common/pmon_daemon_control.json
|
1
device/arista/x86_64-arista_7060cx2_32s/thermal_policy.json
Symbolic link
1
device/arista/x86_64-arista_7060cx2_32s/thermal_policy.json
Symbolic link
@ -0,0 +1 @@
|
||||
../x86_64-arista_common/thermal_policy.json
|
@ -1 +1 @@
|
||||
../x86_64-arista_common/pmon_daemon_control_skip_thermalctld.json
|
||||
../x86_64-arista_common/pmon_daemon_control.json
|
1
device/arista/x86_64-arista_7060px4_32/thermal_policy.json
Symbolic link
1
device/arista/x86_64-arista_7060px4_32/thermal_policy.json
Symbolic link
@ -0,0 +1 @@
|
||||
../x86_64-arista_common/thermal_policy.json
|
@ -1 +1 @@
|
||||
../x86_64-arista_common/pmon_daemon_control_skip_thermalctld.json
|
||||
../x86_64-arista_common/pmon_daemon_control.json
|
1
device/arista/x86_64-arista_7170_32c/thermal_policy.json
Symbolic link
1
device/arista/x86_64-arista_7170_32c/thermal_policy.json
Symbolic link
@ -0,0 +1 @@
|
||||
../x86_64-arista_common/thermal_policy.json
|
@ -1 +1 @@
|
||||
../x86_64-arista_common/pmon_daemon_control_skip_thermalctld.json
|
||||
../x86_64-arista_common/pmon_daemon_control.json
|
1
device/arista/x86_64-arista_7170_32cd/thermal_policy.json
Symbolic link
1
device/arista/x86_64-arista_7170_32cd/thermal_policy.json
Symbolic link
@ -0,0 +1 @@
|
||||
../x86_64-arista_common/thermal_policy.json
|
@ -1 +1 @@
|
||||
../x86_64-arista_common/pmon_daemon_control_skip_thermalctld.json
|
||||
../x86_64-arista_common/pmon_daemon_control.json
|
1
device/arista/x86_64-arista_7170_64c/thermal_policy.json
Symbolic link
1
device/arista/x86_64-arista_7170_64c/thermal_policy.json
Symbolic link
@ -0,0 +1 @@
|
||||
../x86_64-arista_common/thermal_policy.json
|
@ -1 +1 @@
|
||||
../x86_64-arista_common/pmon_daemon_control_skip_thermalctld.json
|
||||
../x86_64-arista_common/pmon_daemon_control.json
|
1
device/arista/x86_64-arista_7260cx3_64/thermal_policy.json
Symbolic link
1
device/arista/x86_64-arista_7260cx3_64/thermal_policy.json
Symbolic link
@ -0,0 +1 @@
|
||||
../x86_64-arista_common/thermal_policy.json
|
@ -1 +1 @@
|
||||
../x86_64-arista_common/pmon_daemon_control_skip_thermalctld.json
|
||||
../x86_64-arista_common/pmon_daemon_control.json
|
1
device/arista/x86_64-arista_7280cr3_32p4/thermal_policy.json
Symbolic link
1
device/arista/x86_64-arista_7280cr3_32p4/thermal_policy.json
Symbolic link
@ -0,0 +1 @@
|
||||
../x86_64-arista_common/thermal_policy.json
|
@ -0,0 +1,4 @@
|
||||
{
|
||||
"skip_fancontrol": true
|
||||
}
|
||||
|
60
device/arista/x86_64-arista_common/thermal_policy.json
Normal file
60
device/arista/x86_64-arista_common/thermal_policy.json
Normal file
@ -0,0 +1,60 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
@ -1 +1 @@
|
||||
Subproject commit 74684eea4b2b1af97685d926e6ad183450122668
|
||||
Subproject commit 79b7d11b61c5eec2b4a38a6414417b7b4f064aab
|
@ -1 +1 @@
|
||||
Subproject commit 74684eea4b2b1af97685d926e6ad183450122668
|
||||
Subproject commit 79b7d11b61c5eec2b4a38a6414417b7b4f064aab
|
Loading…
Reference in New Issue
Block a user