sonic-buildimage/device/celestica/x86_64-cel_e1031-r0/sonic_platform
Eric Zhu 4caa887642
Fix issue of partially parsing syseeprom value (#10020) (#10276)
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>
2022-03-21 09:25:36 -07:00
..
__init__.py [device/celestica]: Add thermalctld support on Haliburton platform APIs (#6493) 2021-05-03 09:14:35 -07:00
chassis.py [Celestica/sonic_platform]: Fixed failed test cases in Haliburton platform testing (#8815) 2021-10-08 11:10:05 +08:00
common.py [device/celestica]: Fix failed test cases of Haliburton platform API (#7579) 2021-07-23 06:18:39 -07:00
component.py [device/celestica]: Fix failed test cases of Haliburton platform API (#7579) 2021-07-23 06:18:39 -07:00
eeprom.py Fix issue of partially parsing syseeprom value (#10020) (#10276) 2022-03-21 09:25:36 -07:00
event.py [device/celestica]: Fix failed test cases of Haliburton platform API (#7579) 2021-07-23 06:18:39 -07:00
fan_drawer.py [Celestica/sonic_platform]: Fixed failed test cases in Haliburton platform testing (#8815) 2021-10-08 11:10:05 +08:00
fan.py [Celestica/sonic_platform]: Fixed failed test cases in Haliburton platform testing (#8815) 2021-10-08 11:10:05 +08:00
platform.py [sonic-utilities] Update submodule; Build and install as a Python 3 wheel (#5926) 2020-11-25 10:28:36 -08:00
psu.py [device/celestica]: Fix failed test cases of Haliburton platform API (#7579) 2021-07-23 06:18:39 -07:00
sfp.py [SFP-Refactor] Modify transceiver key name (#9447) 2021-12-09 12:38:45 +05:30
thermal_actions.py [device/celestica]: Add thermalctld support on Haliburton platform APIs (#6493) 2021-05-03 09:14:35 -07:00
thermal_conditions.py [device/celestica]: Add thermalctld support on Haliburton platform APIs (#6493) 2021-05-03 09:14:35 -07:00
thermal_infos.py [device/celestica]: Add thermalctld support on Haliburton platform APIs (#6493) 2021-05-03 09:14:35 -07:00
thermal_manager.py [device/celestica]: Add thermalctld support on Haliburton platform APIs (#6493) 2021-05-03 09:14:35 -07:00
thermal.py [device/celestica]: Fix failed test cases of Haliburton platform API (#7579) 2021-07-23 06:18:39 -07:00
watchdog.py [device/celestica]: Fix failed test cases of Haliburton platform API (#7579) 2021-07-23 06:18:39 -07:00