blob: 38fc96cf3c8e1df41f9d8b9f43d712d5a49d95cf [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
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 Repeat Keyword ${LOOP_COUNT} times IPMI MC Reset Warm (off)
23
24
25Test IPMI Cold Reset
26 [Documentation] Check IPMI cold reset and wait for BMC to become online.
27 [Tags] Test_IPMI_Cold_Reset
28
George Keishingd2e53382019-08-29 01:16:38 -050029 Repeat Keyword ${LOOP_COUNT} times IPMI MC Reset Cold (run)
Rahul Maheshwarid1d219a2019-06-19 00:51:39 -050030
31
32Verify BMC Power Cycle via IPMI
33 [Documentation] Verify IPMI power cycle command works fine.
34 [Tags] Verify_BMC_Power_Cycle_via_IPMI
35
George Keishing74e04222019-07-03 10:40:00 -050036 Repeat Keyword ${LOOP_COUNT} times IPMI Power Cycle
Tony Lee42e80bb2020-02-12 14:45:27 +080037
38
39Verify Power Reset via IPMI
40 [Documentation] Verify IPMI power reset command works fine.
41 [Tags] Verify_Power_Reset_via_IPMI
42
43 Repeat Keyword ${LOOP_COUNT} times IPMI Power Reset