REDFISH_REST_SUPPORTED initialize to support backward compatible
Due to the test infrastructure by default checks for redfish as
a first choice to probe to connect to BMC, by default set to true
for REST and redfish support.
Change-Id: Id195e7e89bbeb51645282347171d46fc62ac5bf2
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/lib/bmc_redfish.py b/lib/bmc_redfish.py
index 835af31..61b8177 100644
--- a/lib/bmc_redfish.py
+++ b/lib/bmc_redfish.py
@@ -50,6 +50,7 @@
gp.lprint_varx("except_value", str(except_value))
raise(get_exception)
BuiltIn().set_global_variable("${REDFISH_SUPPORTED}", self.__inited__)
+ BuiltIn().set_global_variable("${REDFISH_REST_SUPPORTED}", True)
def login(self, *args, **kwargs):
r"""