satisfy code check
This commit is contained in:
@@ -21,7 +21,7 @@ from sys import argv
|
|||||||
|
|
||||||
class SingleSwitchTopo(Topo):
|
class SingleSwitchTopo(Topo):
|
||||||
"Single switch connected to n hosts."
|
"Single switch connected to n hosts."
|
||||||
def build(self, n=2,lossy=True, **opts):
|
def build(self, n=2, lossy=True )
|
||||||
switch = self.addSwitch('s1')
|
switch = self.addSwitch('s1')
|
||||||
for h in range(n):
|
for h in range(n):
|
||||||
# Each host gets 50%/n of system CPU
|
# Each host gets 50%/n of system CPU
|
||||||
|
|||||||
Reference in New Issue
Block a user