diff --git a/test/infamy/env.py b/test/infamy/env.py index 8ffcd8f4..2605d769 100644 --- a/test/infamy/env.py +++ b/test/infamy/env.py @@ -4,6 +4,7 @@ import os import pydot import shlex import sys +import time from . import neigh, netconf, tap, topology @@ -90,7 +91,7 @@ class Env(object): if not mgmtip: raise Exception(f"Failed, cannot find mgmt IP for {node}") - print(f"Mgmt IP {mgmtip}") + time.sleep(10) return netconf.Device( location=netconf.Location(mgmtip), mapping=mapping, diff --git a/test/infamy/netconf.py b/test/infamy/netconf.py index 09579b00..d322c52c 100644 --- a/test/infamy/netconf.py +++ b/test/infamy/netconf.py @@ -44,6 +44,7 @@ class Device(object): 0, 0, socket.SOL_TCP) sock = socket.socket(ai[0][0], ai[0][1], 0) sock.settimeout(60) + print(f"Connecting to mgmt IP {location.host}:{location.port} ...") sock.connect(ai[0][4]) sock.settimeout(None)