Package org.ovirt.engine.sdk4.types
Enum OpenStackNetworkProviderType
- java.lang.Object
-
- java.lang.Enum<OpenStackNetworkProviderType>
-
- org.ovirt.engine.sdk4.types.OpenStackNetworkProviderType
-
- All Implemented Interfaces:
Serializable
,Comparable<OpenStackNetworkProviderType>
public enum OpenStackNetworkProviderType extends Enum<OpenStackNetworkProviderType>
The OpenStack network provider can either be implemented by OpenStack Neutron, in which case the Neutron agent is automatically installed on the hosts, or it can be an external provider implementing the OpenStack API, in which case the virtual interface driver is a custom solution installed manually.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OpenStackNetworkProviderType
fromValue(String value)
String
value()
static OpenStackNetworkProviderType
valueOf(String name)
Returns the enum constant of this type with the specified name.static OpenStackNetworkProviderType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXTERNAL
public static final OpenStackNetworkProviderType EXTERNAL
Indicates that the provider is an external one, implementing the OpenStack Neutron API. The virtual interface driver in this case is implemented by the external provider.
-
NEUTRON
public static final OpenStackNetworkProviderType NEUTRON
Indicates that the provider is OpenStack Neutron. The standard OpenStack Neutron agent is used as the virtual interface driver.
-
-
Method Detail
-
values
public static OpenStackNetworkProviderType[] 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 (OpenStackNetworkProviderType c : OpenStackNetworkProviderType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OpenStackNetworkProviderType 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 nameNullPointerException
- if the argument is null
-
value
public String value()
-
fromValue
public static OpenStackNetworkProviderType fromValue(String value)
-
-