Default to Redfish Power On/Off
If Redfish is supported by the OBMC, obmc_boot_test.py will use
'Redfish Power On' and 'Redfish Power Off' as the default transitional
boot tests.
Change-Id: I56235ccd750bddd1be67d65340a0de9a1b73b76e
Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
diff --git a/lib/bmc_redfish.py b/lib/bmc_redfish.py
index 4a54630..3f1f322 100644
--- a/lib/bmc_redfish.py
+++ b/lib/bmc_redfish.py
@@ -48,6 +48,7 @@
gp.lprint_var(except_type)
gp.lprint_varx("except_value", str(except_value))
raise(get_exception)
+ BuiltIn().set_global_variable("${REDFISH_SUPPORTED}", self.__inited__)
def login(self, *args, **kwargs):
r"""