jclouds-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Phillips <notificati...@github.com>
Subject Re: [jclouds-site] add softlayer cloudlayer quickstart (#49)
Date Thu, 02 Jan 2014 17:15:42 GMT
> +
> +// List availability zones
> +Set<? extends Location> locations = compute.listAssignableLocations();
> +
> +// List nodes
> +Set<? extends ComputeMetadata> nodes = compute.listNodes();
> +
> +// List hardware profiles
> +Set<? extends Hardware> hardware = compute.listHardwareProfiles();
> +
> +// List images
> +Set<? extends org.jclouds.compute.domain.Image> image  = compute.listImages();
> +
> +// Create nodes with templates
> +Template template = compute.templateBuilder().osFamily(OsFamily.UBUNTU).build();
> +// by default, all the nodes created by jclouds will have `jclouds.org` as domain name.


"as the domain name"?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-site/pull/49/files#r8617079
Mime
  • Unnamed multipart/alternative (inline, 7-Bit, 0 bytes)
View raw message