blob: e6bc8aca06ca7af7665b141ffcfa38b4a29584bd [file] [log] [blame]
Sridevi Rameshd737eb92019-02-13 05:03:21 -06001*** Settings ***
George Keishing4583a082019-02-25 10:28:42 -06002Documentation This suite tests Redfish Host power operations.
3
Sridevi Rameshd737eb92019-02-13 05:03:21 -06004Resource ../../lib/boot_utils.robot
George Keishing36c39aa2019-03-01 04:33:58 -06005Resource ../../lib/common_utils.robot
Sridevi Rameshd737eb92019-02-13 05:03:21 -06006
George Keishing36c39aa2019-03-01 04:33:58 -06007Test Setup Test Setup Execution
8Test Teardown Test Teardown Execution
Sridevi Rameshd737eb92019-02-13 05:03:21 -06009
10*** Test Cases ***
11
George Keishing4583a082019-02-25 10:28:42 -060012Verify Redfish Host GracefulShutdown
13 [Documentation] Verify Redfish host graceful shutdown operation.
14 [Tags] Verify_Redfish_Host_GracefulShutdown
Sridevi Rameshd737eb92019-02-13 05:03:21 -060015
16 Redfish Power Off
17
18Verify Redfish BMC PowerOn
George Keishing4583a082019-02-25 10:28:42 -060019 [Documentation] Verify Redfish host power on operation.
20 [Tags] Verify_Redfish_Host_PowerOn
Sridevi Rameshd737eb92019-02-13 05:03:21 -060021
22 Redfish Power On
23
24Verify Redfish BMC GracefulRestart
George Keishing4583a082019-02-25 10:28:42 -060025 [Documentation] Verify Redfish host graceful restart operation.
26 [Tags] Verify_Redfish_Host_GracefulRestart
Sridevi Rameshd737eb92019-02-13 05:03:21 -060027
28 Redfish Host Reboot
29
30Verify Redfish BMC PowerOff
George Keishing4583a082019-02-25 10:28:42 -060031 [Documentation] Verify Redfish host power off operation.
32 [Tags] Verify_Redfish_Host_PowerOff
Sridevi Rameshd737eb92019-02-13 05:03:21 -060033
34 Redfish Hard Power Off
George Keishing36c39aa2019-03-01 04:33:58 -060035
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}