2
0
mirror of https://opendev.org/x/pyghmi synced 2025-08-24 20:10:20 +00:00
Jarrod Johnson 3411537228 Workaround likely spec deviations and fix parsing
For one, was doing UTF-8, though the encoding strictly speaking
per speac should be ISO-8859-1.  Corrected that mistake.  Also
workaround an issue when FRU may be programmed with 0x0 or 0xff
bytes to terminate, or spaces.  The spec actually doesn't speak
to a strategy to pad strings (presumably because they assumed
implementation would avail itself of the capacity for variable
strings and not need to deal with silly fixed length fields).
Handle this by trimming out trailing spaces, 0x0, or 0xff.  This
strictly speaking violates the spec if they want to use one or more
ÿ to end a field, but will take the risk that no one actually would
want to do that.

Change-Id: I7d7e3aa9f3fd2b1e1af75f98cabd49ca374755c0
2015-10-23 15:47:24 -04:00
2013-08-17 22:29:25 -04:00
2013-06-30 14:21:20 -04:00
2015-10-17 22:36:04 +00:00
2013-06-24 14:15:39 -04:00
2014-05-08 14:06:01 -04:00
2015-02-11 16:53:27 -08:00
2013-09-13 11:28:28 -05:00

This is a pure python implementation of IPMI protocol.

pyghmicons and pyghmiutil are example scripts to show how one may incorporate
this library into python code
Description
No description provided
Readme Apache-2.0 15 MiB
Languages
Python 99.9%
Shell 0.1%