sonic-buildimage/platform/mellanox/mlnx-platform-api/tests
Junchao-Mellanox 8d65e2c517 [Mellanox] Fix issues found for CMIS host management (#17637)
- Why I did it
1. Thermal updater should wait more time for module to be initialized
2. sfp should get temperature threshold from EEPROM because SDK sysfs is not yet supported
3. Rename sfp function to fix typo
4. sfp.get_presence should return False if module is under initialization

- How I did it
1. Thermal updater should wait more time for module to be initialized
2. sfp should get temperature threshold from EEPROM because SDK sysfs is not yet supported
3. Rename sfp function to fix typo
4. sfp.get_presence should return False if module is under initialization

- How to verify it
Manual test
Unit test
2024-01-20 06:32:58 +08:00
..
input_platform [Mellanox] Use sdk sysfs instead of ethtool (#12480) 2022-11-03 11:17:44 -07:00
__init__.py [Mellanox] Add NVIDIA Copyright header to "mellanox" files (#8799) 2021-10-17 19:03:02 +03:00
conftest.py [202311][Mellanox] Integrate HW-MGMT Version 7.0030.2008 (#17659) 2024-01-16 08:33:50 -08:00
dmi_file [Mellanox] Add more unit test coverage for platform API (#15842) 2023-08-03 13:54:31 +03:00
mock_eeprom_data [Mellanox] Refactor Mellanox platform API to support dynamic port configuration (#8422) 2021-10-25 07:59:06 +03:00
mock_platform.py [Mellanox] Add NVIDIA Copyright header to "mellanox" files (#8799) 2021-10-17 19:03:02 +03:00
mock_psu_vpd [Mellanox] Refactor Mellanox platform API to support dynamic port configuration (#8422) 2021-10-25 07:59:06 +03:00
test_chassis.py [Mellanox] Fix race condition while creating SFP (#17441) 2024-01-09 14:34:47 +08:00
test_component.py [Mellanox] Add more unit test coverage for platform API (#15842) 2023-08-03 13:54:31 +03:00
test_device_data.py [202311][Mellanox] implement platform wait in python code (#17398) (#17719) 2024-01-16 08:31:33 -08:00
test_eeprom.py [Mellanox] Check system eeprom existence in a retry manner (#13884) 2023-02-21 19:40:16 +02:00
test_fan_api.py [202311][Mellanox] Integrate HW-MGMT Version 7.0030.2008 (#17659) 2024-01-16 08:33:50 -08:00
test_firmware.py [Mellanox] Update NVIDIA License header for files changed since 1.1.2022 (#10289) 2022-03-23 13:19:25 +02:00
test_led.py [Mellanox] Add more unit test coverage for platform API (#15842) 2023-08-03 13:54:31 +03:00
test_module.py [Mellanox] Enhance Platform API to support SN2201 - RJ45 ports and new components mgmt. (#10377) 2022-06-20 19:12:20 -07:00
test_pcie.py [Mellanox] Add more unit test coverage for platform API (#15842) 2023-08-03 13:54:31 +03:00
test_psu.py [Mellanox] Add more unit test coverage for platform API (#15842) 2023-08-03 13:54:31 +03:00
test_sfp_event.py [Mellanox] Refactor Mellanox platform API to support dynamic port configuration (#8422) 2021-10-25 07:59:06 +03:00
test_sfp.py [Mellanox] Fix issues found for CMIS host management (#17637) 2024-01-20 06:32:58 +08:00
test_thermal_updater.py [Mellanox] Fix issues found for CMIS host management (#17637) 2024-01-20 06:32:58 +08:00
test_thermal.py [Mellanox] Fix issues found for CMIS host management (#17637) 2024-01-20 06:32:58 +08:00
test_utils.py [202311][Mellanox] implement platform wait in python code (#17398) (#17719) 2024-01-16 08:31:33 -08:00
test_watchdog.py [Mellanox] wait until hw-management watchdog files ready (#17618) 2024-01-19 04:32:53 +08:00