Package org.onosproject.net.pi.model
Interface PiMatchFieldModel
-
@Beta public interface PiMatchFieldModel
Model of a table match field in a protocol-independent pipeline.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
bitWidth()
Returns the number of bits matched by this field.PiMatchFieldId
id()
Returns the ID of this match field.PiMatchType
matchType()
Returns the type of match applied to this field.
-
-
-
Method Detail
-
id
PiMatchFieldId id()
Returns the ID of this match field.- Returns:
- match field ID
-
bitWidth
int bitWidth()
Returns the number of bits matched by this field.- Returns:
- number of bits
-
matchType
PiMatchType matchType()
Returns the type of match applied to this field.- Returns:
- a match type
-
-