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