4caa887642
Why I did it The current code assumes that the value part does not have whitespace. So everything after the whitespace will be ignored. The syseeprom values returned from platform API do not match the output of "show platform syseeprom" on dx010 and e1031 device. How I did it This change improved the regular expression for parsing syseeprom values to accommodate whitespaces in the value. PR 10021 provides the solution, but committed to the wrong place for dx010 and e1031. How to verify it Compile the sonic_platform wheel for dx010, then upload to device and install the wheel, verify the platform eeprom API. Signed-off-by: Eric Zhu <erzhu@celestica.com> |
||
---|---|---|
.. | ||
Celestica-E1031-T48S4 | ||
plugins | ||
sonic_platform | ||
default_sku | ||
fancontrol-B2F | ||
fancontrol-F2B | ||
installer.conf | ||
pcie.yaml | ||
platform_asic | ||
platform_components.json | ||
platform.json | ||
pmon_daemon_control.json | ||
sensors.conf | ||
system_health_monitoring_config.json | ||
thermal_overload_control.sh | ||
thermal_policy.json |