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:16:29 GMT
> +// by default, all the nodes created by jclouds will have `jclouds.org` as domain name.

> +// If you want to edit that default value, you can specify something like:
> +// Template template = compute.templateBuilder().options(SoftLayerTemplateOptions.Builder.domainName("yourDomainName"))
> +//                                              .osFamily(OsFamily.UBUNTU)
> +//                                              .build()
> +Set<? extends NodeMetadata> groupedNodes = compute.createNodesInGroup("myGroup",
2, template);
> +
> +// Reboot images in a group
> +compute.rebootNodesMatching(inGroup("myGroup"));
> +
> +// Destroy nodes in a group
> +Set<? extends NodeMetadata> destroyed = compute.destroyNodesMatching(Predicates.<NodeMetadata>
and(not(TERMINATED), inGroup(groupName)));
> +
> +{% endhighlight %}
> +
> +5. Validate on the [SoftLayer Portal](https://manage.softlayer.com/CloudLayer/computing)

"Validate via ..." or "Validate from ..."?

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