sonic-buildimage/platform/mellanox/mlnx-platform-api/sonic_platform
Junchao-Mellanox d53fba12cb Fix error log while creating PSU thermal object (#17789)
- Why I did it
If a PSU is not present, there could be error log while restarting psud or thermalctld:

Jan  8 17:15:52.689616 sonic ERR pmon#psud: Thermal sysfs /run/hw-management/thermal/psu2_temp1_max does not exist

Jan  8 17:15:57.747723 sonic ERR pmon#thermalctld: Thermal sysfs /run/hw-management/thermal/psu2_temp1 does not exist

- How I did it
if a PSU is not present, we should not check the PSU temperature sysfs.
2024-02-01 09:34:05 +08:00
..
__init__.py [Mellanox] Add NVIDIA Copyright header to "mellanox" files (#8799) 2021-10-17 19:03:02 +03:00
chassis.py [Mellanox] Fix race condition while creating SFP (#17441) 2024-01-09 14:34:47 +08:00
component.py [Mellanox] Add more unit test coverage for platform API (#15842) 2023-08-03 13:54:31 +03:00
cpu_thermal_control.py [Mellanox] Add CPU thermal control for Nvidia platforms (#10202) 2022-03-21 09:54:52 -07:00
device_data.py [202311][Mellanox] implement platform wait in python code (#17398) (#17719) 2024-01-16 08:31:33 -08:00
eeprom.py [Mellanox] Support running hw-management service on MSN4700 emulation platform (#16584) 2023-11-19 11:03:46 +02:00
fan_drawer.py [Mellanox] add PSU fan direction support (#14508) 2023-05-15 21:34:54 +03:00
fan.py [202311][Mellanox] Integrate HW-MGMT Version 7.0030.2008 (#17659) 2024-01-16 08:33:50 -08:00
led.py [Mellanox] Support UID LED in platform API (#11592) 2023-05-16 08:24:39 +03:00
module.py [Mellanox] Remove TODO comments which are no longer needed (#13023) 2022-12-14 09:57:48 +02:00
modules_mgmt.py fix low polarity wrong value for hw_reset deassert and seek(0) before reading sysfs upon poll event (#17627) 2024-01-23 09:38:50 +08:00
pcie.py [Mellanox] Add NVIDIA Copyright header to "mellanox" files (#8799) 2021-10-17 19:03:02 +03:00
platform.py [Mellanox] Refactor Mellanox platform API to support dynamic port configuration (#8422) 2021-10-25 07:59:06 +03:00
psu.py [202311][Mellanox] Integrate HW-MGMT Version 7.0030.2008 (#17659) 2024-01-16 08:33:50 -08:00
sfp_event.py [Mellanox] Fix issue: cannot find label port for logical port when logical port number is larger than 64 (#13710) 2023-02-21 08:14:29 +02:00
sfp.py [Mellanox] Fix issues found for CMIS host management (#17637) 2024-01-20 06:32:58 +08:00
thermal_manager.py [Mellanox] Fix issues found for CMIS host management (#17637) 2024-01-20 06:32:58 +08:00
thermal_updater.py [Mellanox] Fix issues found for CMIS host management (#17637) 2024-01-20 06:32:58 +08:00
thermal.py Fix error log while creating PSU thermal object (#17789) 2024-02-01 09:34:05 +08:00
utils.py [Mellanox] implement sfp.reset for CMIS management (#16862) 2024-01-17 06:33:11 +08:00
vpd_parser.py [Mellanox] Auto correct PSU voltage threshold (WA) (#10394) 2022-04-14 08:14:40 +03:00
watchdog.py [Mellanox] wait until hw-management watchdog files ready (#17618) 2024-01-19 04:32:53 +08:00