XYZ network automation.

This resolves openbmc/openbmc-test-automation#1417

Change-Id: I46644158939f747c1134af5cbe73bd64cfbceb0e
Signed-off-by: Prashanth Katti <prkatti1@in.ibm.com>
diff --git a/lib/bmc_network_utils.robot b/lib/bmc_network_utils.robot
index 231eb0e..d8019f8 100644
--- a/lib/bmc_network_utils.robot
+++ b/lib/bmc_network_utils.robot
@@ -189,10 +189,12 @@
     Run Keyword And Ignore Error  OpenBMC Delete Request  ${ip_uri}
 
     # After any modification on network interface, BMC restarts network
-    # module, wait until it is reachable.
+    # module, wait until it is reachable. Then wait 15 seconds for new
+    # configuration to be updated on BMC.
 
-    Wait For Host To Ping  ${OPENBMC_HOST}  ${NETWORK_RETRY_TIME}
-    ...  ${NETWORK_TIMEOUT}
+    Wait For Host To Ping  ${OPENBMC_HOST}  ${NETWORK_TIMEOUT}
+    ...  ${NETWORK_RETRY_TIME}
+    Sleep  15s
 
     # Verify whether deleted IP address is removed from BMC system.
 
@@ -249,4 +251,4 @@
     OS Execute Command  build_net help y y
     # Run pingum to chech if the "build_net" was run correctly done.
     ${output}  ${stderr}  ${rc}=  OS Execute Command  pingum
-    Should Contain  ${output}  All networks ping Ok
\ No newline at end of file
+    Should Contain  ${output}  All networks ping Ok
diff --git a/network/test_network.robot b/network/test_network.robot
index 49858f0..f442863 100644
--- a/network/test_network.robot
+++ b/network/test_network.robot
@@ -526,10 +526,12 @@
     ...  ${NETWORK_MANAGER}/eth0/action/IP  data=${data}
 
     # After any modification on network interface, BMC restarts network
-    # module, wait until it is reachable.
+    # module, wait until it is reachable. Then wait 15 seconds for new
+    # configuration to be updated on BMC.
 
-    Wait For Host To Ping  ${OPENBMC_HOST}  ${NETWORK_RETRY_TIME}
-    ...  ${NETWORK_TIMEOUT}
+    Wait For Host To Ping  ${OPENBMC_HOST}  ${NETWORK_TIMEOUT}
+    ...  ${NETWORK_RETRY_TIME}
+    Sleep  15s
 
     # Verify whether new IP address is populated on BMC system.
     # It should not allow to configure invalid settings.