blob: 2e99d1e49d7f43a77a3bdde8f72ffcb1615953d8 [file] [log] [blame]
George Keishing3794d762018-02-27 00:52:54 -06001*** Settings ***
2Documentation Module to test IPMI cold and warm reset functionalities.
3
4Resource ../../lib/ipmi_client.robot
5Resource ../../lib/openbmc_ffdc.robot
6Resource ../../lib/state_manager.robot
7Resource ../../lib/utils.robot
8Resource ../../lib/boot_utils.robot
9
George Keishing3794d762018-02-27 00:52:54 -060010Test Teardown FFDC On Test Case Fail
11
12*** Variables ***
13
14# User may pass LOOP_COUNT.
15${LOOP_COUNT} ${1}
16
17*** Test Cases ***
18
19Test IPMI Warm Reset
20 [Documentation] Check IPMI warm reset and wait for BMC to become online.
21 [Tags] Test_IPMI_Warm_Reset
22
23 Repeat Keyword ${LOOP_COUNT} times IPMI MC Reset Warm (off)
24
25
26Test IPMI Cold Reset
27 [Documentation] Check IPMI cold reset and wait for BMC to become online.
28 [Tags] Test_IPMI_Cold_Reset
29
30 Repeat Keyword ${LOOP_COUNT} times IPMI MC Reset Cold (off)
31
Manash Sarmaf8c40752018-03-13 16:38:16 +053032Verify BMC Power Cycle via IPMI
33 [Documentation] Verify IPMI power cycle command works fine.
34 [Tags] Verify_BMC_Power_Cycle_via_IPMI
35
36 REST Power On stack_mode=skip
Rahul Maheshwari6bacc4f2018-12-17 00:32:28 -060037 Run IPMI Standard Command chassis power cycle
Manash Sarmaf8c40752018-03-13 16:38:16 +053038 Wait Until Keyword Succeeds 3 min 10 sec Is Host Off
39 Wait Until Keyword Succeeds 3 min 10 sec Is Host Running