Wait for controller shutdown.

Unfortunately, this can slow things down a bit - perhaps
100-200 ms in the case of ovs-controller, but I am hoping that
it may help slightly with #399.
This commit is contained in:
Bob Lantz
2014-10-02 20:09:17 -07:00
parent 629e58ca5b
commit 098bede0ec
+1
View File
@@ -1293,6 +1293,7 @@ class Controller( Node ):
def stop( self ):
"Stop controller."
self.cmd( 'kill %' + self.command )
self.cmd( 'wait %' + self.command )
self.terminate()
def IP( self, intf=None ):