diff --git a/pyghmi/redfish/oem/generic.py b/pyghmi/redfish/oem/generic.py index a70484d5..13a479ca 100644 --- a/pyghmi/redfish/oem/generic.py +++ b/pyghmi/redfish/oem/generic.py @@ -17,9 +17,17 @@ import json import os import re +import pyghmi.constants as const import pyghmi.exceptions as exc import pyghmi.media as media +_healthmap = { + 'Critical': const.Health.Critical, + 'Unknown': const.Health.Warning, + 'Warning': const.Health.Warning, + 'OK': const.Health.Ok, +} + boot_devices_write = { 'net': 'Pxe', 'network': 'Pxe',