mirror of
https://opendev.org/x/pyghmi
synced 2025-01-28 11:57:34 +00:00
Change DIMM SN parsing in TS to match WebUI
Change-Id: Ia506ca9945db98e1facaddc973cf43f2b9dd0f36
This commit is contained in:
parent
035dfb2fa4
commit
37c4eb42c6
@ -28,7 +28,8 @@ dimm_fields = (
|
||||
EntryField("capacity_mb", "<h",
|
||||
valuefunc=lambda v: v*1024),
|
||||
EntryField("manufacturer", "30s"),
|
||||
EntryField("serial", "I"),
|
||||
EntryField("serial", ">I",
|
||||
valuefunc=lambda v: hex(v)[2:]),
|
||||
EntryField("model", "21s"),
|
||||
EntryField("reserved", "h", include=False)
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user