Call new chassis power targets during on/off requests
New targets were introduced recently to support just the
power on and off of the chassis (no boot of host). This
code change makes use of these new targets.
Change-Id: Ibf942a9ed27ccc982a36cd755afdf6171cb5c0a6
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
diff --git a/chassis_state_manager.hpp b/chassis_state_manager.hpp
index 16456bf..181d75c 100644
--- a/chassis_state_manager.hpp
+++ b/chassis_state_manager.hpp
@@ -61,6 +61,15 @@
PowerState currentPowerState(PowerState value) override;
private:
+ /** @brief Execute the transition request
+ *
+ * This function calls the appropriate systemd target for the input
+ * transition.
+ *
+ * @param[in] tranReq - Transition requested
+ */
+ void executeTransition(Transition tranReq);
+
/** @brief Callback function for pgood going to on state
*
* Update chassis object state to reflect pgood going to on state