IVSSwitch: support opts constructor parameter
This parameter is already supported by the other switch classes.
This commit is contained in:
@@ -1087,6 +1087,7 @@ class IVSSwitch(Switch):
|
|||||||
args.extend( ['-c', '%s:%d' % (c.IP(), c.port)] )
|
args.extend( ['-c', '%s:%d' % (c.IP(), c.port)] )
|
||||||
if self.listenPort:
|
if self.listenPort:
|
||||||
args.extend( ['--listen', '127.0.0.1:%i' % self.listenPort] )
|
args.extend( ['--listen', '127.0.0.1:%i' % self.listenPort] )
|
||||||
|
args.append( self.opts )
|
||||||
|
|
||||||
logfile = '/tmp/ivs.%s.log' % self.name
|
logfile = '/tmp/ivs.%s.log' % self.name
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user