Add quiesce to the HOST state

If the autoreboot is set to false, then the system
state query will reflect quiesce state.

Change-Id: I2c98646b9b97733e0cf0bd2db77f542074618a9a
Signed-off-by: Saqib Khan <khansa@us.ibm.com>
diff --git a/host_state_manager.cpp b/host_state_manager.cpp
index 76542d7..a7de920 100644
--- a/host_state_manager.cpp
+++ b/host_state_manager.cpp
@@ -44,7 +44,8 @@
 /* Map a system state to the HostState */
 const std::map<std::string, server::Host::HostState> SYS_HOST_STATE_TABLE = {
         {"HOST_BOOTING", server::Host::HostState::Running},
-        {"HOST_POWERED_OFF", server::Host::HostState::Off}
+        {"HOST_POWERED_OFF", server::Host::HostState::Off},
+        {"HOST_QUIESCED", server::Host::HostState::Quiesced}
 };
 
 void Host::subscribeToSystemdSignals()
@@ -227,6 +228,7 @@
          else
          {
              log<level::INFO>("Auto reboot disabled. Maintaining quiesce.");
+             this->currentHostState(server::Host::HostState::Quiesced);
          }
 
      }