Examples of toGuestVariable()


Examples of com.vmware.bdd.specpolicy.GuestMachineIdSpec.toGuestVariable()

      // this getRepalcementVmSP() is not called by any UT, so no need to check NPE for node.getIpConfigsInfo()
      GuestMachineIdSpec machineIdSpec = new GuestMachineIdSpec(networkAdds,
            node.fetchPortGroupToIpMap(), node.getPrimaryMgtNic().getNetworkEntity().getPortGroup());
      logger.info("machine id of vm " + node.getVmName() + ":\n" + machineIdSpec.toString());
      Map<String, String> guestVariable = machineIdSpec.toGuestVariable();

      // TODO: rafactor this function
      VcVmUtil.addBootupUUID(guestVariable);

      String haFlag = clusterSpec.getNodeGroup(groupName).getHaFlag();
View Full Code Here

Examples of com.vmware.bdd.specpolicy.GuestMachineIdSpec.toGuestVariable()

               new GuestMachineIdSpec(networkAdds,
                     vNode.fetchPortGroupToIpV4Map(),
                     vNode.getPrimaryMgtPgName());
         logger.info("machine id of vm " + vNode.getVmName() + ":\n"
               + machineIdSpec.toString());
         spec.setBootupConfigs(machineIdSpec.toGuestVariable());
         // timeout is 10 mintues
         StartVmPostPowerOn query =
               new StartVmPostPowerOn(vNode.getNics().keySet(),
                     Constants.VM_POWER_ON_WAITING_SEC);
         spec.setPostPowerOn(query);
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.