def setUp(self):
   md.kill_controllers()
   self.ctrl = Popen([md.CONTROLLER_PATH,
                         "--verbosity=DEBUG",
                         "--log=learning1.log",
                         "--maclearning"])
   self.mn = md.MininetRunner(md.TreeTopo(depth=2,fanout=2), self.ctrl)
 def setUp(self):
   md.kill_controllers()
   self.mn = md.MininetRunner(md.TreeTopo(depth=2,fanout=2),
                            Popen([md.CONTROLLER_PATH,
                                      "--verbosity=DEBUG",
                                      "--log=repeater.log",
                                      "--repeater"]))
 def setUp(self):
   md.kill_controllers()
   self.ctrl = Popen([md.CONTROLLER_PATH,
                         "--verbosity=DEBUG",
                         "--log=query1.log",
                         "--query1"],stdout=PIPE)
   self.mn = md.MininetRunner(md.TreeTopo(depth=1,fanout=2), self.ctrl)