Package org.onosproject.net.pi.model
Interface PiPacketOperationModel
-
@Beta public interface PiPacketOperationModel
Model of a packet operation in a protocol-independent pipeline.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<PiPacketMetadataModel>
metadatas()
Returns a list of packet metadata models for this packet operation.PiPacketOperationType
type()
Returns the type of this packet operation.
-
-
-
Method Detail
-
type
PiPacketOperationType type()
Returns the type of this packet operation.- Returns:
- packet operation type
-
metadatas
List<PiPacketMetadataModel> metadatas()
Returns a list of packet metadata models for this packet operation. The metadata models are returned in the same order as they would appear on the control header that is prepended to the packet.- Returns:
- list of packet operation metadata models
-
-