Rahul Maheshwari | d1d219a | 2019-06-19 00:51:39 -0500 | [diff] [blame] | 1 | *** Settings *** |
| 2 | Documentation Module to test IPMI cold and warm reset functionalities. |
| 3 | |
| 4 | Resource ../lib/ipmi_client.robot |
| 5 | Resource ../lib/openbmc_ffdc.robot |
| 6 | |
George Keishing | 2d0edad | 2021-08-18 11:44:10 -0500 | [diff] [blame] | 7 | Suite Setup Redfish.Login |
| 8 | Suite Teardown Redfish.Logout |
| 9 | |
Rahul Maheshwari | d1d219a | 2019-06-19 00:51:39 -0500 | [diff] [blame] | 10 | Test Teardown FFDC On Test Case Fail |
Rahul Maheshwari | d1d219a | 2019-06-19 00:51:39 -0500 | [diff] [blame] | 11 | |
| 12 | *** Variables *** |
| 13 | |
| 14 | # User may pass LOOP_COUNT. |
| 15 | ${LOOP_COUNT} ${1} |
| 16 | |
| 17 | *** Test Cases *** |
| 18 | |
| 19 | Test 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 | |
| 25 | Test IPMI Cold Reset |
| 26 | [Documentation] Check IPMI cold reset and wait for BMC to become online. |
| 27 | [Tags] Test_IPMI_Cold_Reset |
| 28 | |
George Keishing | d2e5338 | 2019-08-29 01:16:38 -0500 | [diff] [blame] | 29 | Repeat Keyword ${LOOP_COUNT} times IPMI MC Reset Cold (run) |
Rahul Maheshwari | d1d219a | 2019-06-19 00:51:39 -0500 | [diff] [blame] | 30 | |
| 31 | |
| 32 | Verify BMC Power Cycle via IPMI |
| 33 | [Documentation] Verify IPMI power cycle command works fine. |
| 34 | [Tags] Verify_BMC_Power_Cycle_via_IPMI |
| 35 | |
George Keishing | 74e0422 | 2019-07-03 10:40:00 -0500 | [diff] [blame] | 36 | Repeat Keyword ${LOOP_COUNT} times IPMI Power Cycle |
Tony Lee | 42e80bb | 2020-02-12 14:45:27 +0800 | [diff] [blame] | 37 | |
| 38 | |
| 39 | Verify 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 |