public class SpringOpenTTP
extends org.onosproject.net.driver.AbstractHandlerBehaviour
implements org.onosproject.net.behaviour.Pipeliner
| Modifier and Type | Class and Description |
|---|---|
protected class |
SpringOpenTTP.SpringOpenGroup
SpringOpenGroup can either serve as storage for a GroupKey which can be
used to fetch the group from the Group Service, or it can be serve as storage
for Traffic Treatments which can be used as flow actions.
|
| Modifier and Type | Field and Description |
|---|---|
protected int |
aclTableId |
protected org.onlab.util.KryoNamespace |
appKryo |
protected org.onosproject.net.DeviceId |
deviceId |
protected int |
dstMacTableId |
protected org.onosproject.net.flowobjective.FlowObjectiveStore |
flowObjectiveStore |
protected org.onosproject.net.group.GroupService |
groupService |
protected int |
ipv4UnicastTableId |
protected int |
mplsTableId |
protected int |
srcMacTableId |
protected int |
tmacTableId |
protected int |
vlanTableId
Set the default values.
|
| Constructor and Description |
|---|
SpringOpenTTP() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
fail(org.onosproject.net.flowobjective.Objective obj,
org.onosproject.net.flowobjective.ObjectiveError error) |
void |
filter(org.onosproject.net.flowobjective.FilteringObjective filteringObjective) |
void |
forward(org.onosproject.net.flowobjective.ForwardingObjective fwd) |
List<String> |
getNextMappings(org.onosproject.net.behaviour.NextGroup nextGroup) |
void |
init(org.onosproject.net.DeviceId deviceId,
org.onosproject.net.behaviour.PipelinerContext context) |
void |
next(org.onosproject.net.flowobjective.NextObjective nextObjective) |
protected void |
populateTableMissEntry(int tableToAdd,
boolean toControllerNow,
boolean toControllerWrite,
boolean toTable,
int tableToSend) |
protected List<org.onosproject.net.flow.FlowRule> |
processEthDstFilter(org.onosproject.net.flow.criteria.EthCriterion ethCriterion,
org.onosproject.net.flow.criteria.VlanIdCriterion vlanIdCriterion,
org.onosproject.net.flowobjective.FilteringObjective filt,
org.onlab.packet.VlanId assignedVlan,
org.onosproject.core.ApplicationId applicationId) |
protected List<org.onosproject.net.flow.FlowRule> |
processEthDstOnlyFilter(org.onosproject.net.flow.criteria.EthCriterion ethCriterion,
org.onosproject.core.ApplicationId applicationId,
int priority) |
protected Collection<org.onosproject.net.flow.FlowRule> |
processEthDstSpecificObjective(org.onosproject.net.flowobjective.ForwardingObjective fwd) |
protected Collection<org.onosproject.net.flow.FlowRule> |
processEthTypeSpecificObjective(org.onosproject.net.flowobjective.ForwardingObjective fwd) |
protected Collection<org.onosproject.net.flow.FlowRule> |
processSpecific(org.onosproject.net.flowobjective.ForwardingObjective fwd) |
protected List<org.onosproject.net.flow.FlowRule> |
processVlanIdFilter(org.onosproject.net.flow.criteria.VlanIdCriterion vlanIdCriterion,
org.onosproject.net.flowobjective.FilteringObjective filt,
org.onlab.packet.VlanId assignedVlan,
org.onlab.packet.VlanId explicitlyAssignedVlan,
org.onlab.packet.VlanId pushedVlan,
boolean pushVlan,
boolean popVlan,
org.onosproject.core.ApplicationId applicationId) |
protected void |
setTableMissEntries() |
handler, setHandlerprotected int vlanTableId
protected int tmacTableId
protected int ipv4UnicastTableId
protected int mplsTableId
protected int dstMacTableId
protected int aclTableId
protected int srcMacTableId
protected org.onosproject.net.group.GroupService groupService
protected org.onosproject.net.flowobjective.FlowObjectiveStore flowObjectiveStore
protected org.onosproject.net.DeviceId deviceId
protected org.onlab.util.KryoNamespace appKryo
public void init(org.onosproject.net.DeviceId deviceId,
org.onosproject.net.behaviour.PipelinerContext context)
init in interface org.onosproject.net.behaviour.Pipelinerpublic void filter(org.onosproject.net.flowobjective.FilteringObjective filteringObjective)
filter in interface org.onosproject.net.behaviour.Pipelinerpublic void forward(org.onosproject.net.flowobjective.ForwardingObjective fwd)
forward in interface org.onosproject.net.behaviour.Pipelinerpublic void next(org.onosproject.net.flowobjective.NextObjective nextObjective)
next in interface org.onosproject.net.behaviour.Pipelinerprotected Collection<org.onosproject.net.flow.FlowRule> processSpecific(org.onosproject.net.flowobjective.ForwardingObjective fwd)
protected Collection<org.onosproject.net.flow.FlowRule> processEthTypeSpecificObjective(org.onosproject.net.flowobjective.ForwardingObjective fwd)
protected Collection<org.onosproject.net.flow.FlowRule> processEthDstSpecificObjective(org.onosproject.net.flowobjective.ForwardingObjective fwd)
protected List<org.onosproject.net.flow.FlowRule> processEthDstFilter(org.onosproject.net.flow.criteria.EthCriterion ethCriterion, org.onosproject.net.flow.criteria.VlanIdCriterion vlanIdCriterion, org.onosproject.net.flowobjective.FilteringObjective filt, org.onlab.packet.VlanId assignedVlan, org.onosproject.core.ApplicationId applicationId)
protected List<org.onosproject.net.flow.FlowRule> processEthDstOnlyFilter(org.onosproject.net.flow.criteria.EthCriterion ethCriterion, org.onosproject.core.ApplicationId applicationId, int priority)
protected List<org.onosproject.net.flow.FlowRule> processVlanIdFilter(org.onosproject.net.flow.criteria.VlanIdCriterion vlanIdCriterion, org.onosproject.net.flowobjective.FilteringObjective filt, org.onlab.packet.VlanId assignedVlan, org.onlab.packet.VlanId explicitlyAssignedVlan, org.onlab.packet.VlanId pushedVlan, boolean pushVlan, boolean popVlan, org.onosproject.core.ApplicationId applicationId)
protected void setTableMissEntries()
protected void populateTableMissEntry(int tableToAdd,
boolean toControllerNow,
boolean toControllerWrite,
boolean toTable,
int tableToSend)
protected void fail(org.onosproject.net.flowobjective.Objective obj,
org.onosproject.net.flowobjective.ObjectiveError error)