sonic-buildimage/platform/mellanox/mlnx-platform-api
Junchao-Mellanox 2b4c8ee330
[Mellanox] Fan speed should not be 100% when PSU is powered off (#9258) (#9380)
Backport #9258 to 201911

Why I did it
When PSU is powered off, the PSU is still on the switch and the air flow is still the same. In this case, it is not necessary to set FAN speed to 100%.

How I did it
When PSU is powered of, don't treat it as absent.

How to verify it
Adjust existing unit test case
Add new case in sonic-mgmt
Conflicts:
platform/mellanox/mlnx-platform-api/sonic_platform/thermal_infos.py
2021-12-07 18:22:51 -08:00
..
sonic_platform [Mellanox] Fan speed should not be 100% when PSU is powered off (#9258) (#9380) 2021-12-07 18:22:51 -08:00
tests [Mellanox] Fan speed should not be 100% when PSU is powered off (#9258) (#9380) 2021-12-07 18:22:51 -08:00
.gitignore [201911][thermal control] Backport feature from master branch (#4677) 2020-06-08 11:20:43 -07:00
pytest.ini [201911][thermal control] Backport feature from master branch (#4677) 2020-06-08 11:20:43 -07:00
setup.cfg [201911][thermal control] Backport feature from master branch (#4677) 2020-06-08 11:20:43 -07:00
setup.py [201911][thermal control] Backport feature from master branch (#4677) 2020-06-08 11:20:43 -07:00