Examples of VmwareCleanupMaid


Examples of com.cloud.hypervisor.vmware.VmwareCleanupMaid

            cmd instanceof CreatePrivateTemplateFromSnapshotCommand ||
            cmd instanceof CopyVolumeCommand ||
            cmd instanceof CreateVolumeFromSnapshotCommand) {
           
            String workerName = _vmwareMgr.composeWorkerName();
            long checkPointId = _checkPointMgr.pushCheckPoint(new VmwareCleanupMaid(hostDetails.get("guid"), workerName));
            cmd.setContextParam("worker", workerName);
            cmd.setContextParam("checkpoint", String.valueOf(checkPointId));

            // some commands use 2 workers
                    String workerName2 = _vmwareMgr.composeWorkerName();
                    long checkPointId2 = _checkPointMgr.pushCheckPoint(new VmwareCleanupMaid(hostDetails.get("guid"), workerName2));
                    cmd.setContextParam("worker2", workerName2);
                    cmd.setContextParam("checkpoint2", String.valueOf(checkPointId2));
          }
         
          return cmdTarget.first().getId();
View Full Code Here

Examples of com.cloud.hypervisor.vmware.VmwareCleanupMaid

    }

   
    @Override
  public long pushCleanupCheckpoint(String hostGuid, String vmName) {
        return _checkPointMgr.pushCheckPoint(new VmwareCleanupMaid(hostGuid, vmName));
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.