jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Phillips <notificati...@github.com>
Subject Re: [jclouds] Add nova neutron support (#311)
Date Sat, 08 Mar 2014 19:52:23 GMT
> +
> +/**
> + * Nova (or Neutron) network definition
> + * 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");

[minor] spaces around `!=`?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/311/files#r10410823
Mime
View raw message