> +// 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