Exemple #1
0
def _parse_smbios(dev, data, facts, is_virtual):
    try:
        data = zlib.decompress(data)
    except zlib.error:
        pass
    smb = hardware.parse_smbios(data)
    hardware.handle_smbios(dev, smb, is_virtual, SAVE_PRIORITY)
Exemple #2
0
def _parse_smbios(dev, data, facts, is_virtual):
    data = uncompress_base64_data(data)
    smb = hardware.parse_smbios(data)
    hardware.handle_smbios(dev, smb, is_virtual, SAVE_PRIORITY)