diff --git a/pyghmi/ipmi/oem/lenovo/imm.py b/pyghmi/ipmi/oem/lenovo/imm.py index 262b6f6e..921e5db9 100644 --- a/pyghmi/ipmi/oem/lenovo/imm.py +++ b/pyghmi/ipmi/oem/lenovo/imm.py @@ -21,11 +21,20 @@ import pyghmi.ipmi.private.session as ipmisession import pyghmi.ipmi.private.util as util import pyghmi.util.webclient as webclient import random +import struct import threading import urllib import weakref +def fixup_uuid(uuidprop): + baduuid = ''.join(uuidprop.split()) + uuidprefix = (baduuid[:8], baduuid[8:12], baduuid[12:16]) + a = struct.pack('