sonic-buildimage/platform/mellanox/mlnx-platform-api/sonic_platform
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
..
__init__.py [201911][thermal control] Backport feature from master branch (#4677) 2020-06-08 11:20:43 -07:00
chassis.py [Mellanox] Re-initialize SFP object when detecting a new SFP insertion (#5695) 2020-10-30 09:04:26 -07:00
component.py [Mellanox] Add ONIE and SSD platform components. (#4764) 2020-06-15 13:04:44 +03:00
device_data.py [Mellanox] Update dynamic minimum table for 4700, 3420 and 4600C (#5388) 2020-10-06 06:04:06 +00:00
eeprom.py [Mellanox] Remove eeprom cache file when first time init eeprom object (#6071) 2020-12-04 13:26:23 -08:00
fan.py [Mellanox] Read PSU fan max/min speed per PSU (#8563) (#8728) 2021-09-13 08:32:28 -07:00
led.py [Mellanox] PSU led platform API fixes (#6214) 2020-12-24 01:11:48 -08:00
platform.py [Mellanox] Refactor platform API to remove dependency on database (#5468) 2020-10-06 11:30:16 -07:00
psu.py [201911][Mellanox] Align PSU name convention returned from psu.get_name platform API (#7793) 2021-06-04 10:38:16 -07:00
sfp_event.py [Mellanox] [platform API] Fix “local variable 'label_port' referenced before assignment” error (#6419) 2021-02-18 18:10:54 -08:00
sfp.py [Mellanox] Fix for QSFP-DD channel status (#5900) 2020-11-14 12:26:28 -08:00
thermal_actions.py [201911][thermal control] Backport feature from master branch (#4677) 2020-06-08 11:20:43 -07:00
thermal_conditions.py [201911][thermal control] Backport feature from master branch (#4677) 2020-06-08 11:20:43 -07:00
thermal_infos.py [Mellanox] Fan speed should not be 100% when PSU is powered off (#9258) (#9380) 2021-12-07 18:22:51 -08:00
thermal_manager.py [201911][thermal control] Backport feature from master branch (#4677) 2020-06-08 11:20:43 -07:00
thermal.py Fix issue: there should be 2 cpu core temperature sensors in 3420 (#5402) 2020-10-04 16:58:17 +03:00
utils.py [Mellanox] Support max/min speed for PSU fan (#5682) (#5801) 2020-11-17 18:17:37 +02:00
watchdog.py [Mellanox] Implement new fan platform API (#2747) 2019-04-21 14:34:28 -07:00