Basic BMC performance check before and after code update

Resolves openbmc/openbmc-test-automation#1007

Change-Id: I2584a14695163fb5c3ed3a809baff704b9f410d6
Signed-off-by: Sivas SRR <sivas.srr@in.ibm.com>
diff --git a/extended/code_update/bmc_code_update.robot b/extended/code_update/bmc_code_update.robot
index b97b103..3aad17a 100644
--- a/extended/code_update/bmc_code_update.robot
+++ b/extended/code_update/bmc_code_update.robot
@@ -6,6 +6,7 @@
 
 Library           ../../lib/code_update_utils.py
 Variables         ../../data/variables.py
+Resource          ../../lib/utils.robot
 Resource          ../../lib/boot_utils.robot
 Resource          code_update_utils.robot
 Resource          ../../lib/code_update_utils.robot
@@ -30,6 +31,13 @@
 
 *** Test Cases ***
 
+Test Basic BMC Performance Before BMC Code Update
+    [Documentation]  Check performance of memory, CPU & file system of BMC.
+    [Tags]  Test_Basic_BMC_Performance_Before_BMC_Code_Update
+
+    Open Connection And Log In
+    Check BMC Performance
+
 Prepare Persistent Data
     [Documentation]  Set data that should persist across the code update.
     [Tags]  Prepare_Persistent_Data
@@ -164,6 +172,13 @@
     ...  version_type=${VERSION_PURPOSE_BMC}
     Should Not Contain  ${software_ids}  ${version_id}
 
+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
+
+    Open Connection And Log In
+    Check BMC Performance
+
 
 *** Keywords ***
 
@@ -221,3 +236,4 @@
 
     FFDC On Test Case Fail
     Run Keyword If  '${TEST_STATUS}' == 'PASS'  Check Error And Collect FFDC
+    Close All Connections