Use new interfaces to check BMC state

This change fix includes:
    - Renaming Get BMC State of utils.robot with Deprecated as Suffix
    - Import state manager file for using new Get BMC State
    - Addedd 'Is OS Starting' Keyword to check boot progress state

Resolves  openbmc/openbmc-test-automation#307

Change-Id: I32a3da98de4100f324bbc5704f14a4f4e59980e6
Signed-off-by: Rahul Maheshwari <rahulmaheshwari@in.ibm.com>
diff --git a/lib/utils.robot b/lib/utils.robot
index 418f2c6..d4297f8 100755
--- a/lib/utils.robot
+++ b/lib/utils.robot
@@ -181,7 +181,7 @@
 
     rqprint_timen  The operating system is now communicating.
 
-Get BMC State
+Get BMC State Deprecated
     [Documentation]  Returns the state of the BMC as a string. (i.e: BMC_READY)
     [Arguments]  ${quiet}=${QUIET}
 
@@ -251,9 +251,14 @@
 
 Is System State Host Booted
     [Documentation]  Checks whether system state is HOST_BOOTED.
-    ${state}=    Get BMC State
+    ${state}=    Get BMC State Deprecated
     should be equal as strings     ${state}     HOST_BOOTED
 
+Is OS Starting
+    [Documentation]  Check if boot progress is OS starting.
+    ${boot_progress}=  Get Boot Progress
+    Should Be Equal  ${boot_progress}  FW Progress, Starting OS
+
 Verify Ping and REST Authentication
     ${l_ping}=   Run Keyword And Return Status
     ...    Ping Host  ${OPENBMC_HOST}
@@ -375,7 +380,7 @@
     ...               BMC state is as expected.
     [Arguments]       ${expected}
 
-    ${current}=  Get BMC State
+    ${current}=  Get BMC State Deprecated
     Should Contain  ${expected}   ${current}
 
 Start Journal Log