public interface TableContext
The capabilities can be categorized as follows :
1. capabilities : All the supported basic capabilities.
2. match capabilities : All the supported capabilities involving
matchfield.
3. match fields : All the supported match fields along with mask.
Modifier and Type | Method and Description |
---|---|
boolean |
containsNextTable(TableId id)
Returns true if the given table is present in next tables set.
|
boolean |
containsNextTableMiss(TableId id)
Returns true if the given table is present in next tables miss set.
|
TableId |
getNextTableMiss()
Returns the table Id of the next supported table in the pipeline
for a table miss rule.
|
boolean |
hasNextTablesMiss()
Returns true if the context supports next table in the pipeline
for a table miss rule.
|
long |
maxEntries()
Returns the max entries supported by the table.
|
boolean |
supportsCapability(TableFeaturePropType prop,
OfpCodeBasedEnum code)
Returns true if the context supports given capability-code combination.
|
boolean |
supportsMatchField(MatchField mf)
Returns true if the context supports given match field.
|
boolean |
supportsMatchFieldCapability(TableFeaturePropType prop,
OxmFieldType code)
Returns true if the context supports given match capability-code
combination.
|
boolean |
supportsWildCards(Set<OxmFieldType> fmmf)
Returns true if the context supports wild carding all of the given
match field types.
|
TableId |
tableId()
Returns the table ID.
|
TableId tableId()
TableId getNextTableMiss()
boolean hasNextTablesMiss()
boolean containsNextTable(TableId id)
id
- the table Idboolean containsNextTableMiss(TableId id)
id
- the table Idlong maxEntries()
boolean supportsCapability(TableFeaturePropType prop, OfpCodeBasedEnum code)
prop
- the given table feature prop typecode
- the given capability codeboolean supportsMatchFieldCapability(TableFeaturePropType prop, OxmFieldType code)
prop
- the given table feature prop typecode
- the given capability codeboolean supportsMatchField(MatchField mf)
mf
- the match fieldboolean supportsWildCards(Set<OxmFieldType> fmmf)
fmmf
- set of match field typesCopyright © 2015. All Rights Reserved.