Examples of blockDevices()


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

      SoftLayerTemplateOptions options = template.getOptions().as(SoftLayerTemplateOptions.class);
      options.domainName("live.org");
      //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");
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.