sonic-buildimage/device/celestica/x86_64-cel_seastone-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 [sonic-utilities] Update submodule; Build and install as a Python 3 wheel (#5926) 2020-11-25 10:28:36 -08:00
chassis.py [device/celestica]: Fix failed test cases of DX010 platform APIs (#6564) 2021-04-02 10:08:31 -07:00
component.py [device/celestica]: Fix remaining failed test cases of Seastone-DX010 platform API (#7743) 2021-05-28 12:56:09 -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]: Add xcvrd event support for Seastone-DX010 (#5896) 2020-12-14 10:22:56 -08:00
fan_drawer.py [device/celestica]: Fix failed test cases of DX010 platform APIs (#6564) 2021-04-02 10:08:31 -07:00
fan.py [device/celestica]: Fix failed test cases of DX010 platform APIs (#6564) 2021-04-02 10:08:31 -07:00
helper.py [sonic-utilities] Update submodule; Build and install as a Python 3 wheel (#5926) 2020-11-25 10:28:36 -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 remaining failed test cases of Seastone-DX010 platform API (#7743) 2021-05-28 12:56:09 -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 DX010 platform APIs (#6089) 2021-01-15 10:20:47 -08:00
thermal_conditions.py [device/celestica]: Add thermalctld support on DX010 platform APIs (#6089) 2021-01-15 10:20:47 -08:00
thermal_infos.py [device/celestica]: Add thermalctld support on DX010 platform APIs (#6089) 2021-01-15 10:20:47 -08:00
thermal_manager.py [device/celestica]: Add thermalctld support on DX010 platform APIs (#6089) 2021-01-15 10:20:47 -08:00
thermal.py [device/celestica]: Fix remaining failed test cases of Seastone-DX010 platform API (#7743) 2021-05-28 12:56:09 -07:00
watchdog.py [device/celestica]: Fix failed test cases of DX010 platform APIs (#6564) 2021-04-02 10:08:31 -07:00