added waitConnected attribute to mininet class

This commit is contained in:
Cody Burkard committed 2014-07-09 19:12:15 -07:00
1 parent 1aed2b8abd
commit 84ea8d7f90
2 files changed
+31 -2

No files matched your search

+2
View File
@@ -261,12 +261,14 @@ class MininetRunner( object ):
if test == 'none':
pass
elif test == 'all':
mn.waitConnected()
mn.start()
mn.ping()
mn.iperf()
elif test == 'cli':
CLI( mn )
elif test != 'build':
mn.waitConnected()
getattr( mn, test )()
if self.options.post: