mpMininetBuilder: use static ARP

Hoping this will end scary results for Siri...
This commit is contained in:
Quentin De Coninck 2016-05-04 09:23:12 +02:00
parent a7638f84b7
commit cd0c4e9a58

View File

@ -20,7 +20,7 @@ class MpMininetBuilder(Topo):
return stdout return stdout
def startNetwork(self): def startNetwork(self):
self.net = Mininet(topo=self,link=TCLink) self.net = Mininet(topo=self,link=TCLink,autoStaticArp=True)
self.net.start() self.net.start()
def getCLI(self): def getCLI(self):
@ -41,4 +41,3 @@ class MpMininetBuilder(Topo):
print("Could not stop network... Nothing to stop)") print("Could not stop network... Nothing to stop)")
else: else:
self.net.stop() self.net.stop()