Class 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.
    • Method Detail

      • 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
      • string

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

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

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