> @@ -321,6 +341,24 @@ public CreateServerOptions
> securityGroupNames(Iterable<String> securityGroupName
> return this;
> }
>
> + /**
> + *
> + * @see #getNetworks
> + */
> + public CreateServerOptions networks(String... networks) {
> + return networks(ImmutableSet.copyOf(checkNotNull(networks, "network
> should not be empty")));
> + }
> +
> + /**
> + * @see #getNetworks
> + */
> + public CreateServerOptions networks(Iterable<String> networks) {
> + for (String network : checkNotNull(networks, "networks"))
> + checkNotNull(emptyToNull(network), "all networks must be
> non-empty");
OK. One for (if at all) a separate PR then ;-)
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/72/files#r5512891