Revert "Validate BMC system and file name before code update."
This reverts commit 5a40e7feeea94d9783d9c559c6abfa0c56a2eae2.
Change-Id: I23c727588695bbf63436675ac9c002210dd9f79e
diff --git a/extended/code_update/code_update_utils.robot b/extended/code_update/code_update_utils.robot
index 2b301ec..dac252b 100644
--- a/extended/code_update/code_update_utils.robot
+++ b/extended/code_update/code_update_utils.robot
@@ -15,19 +15,6 @@
*** Keywords ***
-Validate BMC Image File Name
- [Documentation] Check that correct BMC image is in use.
- [Arguments] ${file_path}
- # Description of argument(s):
- # file_path The name of the file path to be validated
- # (e.g. /home/XXX/Downloads/witherspoon-XXX.all.tar).
- Open Connection And Log In
- ${bmc_model}= Get BMC System Model
- ${file_name}= Fetch From Right ${filepath} /
- ${status}= Run Keyword And Return Status Should Contain ${file_name}
- ... ${bmc_model} ignore_case=True
- Run Keyword If '${status}'=='False' Fatal Error Wrong Image
-
Preserve BMC Network Setting
[Documentation] Preserve Network setting
${policy}= Set Variable ${1}
diff --git a/extended/code_update/update_bmc.robot b/extended/code_update/update_bmc.robot
index 9ba485b..bb4a43c 100644
--- a/extended/code_update/update_bmc.robot
+++ b/extended/code_update/update_bmc.robot
@@ -28,9 +28,6 @@
Resource ../../lib/utils.robot
Resource ../../lib/openbmc_ffdc.robot
-Library String
-Suite Setup Validate BMC Image File Name ${FILE_PATH}
-
Test Teardown FFDC On Test Case Fail
*** Variables ***