Pass in REDFISH_SUPPORT_TRANS_STATE to robot_cmd_fnc
Signed-off-by: Michael Shepos <shepos@us.ibm.com>
Change-Id: I68a824b706c6781b833c69f45f244baf62a8ce0e
diff --git a/lib/obmc_boot_test.py b/lib/obmc_boot_test.py
index ccc81c4..5ba505a 100755
--- a/lib/obmc_boot_test.py
+++ b/lib/obmc_boot_test.py
@@ -66,6 +66,8 @@
status_dir_path = os.environ.get('STATUS_DIR_PATH', "")
if status_dir_path != "":
status_dir_path = os.path.normpath(status_dir_path) + os.sep
+redfish_support_trans_state = int(os.environ.get('REDFISH_SUPPORT_TRANS_STATE', 0)) or \
+ int(BuiltIn().get_variable_value("${REDFISH_SUPPORT_TRANS_STATE}", default=0))
redfish_supported = BuiltIn().get_variable_value("${REDFISH_SUPPORTED}", default=False)
redfish_rest_supported = BuiltIn().get_variable_value("${REDFISH_REST_SUPPORTED}", default=False)
if redfish_supported:
@@ -272,7 +274,7 @@
"status_dir_path", "base_tool_dir_path",
"ffdc_list_file_path", "ffdc_report_list_path",
"ffdc_summary_list_path", "execdir", "redfish_supported",
- "redfish_rest_supported"]
+ "redfish_rest_supported", "redfish_support_trans_state"]
plug_in_vars = parm_list + additional_values