Examples of VmHAConfig


Examples of com.vmware.aurora.vc.VcClusterConfig.VmHAConfig

   /* (non-Javadoc)
    * @see com.vmware.aurora.vc.VcVirtualmachine#getVmHAConfig()
    */
   @Override
   public VmHAConfig getVmHAConfig() {
      VmHAConfig vmHAConfig = null;
      // Since the vm cluster information is stored with the cluster, we have to retrieve it
      VcCluster cluster = getResourcePool().getVcCluster();
      vmHAConfig = cluster.getConfig().getDefaultVmHAConfig();
      DasVmConfigInfo[] dasInfo = cluster.getVmConfigInfo();
      if (dasInfo != null) {
         for (DasVmConfigInfo vmConfig : dasInfo) {
            if (vmConfig.getKey().equals(getMoRef())) {
               vmHAConfig = new VmHAConfig(vmConfig, vmHAConfig);
            }
         }
      }
      return vmHAConfig;
   }
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.