fixing --nat option in mn

This commit is contained in:
Brian O'Connor
2013-10-03 16:29:05 -07:00
parent a802d8b19a
commit ffeb16eb66
4 changed files with 16 additions and 17 deletions
+2 -2
View File
@@ -56,7 +56,7 @@ class InternetTopo(Topo):
defaultRoute='via %s' % localIP)
self.addLink(host, switch)
def perfTest():
def run():
"Create network and run simple performance test"
topo = InternetTopo()
net = Mininet(topo=topo)
@@ -66,4 +66,4 @@ def perfTest():
if __name__ == '__main__':
setLogLevel('info')
perfTest()
run()