sonic-buildimage/platform/mellanox/mlnx-platform-api/sonic_platform
Junchao-Mellanox d8a1ffbace
[Mellanox] implement sfp.reset for CMIS management (#16862)
- Why I did it
For CMIS host management module, we need a different implementation for sfp.reset. This PR is to implement it

- How I did it
For SW control modules, do reset from hw_reset
For FW control modules, do reset as the original way

- How to verify it
Manual test
sonic-mgmt platform test
2023-12-17 08:02:47 +02: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) 2023-12-14 12:01:11 +02: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 [Mellanox] implement platform wait in python code (#17398) 2023-12-14 12:04:24 +02: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 [Mellanox] Upgrade HW-MGMT to 7.0030.2008 and update platform-api (#17134) 2023-11-21 18:53:15 -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 [Mellanox] Enable CMIS host management (#16846) 2023-12-07 14:54:56 +02: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 [Mellanox] Upgrade HW-MGMT to 7.0030.2008 and update platform-api (#17134) 2023-11-21 18:53:15 -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] implement sfp.reset for CMIS management (#16862) 2023-12-17 08:02:47 +02:00
thermal_manager.py [Mellanox] update asic and module temperature in a thread for CMIS management (#16955) 2023-12-13 14:19:44 +02:00
thermal_updater.py [Mellanox] update asic and module temperature in a thread for CMIS management (#16955) 2023-12-13 14:19:44 +02:00
thermal.py [Mellanox] update asic and module temperature in a thread for CMIS management (#16955) 2023-12-13 14:19:44 +02:00
utils.py [Mellanox] implement sfp.reset for CMIS management (#16862) 2023-12-17 08:02:47 +02:00
vpd_parser.py [Mellanox] Auto correct PSU voltage threshold (WA) (#10394) 2022-04-14 08:14:40 +03:00
watchdog.py [Mellanox] Fix issue: watchdogutil command does not work (#16091) 2023-08-23 09:30:58 +03:00