1*** Settings *** 2Documentation Module to test IPMI cold and warm reset functionalities. 3 4Resource ../lib/ipmi_client.robot 5Resource ../lib/openbmc_ffdc.robot 6 7Suite Setup Redfish.Login 8Suite Teardown Redfish.Logout 9 10Test Teardown FFDC On Test Case Fail 11 12Force Tags IPMI_Resets 13 14*** 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 31 Repeat Keyword ${LOOP_COUNT} times IPMI MC Reset Cold (run) 32 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 38 Repeat Keyword ${LOOP_COUNT} times IPMI Power Cycle 39 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 46