public enum TableConfig extends Enum<TableConfig> implements OfpBitmapEnum
| Enum Constant and Description |
|---|
TABLE_MISS_CONTINUE
Unmatched packets are directed to the next table in the pipeline;
Since 1.1; Removed at 1.3.
|
TABLE_MISS_CONTROLLER
Unmatched packets are sent to the controller;
Since 1.1; Removed at 1.3.
|
TABLE_MISS_DROP
Drops unmatched packets; Since 1.1; Removed at 1.3.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getBit(ProtocolVersion pv)
Returns the bit value for the constant, under the given protocol
version.
|
String |
toDisplayString()
Returns a string representation of the constant, suitable for
presentation in a display.
|
String |
toString() |
static TableConfig |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TableConfig[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TableConfig TABLE_MISS_CONTROLLER
public static final TableConfig TABLE_MISS_CONTINUE
public static final TableConfig TABLE_MISS_DROP
public static TableConfig[] values()
for (TableConfig c : TableConfig.values()) System.out.println(c);
public static TableConfig 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 getBit(ProtocolVersion pv)
OfpBitmapEnumgetBit in interface OfpBitmapEnumpv - the protocol versionpublic String toString()
toString in class Enum<TableConfig>public String toDisplayString()
OfpBitmapEnumtoDisplayString in interface OfpBitmapEnumCopyright © 2014. All Rights Reserved.