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 | |
| 7 | Test Teardown FFDC On Test Case Fail |
Rahul Maheshwari | d1d219a | 2019-06-19 00:51:39 -0500 | [diff] [blame] | 8 | |
| 9 | *** Variables *** |
| 10 | |
| 11 | # User may pass LOOP_COUNT. |
| 12 | ${LOOP_COUNT} ${1} |
| 13 | |
| 14 | *** Test Cases *** |
| 15 | |
| 16 | Test IPMI Warm Reset |
| 17 | [Documentation] Check IPMI warm reset and wait for BMC to become online. |
| 18 | [Tags] Test_IPMI_Warm_Reset |
| 19 | Repeat Keyword ${LOOP_COUNT} times IPMI MC Reset Warm (off) |
| 20 | |
| 21 | |
| 22 | Test IPMI Cold Reset |
| 23 | [Documentation] Check IPMI cold reset and wait for BMC to become online. |
| 24 | [Tags] Test_IPMI_Cold_Reset |
| 25 | |
George Keishing | d2e5338 | 2019-08-29 01:16:38 -0500 | [diff] [blame] | 26 | Repeat Keyword ${LOOP_COUNT} times IPMI MC Reset Cold (run) |
Rahul Maheshwari | d1d219a | 2019-06-19 00:51:39 -0500 | [diff] [blame] | 27 | |
| 28 | |
| 29 | Verify BMC Power Cycle via IPMI |
| 30 | [Documentation] Verify IPMI power cycle command works fine. |
| 31 | [Tags] Verify_BMC_Power_Cycle_via_IPMI |
| 32 | |
George Keishing | 74e0422 | 2019-07-03 10:40:00 -0500 | [diff] [blame] | 33 | Repeat Keyword ${LOOP_COUNT} times IPMI Power Cycle |
Tony Lee | 42e80bb | 2020-02-12 14:45:27 +0800 | [diff] [blame] | 34 | |
| 35 | |
| 36 | Verify Power Reset via IPMI |
| 37 | [Documentation] Verify IPMI power reset command works fine. |
| 38 | [Tags] Verify_Power_Reset_via_IPMI |
| 39 | |
| 40 | Repeat Keyword ${LOOP_COUNT} times IPMI Power Reset |