Add journal entry for BOOTCOUNT
Update the jounal entry in the host state code to
indicate we may have hit the HOST BOOTCOUNT.
Resolves openbmc/openbmc#1424
Change-Id: I2bfd73f6051efb408eb4c683cebe95fda4700859
Signed-off-by: Saqib Khan <khansa@us.ibm.com>
diff --git a/host_state_manager.hpp b/host_state_manager.hpp
index e277289..e9158a3 100644
--- a/host_state_manager.hpp
+++ b/host_state_manager.hpp
@@ -100,6 +100,13 @@
bool stateActive(const std::string& target);
/**
+ * @brief Set the HOST BOOTCOUNT Sensor value
+ *
+ * @param[in] bootCount - new BOOTCOUNT value
+ */
+ void setHostbootCount(int bootCount);
+
+ /**
* @brief Determine if auto reboot flag is set
*
* @return boolean corresponding to current auto_reboot setting