bmc-reset: ensure error is created if host up
A separate commit will be submitted to phosphor-logging to get this new
error into the PEL registry.
Tested:
- Verified error is generated when CFAM register is A5000001
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: I40a1fafbffb80aaa77ed38fe93edfd5e4a59f18c
diff --git a/phalerror/create_pel.hpp b/phalerror/create_pel.hpp
index bf005c1..98d6ded 100644
--- a/phalerror/create_pel.hpp
+++ b/phalerror/create_pel.hpp
@@ -21,6 +21,14 @@
void createBootErrorPEL(const FFDCData& ffdcData, const json& calloutData);
/**
+ * Create host running error PEL
+ *
+ * The host should not be running so create an error to report this if it
+ * is found the host is up.
+ */
+void createHostRunningPEL();
+
+/**
* @class FFDCFile
* @brief This class is used to create ffdc data file and to get fd
*/