Examples of ScaleVMSP


Examples of com.vmware.bdd.service.sp.ScaleVMSP

               (((long) Math.ceil(memory * node.getNodeGroup().getSwapRatio()) + 1023) / 1024) * 1024;
         logger.info("new swap disk size(MB): " + newSwapSizeInMB);
         targetDs = getTargetDsForSwapDisk(node, swapDisk, newSwapSizeInMB);
      }

      ScaleVMSP scaleVMSP =
            new ScaleVMSP(node.getMoId(), cpuNumber, memory, targetDs,
                  swapDisk, newSwapSizeInMB);
      return VcVmUtil.runSPOnSingleVM(node, scaleVMSP);
   }
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.