sonic-buildimage/platform/mellanox/mlnx-platform-api/tests
Junchao-Mellanox dc04d64219
[Mellanox] Fix issue: psu might use wrong voltage sysfs which causes invalid voltage value (#10231)
- Why I did it
Fix issue: psu might use wrong voltage sysfs which causes invalid voltage value. The flow is like:

1. User power off a PSU
2. All sysfs files related to this PSU are removed
3. User did a reboot/config reload
4. PSU will use wrong sysfs as voltage node

- How I did it
Always try find an existing sysfs.

- How to verify it
Manual test
2022-03-20 10:34:04 +02:00
..
__init__.py [Mellanox] Add NVIDIA Copyright header to "mellanox" files (#8799) 2021-10-17 19:03:02 +03:00
conftest.py [Mellanox] Optimize thermal control policies (#9452) 2022-01-19 11:44:37 +02:00
duplicate_action.json [Mellanox] Fix thermal control bugs (#4298) 2020-03-25 10:54:07 -07:00
duplicate_condition.json [Mellanox] Fix thermal control bugs (#4298) 2020-03-25 10:54:07 -07:00
empty_action.json [Mellanox] Fix thermal control bugs (#4298) 2020-03-25 10:54:07 -07:00
empty_condition.json [Mellanox] Fix thermal control bugs (#4298) 2020-03-25 10:54:07 -07: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
policy_with_same_conditions.json [Mellanox] Optimize thermal control policies (#9452) 2022-01-19 11:44:37 +02:00
test_chassis.py [Mellanox] Refactor Mellanox platform API to support dynamic port configuration (#8422) 2021-10-25 07:59:06 +03:00
test_eeprom.py [Mellanox] Refactor Mellanox platform API to support dynamic port configuration (#8422) 2021-10-25 07:59:06 +03:00
test_fan_api.py [Mellanox] Optimize thermal control policies (#9452) 2022-01-19 11:44:37 +02:00
test_firmware.py [Mellanox] Modified Platform API to support all firmware updates in single boot (#9608) 2022-01-24 00:56:38 -08:00
test_led.py [Mellanox] Allow user to set LED to orange (#9259) 2021-12-08 13:05:10 -08:00
test_module.py [Mellanox] Refactor Mellanox platform API to support dynamic port configuration (#8422) 2021-10-25 07:59:06 +03:00
test_psu.py [Mellanox] Fix issue: psu might use wrong voltage sysfs which causes invalid voltage value (#10231) 2022-03-20 10:34:04 +02: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] Refactor Mellanox platform API to support dynamic port configuration (#8422) 2021-10-25 07:59:06 +03:00
test_thermal_policy.py [Mellanox] Optimize thermal control policies (#9452) 2022-01-19 11:44:37 +02:00
test_thermal.py [Mellanox] Fix issue: thermal zone threshold value 0 causes fan speed stuck at 100% (#10057) 2022-02-24 12:05:56 +02:00
test_utils.py [Mellanox] Refactor Mellanox platform API to support dynamic port configuration (#8422) 2021-10-25 07:59:06 +03:00
thermal_policy.json [Mellanox] Optimize thermal control policies (#9452) 2022-01-19 11:44:37 +02:00