1*** Settings *** 2Documentation This suite tests Redfish Host power operations. 3 4Resource ../../lib/boot_utils.robot 5Resource ../../lib/common_utils.robot 6 7Test Setup Test Setup Execution 8Test Teardown Test Teardown Execution 9 10*** Test Cases *** 11 12Verify Redfish Host GracefulShutdown 13 [Documentation] Verify Redfish host graceful shutdown operation. 14 [Tags] Verify_Redfish_Host_GracefulShutdown 15 16 Redfish Power Off 17 18Verify Redfish BMC PowerOn 19 [Documentation] Verify Redfish host power on operation. 20 [Tags] Verify_Redfish_Host_PowerOn 21 22 Redfish Power On 23 24Verify Redfish BMC GracefulRestart 25 [Documentation] Verify Redfish host graceful restart operation. 26 [Tags] Verify_Redfish_Host_GracefulRestart 27 28 Redfish Host Reboot 29 30Verify Redfish BMC PowerOff 31 [Documentation] Verify Redfish host power off operation. 32 [Tags] Verify_Redfish_Host_PowerOff 33 34 Redfish Hard Power Off 35 36*** Keywords *** 37 38Test Setup Execution 39 [Documentation] Do test case setup tasks. 40 41 Start SOL Console Logging 42 43 44Test Teardown Execution 45 [Documentation] Collect FFDC and SOL log. 46 47 FFDC On Test Case Fail 48 ${sol_log}= Stop SOL Console Logging 49 Log ${sol_log} 50 Set Auto Reboot ${1} 51