Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[device/celestica]: Add thermalctld support on DX010 platform APIs #6089

Merged

Conversation

mudsut4ke
Copy link
Contributor

@mudsut4ke mudsut4ke commented Dec 2, 2020

- Why I did it

  • The thermalctld daemon on the Pmon docker requires support from the thermal manager API.

- How I did it

  • 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)

  • 201811
  • 201911
  • 202006

@lgtm-com
Copy link

lgtm-com bot commented Dec 2, 2020

This pull request introduces 3 alerts when merging 751491b into 443f81f - view on LGTM.com

new alerts:

  • 3 for 'import *' may pollute namespace

@lgtm-com
Copy link

lgtm-com bot commented Dec 21, 2020

This pull request introduces 3 alerts when merging ca3aca8 into 0a36de3 - view on LGTM.com

new alerts:

  • 3 for 'import *' may pollute namespace

@mudsut4ke mudsut4ke marked this pull request as ready for review January 7, 2021 03:21
@jleveque
Copy link
Contributor

Retest vsimage please

@lgtm-com
Copy link

lgtm-com bot commented Jan 15, 2021

This pull request introduces 3 alerts when merging 63ddb29 into 58a13b4 - view on LGTM.com

new alerts:

  • 3 for 'import *' may pollute namespace

@jleveque jleveque merged commit 0ca3434 into sonic-net:master Jan 15, 2021
lguohan pushed a commit that referenced this pull request Jan 21, 2021
…6089)

**- Why I did it**
- The thermalctld daemon on the Pmon docker requires support from the thermal manager API.

**- How I did it**
- 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
abdosi pushed a commit that referenced this pull request Feb 19, 2021
…6089)

**- Why I did it**
- The thermalctld daemon on the Pmon docker requires support from the thermal manager API.

**- How I did it**
- 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants