public enum OxmClass extends Enum<OxmClass>
See also the ONF Registry.
Enum Constant and Description |
---|
BIG_SWITCH
Big Switch Networks; Since 1.3.
|
EXPERIMENTER
Experimenter class; Since 1.2.
|
HP
Hewlett-Packard; Since 1.3.
|
NXM_0
Nicira Networks (NXM compatibility); Since 1.2.
|
NXM_1
Nicira Networks (NXM compatibility); Since 1.2.
|
OPENFLOW_BASIC
Basic class for OpenFlow; Since 1.2.
|
UNKNOWN
Special value to represent an unknown OXM class.
|
Modifier and Type | Method and Description |
---|---|
int |
getCode()
Returns the code value for this OXM Class.
|
boolean |
isReservedClass()
Returns true if this class is an ONF reserved class.
|
static OxmClass |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OxmClass[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OxmClass NXM_0
public static final OxmClass NXM_1
public static final OxmClass BIG_SWITCH
public static final OxmClass HP
public static final OxmClass OPENFLOW_BASIC
public static final OxmClass EXPERIMENTER
public static final OxmClass UNKNOWN
public static OxmClass[] values()
for (OxmClass c : OxmClass.values()) System.out.println(c);
public static OxmClass valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getCode()
public boolean isReservedClass()
Copyright © 2015. All Rights Reserved.