[device/celestica]: Add thermalctld support on Haliburton platform APIs (#6493) (#8217)

- Why I did it

The thermalctld daemon on the Pmon docker requires support from the thermal manager API
- How I did it
Cherry picked from : cfda77b
Removed the old function for detecting a faulty fan.
Removed the old function for detecting excess temperature.
Implement thermal_manager APIs based on ThermalManagerBase
Implement thermal_conditions APIs based on ThermalPolicyConditionBase
Implement thermal_actions APIs based on ThermalPolicyActionBase
Implement thermal_info APIs based on ThermalPolicyInfoBase
Add thermal_policy.json

- How to verify it
Check the fan speed during temperature changes.
Examine events that will occur after the temperature has exceeded the threshold.
Check for events that will occur after the fan is removed or the fan is not working properly.

- Which release branch to backport (provide reason below if selected)
 202012
This commit is contained in:
Wirut Getbamrung 2021-07-23 20:16:22 +07:00 committed by GitHub
parent a90280faa5
commit d191dcd2e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

Diff Content Not Available