Skip to content
Snippets Groups Projects
Commit 6ef2973f authored by Bob Lantz's avatar Bob Lantz
Browse files

Use switches rather than switches.keys().

Minor cosmetic change, really.
parent e55cbef1
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,7 @@ def treePing64():
'reference user': UserSwitch,
'Open vSwitch kernel': OVSKernelSwitch }
for name in switches.keys():
for name in switches:
print "*** Testing", name, "datapath"
switch = switches[ name ]
network = TreeNet( depth=2, fanout=8, switch=switch )
......@@ -24,7 +24,7 @@ def treePing64():
print
print "*** Tree network ping results:"
for name in switches.keys():
for name in switches:
print "%s: %d%% packet loss" % ( name, results[ name ] )
print
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment