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.