IVSSwitch: support opts constructor parameter

This parameter is already supported by the other switch classes.
This commit is contained in:
Rich Lane
2013-09-16 13:33:38 -07:00
parent 32de4c9e7c
commit d4fabc0464
+1
View File
@@ -1087,6 +1087,7 @@ class IVSSwitch(Switch):
args.extend( ['-c', '%s:%d' % (c.IP(), c.port)] )
if self.listenPort:
args.extend( ['--listen', '127.0.0.1:%i' % self.listenPort] )
args.append( self.opts )
logfile = '/tmp/ivs.%s.log' % self.name