Add support for IPMI Chassis Power Cycle command

Fixes openbmc/openbmc#1159

Change-Id: Ieaddee28ec53d8c343eeee472de231aa09cbcd43
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
diff --git a/chassishandler.cpp b/chassishandler.cpp
index a0afd56..b2d4d2b 100644
--- a/chassishandler.cpp
+++ b/chassishandler.cpp
@@ -810,6 +810,10 @@
 			rc = ipmi_chassis_power_control("powerOff");
 			break;
 		case CMD_HARD_RESET:
+		case CMD_POWER_CYCLE:
+			// SPEC has a section that says certain implementations can trigger
+			// PowerOn if power is Off when a command to power cycle is
+			// requested
 			rc = ipmi_chassis_power_control("reboot");
 			break;
 		default: