Commit 4ccdd8e1 authored by cedgar's avatar cedgar
Browse files

fix switches reboot

parent 1a739e50
...@@ -156,7 +156,7 @@ class AppRunner(object): ...@@ -156,7 +156,7 @@ class AppRunner(object):
for switch in self.topo.get_switches(): for switch in self.topo.get_switches():
self.stop_switch(switch) self.stop_switch(switch)
def reboot_switches(switch): def reboot_switches(self):
self.stop_switches() self.stop_switches()
time.sleep(1) time.sleep(1)
self.start_switches() self.start_switches()
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment