X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2Fvim-emu.git;a=blobdiff_plain;f=src%2Femuvim%2Ftest%2Fbase.py;h=2021355ccee62497c8af6bc2341526db46996fad;hp=5a83547cd8fc90e7a4047ce3f059781b4d8d63b3;hb=241e3e951c4871d956c29887ab101adce4817363;hpb=59dcbb03fe3899d2b3586309dea3a7c546f2353d diff --git a/src/emuvim/test/base.py b/src/emuvim/test/base.py index 5a83547..2021355 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):