public class CpqdOfdpa2VlanPipeline extends CpqdOfdpa2Pipeline
ACL_TABLE, appKryo, BRIDGING_TABLE, coreService, DEFAULT_PRIORITY, deviceId, deviceService, driverId, flowObjectiveStore, flowRuleService, groupHandler, groupService, HIGHEST_PRIORITY, LOWEST_PRIORITY, MAC_LEARNING_TABLE, MPLS_TABLE_0, MPLS_TABLE_1, MULTICAST_ROUTING_TABLE, OFPP_MAX, PORT_TABLE, sentIpFilters, serviceDirectory, TMAC_TABLE, UNICAST_ROUTING_TABLE, VLAN_TABLE
Constructor and Description |
---|
CpqdOfdpa2VlanPipeline() |
Modifier and Type | Method and Description |
---|---|
void |
init(org.onosproject.net.DeviceId deviceId,
org.onosproject.net.behaviour.PipelinerContext context) |
protected List<org.onosproject.net.flow.FlowRule> |
processEthDstFilter(org.onosproject.net.flow.criteria.PortCriterion portCriterion,
org.onosproject.net.flow.criteria.EthCriterion ethCriterion,
org.onosproject.net.flow.criteria.VlanIdCriterion vidCriterion,
org.onlab.packet.VlanId assignedVlan,
org.onosproject.core.ApplicationId applicationId)
Allows routed packets with correct destination MAC to be directed
to unicast-IP routing table or MPLS forwarding table.
|
protected Collection<org.onosproject.net.flow.FlowRule> |
processVersatile(org.onosproject.net.flowobjective.ForwardingObjective fwd)
In the OF-DPA 2.0 pipeline, versatile forwarding objectives go to the
ACL table.
|
initializePipeline, processAclTable, processEthDstOnlyFilter, processEthDstSpecific, processEthTypeSpecific, processFilter, processIpTable, processMplsTable, processMulticastIpTable, processPortTable, processTmacTable, processVlanIdFilter
fail, filter, forward, getGroupForNextObjective, getNextMappings, next, pass, processMcastEthDstFilter, processSpecific, readIpDstFromSelector, readVlanFromSelector
handler, setHandler
public void init(org.onosproject.net.DeviceId deviceId, org.onosproject.net.behaviour.PipelinerContext context)
init
in interface org.onosproject.net.behaviour.Pipeliner
init
in class CpqdOfdpa2Pipeline
protected List<org.onosproject.net.flow.FlowRule> processEthDstFilter(org.onosproject.net.flow.criteria.PortCriterion portCriterion, org.onosproject.net.flow.criteria.EthCriterion ethCriterion, org.onosproject.net.flow.criteria.VlanIdCriterion vidCriterion, org.onlab.packet.VlanId assignedVlan, org.onosproject.core.ApplicationId applicationId)
Ofdpa2Pipeline
processEthDstFilter
in class CpqdOfdpa2Pipeline
portCriterion
- port on device for which this filter is programmedethCriterion
- dstMac of device for which is filter is programmedvidCriterion
- vlan assigned to port, or NONE for untaggedassignedVlan
- assigned vlan-id for untagged packetsapplicationId
- for application programming this filterprotected Collection<org.onosproject.net.flow.FlowRule> processVersatile(org.onosproject.net.flowobjective.ForwardingObjective fwd)
Ofdpa2Pipeline
processVersatile
in class CpqdOfdpa2Pipeline
fwd
- the forwarding objective of type 'versatile'Copyright © 2016. All rights reserved.