- Why I did it The current implementation of SFP reset, LPM, present relies on SDK API. This PR moves the implementation to SDK sysfs. By this PR, it gains following benefit: 1. SDK sysfs provides better performance. 2. Host side and container side share the same code. 3. Code is much cleaner. - How I did it Use SDK sysfs to implement SFP reset, LPM, present. - How to verify it 1. Manual test. 2. Unit test. |
||
---|---|---|
.. | ||
input_platform | ||
__init__.py | ||
conftest.py | ||
duplicate_action.json | ||
duplicate_condition.json | ||
empty_action.json | ||
empty_condition.json | ||
mock_eeprom_data | ||
mock_platform.py | ||
mock_psu_vpd | ||
policy_with_same_conditions.json | ||
test_chassis.py | ||
test_cpu_thermal_control.py | ||
test_eeprom.py | ||
test_fan_api.py | ||
test_firmware.py | ||
test_led.py | ||
test_module.py | ||
test_psu.py | ||
test_sfp_event.py | ||
test_sfp.py | ||
test_thermal_policy.py | ||
test_thermal.py | ||
test_utils.py | ||
thermal_policy.json |