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:
@@ -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 ):
|
||||
|
||||
Reference in New Issue
Block a user