Add test cases for disconnecting network during code update

Resolves openbmc/openbmc-test-automation#992

Change-Id: I4af034974747c0b4ce1916dc563526dc2afc768c
Signed-off-by: Charles Paul Hofer <Charles.Hofer@ibm.com>
diff --git a/extended/code_update/host_recoverable_error_test.robot b/extended/code_update/host_recoverable_error_test.robot
new file mode 100644
index 0000000..cf63b6d
--- /dev/null
+++ b/extended/code_update/host_recoverable_error_test.robot
@@ -0,0 +1,38 @@
+*** Settings ***
+Documentation   Test errors and changes in the environment that BMC code
+...             update should recover from or not be effected by.
+
+Resource        ../../lib/code_update_utils.robot
+Resource        ../../lib/openbmc_ffdc.robot
+
+Suite Setup     Suite Setup Execution
+
+Test Teardown   FFDC On Test Case Fail
+
+*** Variables ***
+${QUIET}            ${1}
+${IMAGE_FILE_PATH}  ${EMPTY}
+
+*** Test Cases ***
+
+Reset Network During Host Code Update
+    [Documentation]  Disable and re-enable the network while doing a PNOR
+    ...              code update.
+    [Tags]  Reset_Network_During_Host_Code_Update
+    [Template]  Reset Network During Code Update
+
+    # Image File Path   Reboot
+    ${IMAGE_FILE_PATH}  ${FALSE}
+
+
+*** Keywords ***
+
+Suite Setup Execution
+    [Documentation]  Do setup tasks for recoverable errors.
+
+    Should Not Be Empty  ${IMAGE_FILE_PATH}
+    ...  msg=IMAGE_FILE_PATH should be set.
+    Should Not Be Empty  ${OPENBMC_SERIAL_HOST}
+    ...  msg=OPENBMC_SERIAL_HOST should be set.
+    Should Not Be Empty  ${OPENBMC_SERIAL_PORT}
+    ...  msg=OPENBMC_SERIAL_PORT should be set.