public interface PipelineReader
The implementing class will:
A Pipeline definition is built by way of collecting MBodyTableFeatures
when a call getDefintition() is invoked for the first time
on a given data path. The definition is then cached in the Pipeline Manager
and will be available for any subsequent invocations of
getDefintition()
It creating the pipeline definition from OpenFlow constructs.
It is also assumed that Flow Advisor will facilitate the deep vendor nuances on the valid set of matches at every table.
Modifier and Type | Method and Description |
---|---|
Set<TableId> |
align(OfmFlowMod flowmod,
DataPathId dpid)
Returns the set of table IDs of the given datapath's pipeline definition
that support the given flow mod.
|
PipelineDefinition |
getDefinition(DataPathId dpid)
Returns the pipeline definition for the given datapath.
|
Set<TableId> align(OfmFlowMod flowmod, DataPathId dpid)
PipelineReader makes this decision based on the available pipeline definition. Within a pipeline definition, each of the tables will have their corresponding capabilities in terms of matches, actions and configurations that they support.
flowmod
- the FlowMod messagedpid
- the datapath to which the FlowMod message
is to be sentNullPointerException
- if either parameter is nullNotFoundException
- if the specified datapath does not existPipelineDefinition getDefinition(DataPathId dpid)
MBodyTableFeatures
when a call getDefintition() is
invoked for the first time on a given data path. The definition is then
cached in the Pipeline Manager and will be available for any subsequent
invocations of getDefintition()dpid
- the datapath to which the given FlowMod message
is to be sentNullPointerException
- if dpid is nullNotFoundException
- if the specified datapath does not existCopyright © 2015. All Rights Reserved.