Add test cases to verify redfish BMC power operations
Added test cases:
- Verify Redfish BMC PowerOn
- Verify Redfish BMC PowerOff
- Verify Redfish BMC GracefulRestart
- Verify Redfish BMC GracefulShutdown
Resolves openbmc/openbmc-test-automation#1530
Change-Id: I8b0f37da6b37035f8c7d709e400b0e30a4069f04
Signed-off-by: Sridevi Ramesh <sridevra@in.ibm.com>
diff --git a/redfish/systems/test_power_operations.robot b/redfish/systems/test_power_operations.robot
new file mode 100644
index 0000000..2e7cdaf
--- /dev/null
+++ b/redfish/systems/test_power_operations.robot
@@ -0,0 +1,31 @@
+*** Settings ***
+Documentation This suite tests Redfish BMC power operations.
+Resource ../../lib/boot_utils.robot
+
+Test Teardown FFDC On Test Case Fail
+
+*** Test Cases ***
+
+Verify Redfish BMC GracefulShutdown
+ [Documentation] Verify Redfish BMC gracefulshutdown operation.
+ [Tags] Verify_Redfish_BMC_GracefulShutdown
+
+ Redfish Power Off
+
+Verify Redfish BMC PowerOn
+ [Documentation] Verify Redfish BMC power on operation.
+ [Tags] Verify_Redfish_BMC_PowerOn
+
+ Redfish Power On
+
+Verify Redfish BMC GracefulRestart
+ [Documentation] Verify Redfish BMC gracefulrestart operation.
+ [Tags] Verify_Redfish_BMC_GracefulRestart
+
+ Redfish Host Reboot
+
+Verify Redfish BMC PowerOff
+ [Documentation] Verify Redfish BMC power off operation.
+ [Tags] Verify_Redfish_BMC_PowerOff
+
+ Redfish Hard Power Off