Add new redfish supported keyword in cleanup script
Change-Id: I605188f9309bc98bdff8806bfdb15b5a54524126
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/extended/standby_bmc.robot b/extended/standby_bmc.robot
index 6eeaff5..b64c7cd 100644
--- a/extended/standby_bmc.robot
+++ b/extended/standby_bmc.robot
@@ -54,6 +54,8 @@
Open Connection And Log In host=${OPENBMC_HOST}
+ Run Keyword If ${REDFISH_SUPPORTED} Redfish.Login
+
Wait Until Keyword Succeeds
... 1 min 30 sec Initialize OpenBMC
@@ -66,6 +68,7 @@
Prune Journal Log
Run Keyword And Ignore Error Set BMC Power Policy ${ALWAYS_POWER_OFF}
+ Run Keyword And Ignore Error Redfish Set Power Restore Policy AlwaysOff
# TODO: Enable MAC AES check latter.
# Reference : openbmc/openbmc-test-automation#998