8a246b88b1
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> |
||
---|---|---|
.. | ||
x86_64-cel_e1031-r0 | ||
x86_64-cel_midstone-r0 | ||
x86_64-cel_seastone_2-r0 | ||
x86_64-cel_seastone-r0 | ||
x86_64-cel_silverstone-r0 |