sonic-buildimage/platform/mellanox/mlnx-platform-api/sonic_platform
Junchao-Mellanox 3ea3a5c8c1
[Mellanox] clear fan from chassis._fan_list (#7682)
#### Why I did it

According to thermalctld hld, each fan must belong to a fan drawer, if the fan drawer does not physically exist, put fan into a virtual fan drawer. This PR is to clear fan from chassis._fan_list

#### How I did it

1. Don't put fan to chassis._fan_list
2. Always query fan from fan_drawer
2021-05-24 11:36:39 -07:00
..
__init__.py Add thermal control support for SONiC (#3949) 2020-03-09 10:41:10 -07:00
chassis.py [Mellanox] clear fan from chassis._fan_list (#7682) 2021-05-24 11:36:39 -07:00
component.py [Mellanox] Ensure concrete platform API classes call base class initializer (#6854) 2021-02-25 11:06:22 -08:00
device_data.py [Mellanox] Adopt single way to get fan direction for all ASIC types (#7386) 2021-05-03 17:10:18 -07:00
eeprom.py [mellanox][platform api] fix a missing import time module (#6458) 2021-01-15 08:01:11 -08:00
fan_drawer.py [Mellanox] Adopt single way to get fan direction for all ASIC types (#7386) 2021-05-03 17:10:18 -07:00
fan.py [Mellanox] Adopt single way to get fan direction for all ASIC types (#7386) 2021-05-03 17:10:18 -07:00
led.py Fix issue: should not initialize led color in __init__ file as platform API will be called by multiple daemons (#7114) 2021-03-25 14:28:33 +02:00
platform.py [Mellanox] Initialize PSU API on both host and docker side (#7016) 2021-03-15 12:43:18 -07:00
psu.py [Mellanox] Implement Hardware Revision Platform API Call for Mellanox Chassis and PSU (#7552) 2021-05-24 09:37:59 -07:00
sfp_event.py [Mellanox] [platform API] Fix “local variable 'label_port' referenced before assignment” error (#6419) 2021-01-12 10:43:57 -08:00
sfp.py [Mellanox] Fixes issue: CLI sfputil does not work based on sonic platform API (#7018) 2021-03-11 18:54:33 -08:00
thermal_actions.py [Mellanox] Never disable kernel thermal algorithm at real-time (#4638) 2020-05-26 10:46:29 -07:00
thermal_conditions.py Fix dynamic minimum fan table issue caused by python3 (#6690) 2021-02-07 11:21:44 +02:00
thermal_infos.py [Mellanox] clear fan from chassis._fan_list (#7682) 2021-05-24 11:36:39 -07:00
thermal_manager.py [mellaonox]: No need enable thermal zones in thermal_manager.deinitialize since they are enabled by default (#7556) 2021-05-08 10:33:37 -07:00
thermal.py [Mellanox] Ensure concrete platform API classes call base class initializer (#6854) 2021-02-25 11:06:22 -08:00
utils.py [Mellanox] Fixes issue: CLI sfputil does not work based on sonic platform API (#7018) 2021-03-11 18:54:33 -08:00
watchdog.py [Mellanox] Ensure concrete platform API classes call base class initializer (#6854) 2021-02-25 11:06:22 -08:00