mpMininetBuilder: use static ARP
Hoping this will end scary results for Siri...
This commit is contained in:
parent
a7638f84b7
commit
cd0c4e9a58
@ -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()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user