summaryrefslogtreecommitdiffstats
path: root/chassishandler.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'chassishandler.hpp')
-rw-r--r--chassishandler.hpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/chassishandler.hpp b/chassishandler.hpp
index 49b5ef8..dcaf06c 100644
--- a/chassishandler.hpp
+++ b/chassishandler.hpp
@@ -14,8 +14,6 @@ enum ipmi_netfn_chassis_cmds
IPMI_CMD_CHASSIS_CONTROL = 0x02,
IPMI_CMD_CHASSIS_IDENTIFY = 0x04,
IPMI_CMD_SET_CHASSIS_CAP = 0x05,
- // Set Power Restore Policy
- IPMI_CMD_SET_RESTORE_POLICY = 0x06,
// Get capability bits
IPMI_CMD_SET_SYS_BOOT_OPTIONS = 0x08,
IPMI_CMD_GET_SYS_BOOT_OPTIONS = 0x09,
@@ -58,3 +56,11 @@ enum class BootOptionResponseSize : size_t
BOOT_FLAGS = 5,
OPAL_NETWORK_SETTINGS = 50
};
+
+enum class ChassisIDState : uint8_t
+{
+ off = 0x0,
+ temporaryOn = 0x1,
+ indefiniteOn = 0x2,
+ reserved = 0x3
+};
OpenPOWER on IntegriCloud