-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[201911][thermal control] Backport feature from master branch #4677
Conversation
Conflicts: src/sonic-platform-common src/sonic-platform-daemons
* [thermal control] Fix pmon docker stop issue on 3800 * [thermal fix] Fix QA test issue * [thermal fix] change psu._get_power_available_status to psu.get_power_available_status * [thermal fix] adjust log for PSU absence and power absence * [thermal fix] add unit test for loading thermal policy file with duplicate conditions in different policies * [thermal] fix fan.get_presence for non-removable SKU * [thermal fix] fix issue: fan direction is based on drawer * Fix issue: when fan is not present, should not read fan direction from sysfs but directly return N/A * [thermal fix] add unit test for get_direction for absent FAN * Unplugable PSU has no FAN, no need add a FAN object for this PSU * Update submodules Co-authored-by: Stephen Sun <5379172+stephenxs@users.noreply.github.com> Conflicts: platform/mellanox/mlnx-platform-api/sonic_platform/chassis.py platform/mellanox/mlnx-platform-api/sonic_platform/fan.py platform/mellanox/mlnx-platform-api/sonic_platform/psu.py platform/mellanox/mlnx-platform-api/sonic_platform/thermal.py src/sonic-platform-common src/sonic-platform-daemons
…and PSU fan speed policy (sonic-net#4403) Conflicts: platform/mellanox/mlnx-platform-api/sonic_platform/fan.py
* remove air flow direction from dynamic minimum algorithm * adjust minimum table according to thermal data
…#4631) * Trigger thermal action log only if thermal condition changes * test file existence before read file content * fix error for set psu fan speed * Remove logs because it print too frequently
…hm issue on SN4700
Depends on sonic-net/sonic-platform-common#90, neew merge sonic-net/sonic-platform-common#90 first and update submodule pointer to make build success. |
Depend on sonic-net/sonic-utilities#929 |
This pull request introduces 10 alerts when merging c8beb14 into 007eeec - view on LGTM.com new alerts:
|
Can you provide a reference to master PR? |
This pull request introduces 8 alerts when merging 3951ff6 into 007eeec - view on LGTM.com new alerts:
|
For the 5 wrong number of arguments in a class instantiation, it's not an issue. Instead, I create a issue for LGTM github/codeql#3617. |
This pull request introduces 8 alerts when merging 6da400d into 007eeec - view on LGTM.com new alerts:
|
Can you resolve conflict? |
Resolved |
This pull request introduces 8 alerts when merging 1b01d5d into e73a5f1 - view on LGTM.com new alerts:
|
Retest this please |
- Why I did it
There are a few PRs related to thermal control feature and auto merge doesn't work, so I created a pull request to integrate those PRs to 201911.
- How I did it
Cherry-pick all realted PRs to 201911 branch and fix all conflict manually.
- How to verify it
Manual test on SN2700, SN3800 and SN4700.
- Description for the changelog
- A picture of a cute animal (not mandatory but encouraged)