Package org.jclouds.softlayer.compute.options

Examples of org.jclouds.softlayer.compute.options.SoftLayerTemplateOptions.tags()


      //options.diskType("SAN");
      //options.portSpeed(10);
      // multi-disk option
      options.blockDevices(ImmutableSet.of(100));
      //tags
      options.tags(ImmutableList.of("jclouds"));

      Set<? extends NodeMetadata> nodes = context.getComputeService().createNodesInGroup(name, numNodes, template);
      assertEquals(numNodes, nodes.size(), "wrong number of nodes");
      for (NodeMetadata node : nodes) {
         logger.debug("Created Node: %s", node);
View Full Code Here


      options.domainName("live.org");
      // multi-disk option
      //options.blockDevices(ImmutableList.of(25, 400, 400));
      //options.diskType("SAN");
      //tags
      options.tags(ImmutableList.of("jclouds"));
      Set<? extends NodeMetadata> nodes = context.getComputeService().createNodesInGroup(name, numNodes, template);
      assertEquals(numNodes, nodes.size(), "wrong number of nodes");
      for (NodeMetadata node : nodes) {
         logger.debug("Created Node: %s", node);
         SshClient client = context.utils().sshForNode().apply(node);
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.