Package org.onosproject.net.pi.model
Interface PiPipelineModel
- 
@Beta public interface PiPipelineModelModel of a protocol-independent pipeline. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<PiActionProfileModel>actionProfiles()Returns all action profile models defined by this pipeline model.Optional<PiActionProfileModel>actionProfiles(PiActionProfileId actionProfileId)Returns the action profile model associated with the given ID, if present.Optional<PiCounterModel>counter(PiCounterId counterId)Returns the counter model associated with the given ID, if present.Collection<PiCounterModel>counters()Returns all counter models defined by this pipeline model.Optional<PiMeterModel>meter(PiMeterId meterId)Returns the meter model associated with the given ID, if present.Collection<PiMeterModel>meters()Returns all meter models defined by this pipeline model.Optional<PiPacketOperationModel>packetOperationModel(PiPacketOperationType type)Returns the packet operation model of the given type, if present.Optional<PiRegisterModel>register(PiRegisterId registerId)Returns the register model associated with the given ID, if present.Collection<PiRegisterModel>registers()Returns all register models defined by this pipeline model.Optional<PiTableModel>table(PiTableId tableId)Returns the table model associated with the given ID, if present.Collection<PiTableModel>tables()Returns the collection of all table models defined by this pipeline model. 
 - 
 
- 
- 
Method Detail
- 
table
Optional<PiTableModel> table(PiTableId tableId)
Returns the table model associated with the given ID, if present.- Parameters:
 tableId- table ID- Returns:
 - optional table model
 
 
- 
tables
Collection<PiTableModel> tables()
Returns the collection of all table models defined by this pipeline model.- Returns:
 - collection of actions
 
 
- 
counter
Optional<PiCounterModel> counter(PiCounterId counterId)
Returns the counter model associated with the given ID, if present.- Parameters:
 counterId- counter ID- Returns:
 - optional counter model
 
 
- 
counters
Collection<PiCounterModel> counters()
Returns all counter models defined by this pipeline model.- Returns:
 - collection of counter models
 
 
- 
meter
Optional<PiMeterModel> meter(PiMeterId meterId)
Returns the meter model associated with the given ID, if present.- Parameters:
 meterId- meter ID- Returns:
 - optional meter model
 
 
- 
meters
Collection<PiMeterModel> meters()
Returns all meter models defined by this pipeline model.- Returns:
 - collection of meter models
 
 
- 
register
Optional<PiRegisterModel> register(PiRegisterId registerId)
Returns the register model associated with the given ID, if present.- Parameters:
 registerId- register ID- Returns:
 - optional register model
 
 
- 
registers
Collection<PiRegisterModel> registers()
Returns all register models defined by this pipeline model.- Returns:
 - collection of register models
 
 
- 
actionProfiles
Optional<PiActionProfileModel> actionProfiles(PiActionProfileId actionProfileId)
Returns the action profile model associated with the given ID, if present.- Parameters:
 actionProfileId- action profile ID- Returns:
 - optional action profile model
 
 
- 
actionProfiles
Collection<PiActionProfileModel> actionProfiles()
Returns all action profile models defined by this pipeline model.- Returns:
 - collection of action profile models
 
 
- 
packetOperationModel
Optional<PiPacketOperationModel> packetOperationModel(PiPacketOperationType type)
Returns the packet operation model of the given type, if present.- Parameters:
 type- packet operation type- Returns:
 - packet operation model
 
 
 - 
 
 -