Verify basic IPL using IPMI.
Resolves openbmc/openbmc-test-automation#1292
Change-Id: I818cea007d493dfaf104889b4b69d855177c3246
Signed-off-by: Manash Sarma <manashsarma@in.ibm.com>
diff --git a/tests/ipmi/test_chassis.robot b/tests/ipmi/test_chassis.robot
index a64453b..27c6955 100755
--- a/tests/ipmi/test_chassis.robot
+++ b/tests/ipmi/test_chassis.robot
@@ -5,6 +5,7 @@
Resource ../../lib/ipmi_client.robot
Resource ../../lib/openbmc_ffdc.robot
Resource ../../lib/utils.robot
+Resource ../../lib/boot_utils.robot
Resource ../../lib/resource.txt
Resource ../../lib/state_manager.robot
@@ -76,6 +77,14 @@
Initiate Host PowerOff Via External IPMI
+Verify Soft Shutdown via IPMI
+ [Documentation] Verify Host OS shutdown softly using IPMI command.
+ [Tags] Verify_Soft_Shutdown_via_IPMI
+
+ REST Power On stack_mode=skip
+ Run External IPMI Standard Command chassis power soft
+ Wait Until Keyword Succeeds 3 min 10 sec Is Host Off
+
*** Keywords ***
diff --git a/tests/ipmi/test_ipmi_resets.robot b/tests/ipmi/test_ipmi_resets.robot
index 5ceb337..3efa6f2 100755
--- a/tests/ipmi/test_ipmi_resets.robot
+++ b/tests/ipmi/test_ipmi_resets.robot
@@ -30,6 +30,14 @@
Repeat Keyword ${LOOP_COUNT} times IPMI MC Reset Cold (off)
+Verify BMC Power Cycle via IPMI
+ [Documentation] Verify IPMI power cycle command works fine.
+ [Tags] Verify_BMC_Power_Cycle_via_IPMI
+
+ REST Power On stack_mode=skip
+ Run External IPMI Standard Command chassis power cycle
+ Wait Until Keyword Succeeds 3 min 10 sec Is Host Off
+ Wait Until Keyword Succeeds 3 min 10 sec Is Host Running
*** Keywords ***