> + * Used to provide support for network, port, and fixed_ip when booting Nova 
> servers.
> + * @author Zack Shoylev
> + */
> +public class Network implements Comparable<Network> {
> +   private String networkUuid;
> +   private String portUuid;
> +   private String fixedIp;
> +
> +   @ConstructorProperties({
> +      "networkUuid", "portUuid", "fixedIp"
> +   })
> +   protected Network(String networkUuid, String portUuid, String fixedIp) {
> +      checkArgument(networkUuid!=null || portUuid!=null, "At least one of 
> networkUuid or portUuid should be specified");
> +      this.networkUuid = networkUuid;
> +      this.portUuid = portUuid;
> +      this.fixedIp = fixedIp;

I think the only constraint is that either a networkUuid or portUuid have to be 
specified.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/311/files#r10442176

Reply via email to