mpExperience/mpMininetBuilder: finally ARP works!

Seems a bug is somewhere in minitopo, fixed it by reconfiguring the
network while preparing the experience
This commit is contained in:
Quentin De Coninck 2016-05-05 10:40:28 +02:00
parent 6ff8717cf1
commit 337b9db184
2 changed files with 2 additions and 2 deletions

View File

@ -29,6 +29,7 @@ class MpExperience:
def prepare(self):
self.setupSysctl()
self.runUserspacePM()
self.mpConfig.configureNetwork()
self.runTcpDump()
self.runNetemAt()
pass

View File

@ -20,8 +20,7 @@ class MpMininetBuilder(Topo):
return stdout
def startNetwork(self):
self.net = Mininet(topo=self,link=TCLink,autoStaticArp=True,autoSetMacs=True)
self.net.staticArp()
self.net = Mininet(topo=self,link=TCLink)
self.net.start()
def getCLI(self):