1def run(machine): 2 host = hosts.create_host(machine) 3 print host.is_up() 4 host.reboot() 5 6job.parallel_simple(run, machines) 7
1def run(machine): 2 host = hosts.create_host(machine) 3 print host.is_up() 4 host.reboot() 5 6job.parallel_simple(run, machines) 7