fixing --nat option in mn

This commit is contained in:
Brian O'Connor committed 2013-10-03 16:29:05 -07:00
1 parent a802d8b19a
commit ffeb16eb66
4 files changed
+16 -17

No files matched your search

+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()