Enum NetworkType

    • Enum Constant Detail

      • LOCAL

        public static final NetworkType LOCAL
        Used to describe a local network.
      • FLAT

        public static final NetworkType FLAT
        Used to describe a flat network.
      • VLAN

        public static final NetworkType VLAN
        Used to describe a VLAN network. NetworkSegment might have to be set.
      • VXLAN

        public static final NetworkType VXLAN
        Used to describe a Virtual Extensible LAN (VXLAN) network. It uses a VLAN-like encapsulation technique to encapsulate MAC-based OSI layer 2 Ethernet frames within layer 4 UDP packets.
      • GRE

        public static final NetworkType GRE
        Used to describe a GRE tunnel network. A virtual network realized as packets encapsulated using Generic Routing Encapsulation. GRE tunnel packets are routed by the compute node hosts, so GRE tunnels are not associated by the openvswitch plugin with specific physical networks.
      • UNRECOGNIZED

        public static final NetworkType UNRECOGNIZED
        Used by jclouds when the service returns an unknown value other than null.
    • Method Detail

      • values

        public static NetworkType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (NetworkType c : NetworkType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static NetworkType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null