Support for BMC Reboot
Adds the keywords for performing a reboot on the BMC.
Verifies that the OS stays active, if applicable.
Change-Id: Ia92162c317e3e1bcfe188123043ffd6a4addc2a6
Signed-off-by: Leah McNutt <lmcnutt@us.ibm.com>
diff --git a/lib/utils.robot b/lib/utils.robot
index 841e223..33f72b3 100644
--- a/lib/utils.robot
+++ b/lib/utils.robot
@@ -179,7 +179,7 @@
Is PNOR Flash Done
[Documentation] Get BIOS 'Flash Done' status. This indicates that the
... PNOR flashing has completed.
- ${status}= Get Flash BIOS Status
+ {status}= Get Flash BIOS Status
should be equal as strings ${status} Flash Done
Is System State Host Booted
@@ -208,7 +208,7 @@
[Documentation] Wait for Host to be online. Checks every X seconds
... interval for Y minutes and fails if timed out.
... Default MAX timedout is 10 min, interval 10 seconds.
- [arguments] ${max_timeout}=${OPENBMC_REBOOT_TIMEOUT}
+ [arguments] ${max_timeout}=${OPENBMC_REBOOT_TIMEOUT} min
... ${interval}=10 sec
Wait Until Keyword Succeeds