Implement set chassis capabilities IPMI commands
Create a new dbus interface for the chassis capabilities, and
store the chassis capabilities using phosphor settings manager
Tested By:
ipmitool -H $BMCIP -U root -P 0penBmc -I lanplus raw 0 5 0 2 4 6 8 0xa
ipmitool -H $BMCIP -U root -P 0penBmc -I lanplus raw 0 0
Change-Id: Id01555358adfec3814fd03b3e6d422916c861039
Signed-off-by: Yong Li <yong.b.li@linux.intel.com>
diff --git a/chassishandler.hpp b/chassishandler.hpp
index 6535c0e..49b5ef8 100644
--- a/chassishandler.hpp
+++ b/chassishandler.hpp
@@ -13,6 +13,7 @@
// Chassis Control
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