mbligh | 920327b | 2007-10-12 20:42:25 +0000 | [diff] [blame] | 1 | def run(machine): |
2 | host = hosts.SSHHost(machine) | ||||
mbligh | a8056b1 | 2007-12-19 15:51:02 +0000 | [diff] [blame] | 3 | print host.is_up() |
mbligh | 920327b | 2007-10-12 20:42:25 +0000 | [diff] [blame] | 4 | host.reboot() |
5 | |||||
mbligh | d74208c | 2008-04-17 15:27:03 +0000 | [diff] [blame^] | 6 | job.parallel_simple(run, machines) |