Package com.cloud.deploy

Examples of com.cloud.deploy.DeploymentPlanner


            params.put(VirtualMachineProfile.Param.VmPassword, password);
        }

        VirtualMachineEntity vmEntity = _orchSrvc.getVirtualMachine(vm.getUuid());

        DeploymentPlanner planner = null;
        if (deploymentPlannerToUse != null) {
            // if set to null, the deployment planner would be later figured out either from global config var, or from
            // the service offering
            planner = _planningMgr.getDeploymentPlannerByName(deploymentPlannerToUse);
            if (planner == null) {
View Full Code Here


                }
            }
       
        }
       
        DeploymentPlanner planner = ComponentContext.getComponent(plannerToUse);
        DeployDestination dest = null;
       
        if (planner.canHandle(vmProfile, plan, exclude)) {
            dest = planner.plan(vmProfile, plan, exclude);
        }

        if (dest != null) {
           //save destination with VMEntityVO
            VMReservationVO vmReservation = new VMReservationVO(vm.getId(), dest.getDataCenter().getId(), dest.getPod().getId(), dest.getCluster().getId(), dest.getHost().getId());
View Full Code Here

TOP

Related Classes of com.cloud.deploy.DeploymentPlanner

Copyright © 2018 www.massapicom. 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.