sonic-buildimage/platform/mellanox/mlnx-platform-api/sonic_platform
Junchao-Mellanox 2ffc9d572f
[Mellanox] [201911] Optimize thermal policies (#9664)
- Why I did it
Optimize thermal control policies to simplify the logic and add more protection code in policies to make sure it works even if kernel algorithm does not work.

- How I did it
Reduce unused thermal policies
Add timely ASIC temperature check in thermal policy to make sure ASIC temperature and fan speed is coordinated
Minimum allowed fan speed now is calculated by max of the expected fan speed among all policies
Move some logic from fan.py to thermal.py to make it more readable

- How to verify it
1. Manual test
2. Regression
2022-01-19 11:42:09 +02: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] [201911] Optimize thermal policies (#9664) 2022-01-19 11:42:09 +02: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 [Mellanox] [201911] Optimize thermal policies (#9664) 2022-01-19 11:42:09 +02:00
thermal_conditions.py [Mellanox] [201911] Optimize thermal policies (#9664) 2022-01-19 11:42:09 +02: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 [Mellanox] [201911] Optimize thermal policies (#9664) 2022-01-19 11:42:09 +02:00
thermal.py [Mellanox] [201911] Optimize thermal policies (#9664) 2022-01-19 11:42:09 +02: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