Add Verify_Redfish_BMC_PowerOn_With_OCC_State case
There is case to test the BMC to power on host,
Verify_Redfish_Host_PowerOn, in which it verifies that the OCC state is
active and `PowerConsumedWatts` exists on Redfish.
However, for systems without a total power sensor, e.g. Romulus and
Palmetto, there is no total_power sensor, and thus there is no
`PowerConsumedWatts` property on Redfish.
Add a case that only powers on the host and verify the OCC state, but
not check the `PowerConsumedWatts` property, so that it could be used to
test on systems without total power sensor.
Tested: Verify the case Verify_Redfish_BMC_PowerOn_With_OCC_State
passed on Palmetto and Romulus.
Signed-off-by: Lei YU <mine260309@gmail.com>
Change-Id: If0ab344d4d3112c2a59d1386fe05128313296ad2
diff --git a/redfish/systems/test_power_operations.robot b/redfish/systems/test_power_operations.robot
index 7af7e87..6fc7c22 100644
--- a/redfish/systems/test_power_operations.robot
+++ b/redfish/systems/test_power_operations.robot
@@ -17,6 +17,16 @@
Redfish Power Off
+Verify Redfish BMC PowerOn With OCC State
+ [Documentation] Verify Redfish host power on operation.
+ [Tags] Verify_Redfish_BMC_PowerOn_With_OCC_State
+
+ Redfish Power On
+
+ # TODO: Replace OCC state check with redfish property when available.
+ Verify OCC State
+
+
Verify Redfish BMC PowerOn
[Documentation] Verify Redfish host power on operation.
[Tags] Verify_Redfish_Host_PowerOn