Verify IPMI disable policy persistency after code update
Changes:
- Test to set IPMI disable, update BMC code and verify policy
post update.
Change-Id: Id894cc1700077a132cb15b5e83e5434dca1666e9
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/extended/code_update/bmc_code_update.robot b/extended/code_update/bmc_code_update.robot
index 94d8f70..7d6a332 100644
--- a/extended/code_update/bmc_code_update.robot
+++ b/extended/code_update/bmc_code_update.robot
@@ -13,6 +13,7 @@
Resource ../../lib/code_update_utils.robot
Resource ../../lib/openbmc_ffdc.robot
Resource ../../lib/dump_utils.robot
+Resource ../../lib/ipmi_client.robot
Suite Setup Suite Setup Execution
@@ -176,6 +177,26 @@
... version_type=${VERSION_PURPOSE_BMC}
Should Not Contain ${software_ids} ${version_id}
+
+Verify IPMI Disable Policy Post BMC Code Update
+ [Documentation] Disable IPMI, update BMC and verify post-update.
+ [Tags] Verify_IPMI_Disable_Policy_Post_BMC_Code_Update
+
+ REST Power On
+
+ Run Inband IPMI Standard Command lan set 1 access off
+ Run Keyword and Expect Error *Unable to establish IPMI*
+ ... Run External IPMI Standard Command lan print
+
+ Upload And Activate Image ${IMAGE_FILE_PATH}
+ ... skip_if_active=${SKIP_UPDATE_IF_ACTIVE}
+ OBMC Reboot (off)
+ Verify Running BMC Image ${IMAGE_FILE_PATH}
+
+ Run Keyword and Expect Error *Unable to establish IPMI*
+ ... Run External IPMI Standard Command lan print
+
+
Test Basic BMC Performance After Code Update
[Documentation] Check performance of memory, CPU & file system of BMC.
[Tags] Test_Basic_BMC_Performance_After_Code_Update