X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=src%2Femuvim%2Ftest%2Fbase.py;fp=src%2Femuvim%2Ftest%2Fbase.py;h=9efb4abdfc4e05dcc423cb4dfb4cf7909b13bcef;hb=7cd3c2529e5b926d0ca11bbaaa106cb8875059a4;hp=4bad515538598acc51ec078099c205dea334daee;hpb=d87fe47d76dd906a8e9ec2f2dbbcaa7ddc4bbdcb;p=osm%2Fvim-emu.git diff --git a/src/emuvim/test/base.py b/src/emuvim/test/base.py index 4bad515..9efb4ab 100644 --- a/src/emuvim/test/base.py +++ b/src/emuvim/test/base.py @@ -28,7 +28,7 @@ class SimpleTestTopology(unittest.TestCase): def createNet( self, nswitches=0, ndatacenter=0, nhosts=0, ndockers=0, - autolinkswitches=False, controller=Controller): + autolinkswitches=False, controller=Controller, **kwargs): """ Creates a Mininet instance and automatically adds some nodes to it. @@ -37,7 +37,7 @@ class SimpleTestTopology(unittest.TestCase): for our tests. Only use other controllers if you want to test specific controller functionality. """ - self.net = DCNetwork(controller=controller) + self.net = DCNetwork(controller=controller, **kwargs) # add some switches for i in range(0, nswitches):