XYZ Network: Define the network timer.

This change includes:
    1. Increase wait timer after network add and delete operation.
    2. Define network wait timer in common place.

Resolves openbmc/openbmc-test-automation#1141

Change-Id: If613ab3c1c9331c7a65cb634028534cfa6afb721
Signed-off-by: Prashanth Katti <prkatti1@in.ibm.com>
diff --git a/lib/bmc_network_utils.robot b/lib/bmc_network_utils.robot
index cccbdd5..fbc5c6f 100644
--- a/lib/bmc_network_utils.robot
+++ b/lib/bmc_network_utils.robot
@@ -156,7 +156,8 @@
     # After any modification on network interface, BMC restarts network
     # module, wait until it is reachable.
 
-    Wait For Host To Ping  ${OPENBMC_HOST}  0.3  1
+    Wait For Host To Ping  ${OPENBMC_HOST}  ${NETWORK_RETRY_TIME}
+    ...  ${NETWORK_TIMEOUT}
 
     # Verify whether deleted IP address is removed from BMC system.
 
diff --git a/lib/resource.txt b/lib/resource.txt
index 4dc06ea..a9ad430 100755
--- a/lib/resource.txt
+++ b/lib/resource.txt
@@ -41,8 +41,10 @@
 ${OS_WAIT_TIMEOUT}  ${15*60}
 
 # Networking related parameters
-${NETWORK_PORT}     80
-${PACKET_TYPE}      tcp
+${NETWORK_PORT}        80
+${PACKET_TYPE}         tcp
+${NETWORK_RETRY_TIME}  6
+${NETWORK_TIMEOUT}     12
 
 # BMC debug tarball parameter
 ${DEBUG_TARBALL_PATH}  ${EMPTY}