@Override
public void destroyNode(final String id) {
VirtualMachineMonitor monitor = monitoringService.getVirtualMachineMonitor();
VirtualMachine vm = getNode(id);
vm.undeploy(true);
monitor.awaitCompletionUndeploy(timeouts.nodeTerminated, TimeUnit.MILLISECONDS, vm);
vm.delete();
}
@Override
public void rebootNode(final String id) {