Replaced BMC reset with PDU reset keyword in restore policy testcase
and added PDU library files for few other PDU types
Tested: Run robot redfish/extended/test_power_restore.robot
Signed-off-by: Aravinth R <aravinthr@ami.com>
Change-Id: I4554c1b071a496feaeef65b7b9735bb97a41c7cb
diff --git a/redfish/extended/test_power_restore.robot b/redfish/extended/test_power_restore.robot
index 8107cdb..0ca0923 100644
--- a/redfish/extended/test_power_restore.robot
+++ b/redfish/extended/test_power_restore.robot
@@ -11,6 +11,7 @@
Resource ../../lib/boot_utils.robot
Resource ../../lib/bmc_redfish_resource.robot
Resource ../../lib/bmc_redfish_utils.robot
+Resource ../../lib/pdu/pdu.robot
Library ../../lib/state_map.py
Test Teardown Test Teardown Execution
@@ -120,7 +121,7 @@
Redfish Set Power Restore Policy ${policy}
- Redfish BMC Reset Operation
+ PDU Power Cycle
Sleep 20s
Wait For BMC Online