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:
parent
6ff8717cf1
commit
337b9db184
@ -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
|
||||||
|
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user