Bring BMC to stable state

The use of this logic is to bring the BMC state to a stable standby.
Providing a new test case that will take whatever action is necessary
to bring the BMC to a stable, standby state.  For our purposes, a i
stable state is defined as:
    - BMC is communicating (pinging, sshing and REST commands working)
    - Power state is 0 (off)
    - BMC state is "BMC_READY" or "HOST_POWERED_OFF"
    - Boot policy is "RESTORE_LAST_STATE"

Resolves openbmc/openbmc-test-automation#224

Change-Id: I5f88dfae59c51271f6dabe3e40ce7ccef598b310
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
1 file changed