- Why I did it When module is totally under software control, driver cannot get module temperature/temperature threshold from firmware. In this case, sonic needs to get temperature/temperature threshold from EEPROM. In this PR, a thread thermal updater is created to update module temperature/temperature threshold while software control is enabled. - How I did it Query ASIC temperature from SDK sysfs and update hw-management-tc periodically Query Module temperature from EEPROM and update hw-management-tc periodically - How to verify it Manual test New Unit tests |
||
---|---|---|
.. | ||
input_platform | ||
__init__.py | ||
conftest.py | ||
dmi_file | ||
mock_eeprom_data | ||
mock_platform.py | ||
mock_psu_vpd | ||
test_chassis.py | ||
test_component.py | ||
test_device_data.py | ||
test_eeprom.py | ||
test_fan_api.py | ||
test_firmware.py | ||
test_led.py | ||
test_module.py | ||
test_pcie.py | ||
test_psu.py | ||
test_sfp_event.py | ||
test_sfp.py | ||
test_thermal_updater.py | ||
test_thermal.py | ||
test_utils.py | ||
test_watchdog.py |