blob: 1d2a2d5e19a4e575085ba1f6a67984c3aab0e59c [file] [log] [blame]
Rahul Maheshwarid1d219a2019-06-19 00:51:39 -05001*** Settings ***
2Documentation Module to test IPMI cold and warm reset functionalities.
3
4Resource ../lib/ipmi_client.robot
5Resource ../lib/openbmc_ffdc.robot
6
George Keishing2d0edad2021-08-18 11:44:10 -05007Suite Setup Redfish.Login
8Suite Teardown Redfish.Logout
9
Rahul Maheshwarid1d219a2019-06-19 00:51:39 -050010Test Teardown FFDC On Test Case Fail
Rahul Maheshwarid1d219a2019-06-19 00:51:39 -050011
George Keishing87dc4422023-10-20 12:56:30 +053012Force Tags IPMI_Resets
13
Rahul Maheshwarid1d219a2019-06-19 00:51:39 -050014*** Variables ***
15
16# User may pass LOOP_COUNT.
17${LOOP_COUNT} ${1}
18
19*** Test Cases ***
20
21Test IPMI Warm Reset
22 [Documentation] Check IPMI warm reset and wait for BMC to become online.
23 [Tags] Test_IPMI_Warm_Reset
24 Repeat Keyword ${LOOP_COUNT} times IPMI MC Reset Warm (off)
25
26
27Test IPMI Cold Reset
28 [Documentation] Check IPMI cold reset and wait for BMC to become online.
29 [Tags] Test_IPMI_Cold_Reset
30
George Keishingd2e53382019-08-29 01:16:38 -050031 Repeat Keyword ${LOOP_COUNT} times IPMI MC Reset Cold (run)
Rahul Maheshwarid1d219a2019-06-19 00:51:39 -050032
33
34Verify BMC Power Cycle via IPMI
35 [Documentation] Verify IPMI power cycle command works fine.
36 [Tags] Verify_BMC_Power_Cycle_via_IPMI
37
George Keishing74e04222019-07-03 10:40:00 -050038 Repeat Keyword ${LOOP_COUNT} times IPMI Power Cycle
Tony Lee42e80bb2020-02-12 14:45:27 +080039
40
41Verify Power Reset via IPMI
42 [Documentation] Verify IPMI power reset command works fine.
43 [Tags] Verify_Power_Reset_via_IPMI
44
45 Repeat Keyword ${LOOP_COUNT} times IPMI Power Reset