java.lang.Object
org.jclouds.openstack.nova.v2_0.domain.Network
All Implemented Interfaces:
Comparable<Network>

public class Network extends Object implements Comparable<Network>
Nova (or Neutron) network definition Used to provide support for network, port, and fixed_ip when booting Nova servers. OpenStack will support either a Nova Network or Neutron, but not both at the same time. Specifying a port is only possible with Neutron.
  • Constructor Details

  • Method Details

    • getNetworkUuid

      public String getNetworkUuid()
      Returns:
      the network uuid - Neutron or Nova
    • getPortUuid

      public String getPortUuid()
      Returns:
      the port uuid - Neutron only
    • getFixedIp

      public String getFixedIp()
      Returns:
      the fixed IP address - Neutron or Nova
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • string

      protected com.google.common.base.MoreObjects.ToStringHelper string()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • builder

      public static Network.Builder builder()
      Returns:
      A new builder object
    • toBuilder

      public Network.Builder toBuilder()
      Returns:
      A new Builder object from another Network
    • compareTo

      public int compareTo(Network that)
      Specified by:
      compareTo in interface Comparable<Network>