Package com.vmware.aurora.composition

Examples of com.vmware.aurora.composition.NetworkSchema


   }

   private VmSchema createVmSchema() {
      VmSchema vmSchema = new VmSchema();
      vmSchema.diskSchema = new DiskSchema();
      vmSchema.networkSchema = new NetworkSchema();
      vmSchema.networkSchema.networks = new ArrayList<Network>();
      vmSchema.resourceSchema = new ResourceSchema();
      return vmSchema;
   }
View Full Code Here


      // target vm folder
      node.setVmFolder(nodeGroup.getVmFolderPath());

      // target network, hard coded as the only one NIC
      NetworkSchema netSchema = new NetworkSchema();

      ArrayList<Network> networks = new ArrayList<Network>();
      netSchema.networks = networks;

      // TODO: enhance this logic to support nodegroup level networks
View Full Code Here

         network.nicLabel = NIC_LABEL_PREFIX + labelIndex;
         labelIndex++;
         networks.add(network);
      }

      NetworkSchema networkSchema = new NetworkSchema();
      networkSchema.name = "Network Schema";
      networkSchema.networks = networks;
      schema.networkSchema = networkSchema;

      return schema;
View Full Code Here

TOP

Related Classes of com.vmware.aurora.composition.NetworkSchema

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.