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): def prepare(self):
self.setupSysctl() self.setupSysctl()
self.runUserspacePM() self.runUserspacePM()
self.mpConfig.configureNetwork()
self.runTcpDump() self.runTcpDump()
self.runNetemAt() self.runNetemAt()
pass pass

View File

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