- # undefine the vs
- undefine_test_domain(default_dom, options.ip, options.virt)
+ if status != PASS:
+ destroy_netpool(server, virt, test_network)
+ destroy_and_undefine_domain(default_dom, server, virt)
+ return status
+ # Try to reboot the VS which is suspened
+ rq_state = REBOOT_STATE
+ status = try_request_state_change(default_dom, server,
+ rq_state, TIME, err_no,
+ err_desc, virt)
+
Also here, you don't verify the guest has been rebooted properly. Is
there a reason to pull this piece out of the loop?
Kaitlin Rupert
IBM Linux Technology Center
kaitlin(a)linux.vnet.ibm.com