public class Ofdpa3Pipeline extends Ofdpa2Pipeline
Ofdpa2Pipeline.RetryFlowsACL_TABLE, appKryo, BRIDGING_TABLE, coreService, DEFAULT_PRIORITY, deviceId, deviceService, driverId, executorService, flowObjectiveStore, flowRuleService, groupHandler, groupService, HIGHEST_PRIORITY, LOWEST_PRIORITY, MAC_LEARNING_TABLE, MAX_RETRY_ATTEMPTS, MPLS_L2_PORT_FLOW_TABLE, MPLS_L2_PORT_PCP_TRUST_FLOW_TABLE, MPLS_L2_PORT_PRIORITY, MPLS_L3_TYPE_TABLE, MPLS_NNI_PORT_BASE, MPLS_NNI_PORT_MAX, MPLS_TABLE_0, MPLS_TABLE_1, MPLS_TUNNEL_ID_BASE, MPLS_TUNNEL_ID_MAX, MPLS_TYPE_TABLE, MPLS_UNI_PORT_MAX, MULTICAST_ROUTING_TABLE, OFPP_MAX, PORT_TABLE, RETRY_MS, sentIpFilters, serviceDirectory, TMAC_TABLE, UNICAST_ROUTING_TABLE, VLAN_1_TABLE, VLAN_TABLE| Constructor and Description |
|---|
Ofdpa3Pipeline() |
| Modifier and Type | Method and Description |
|---|---|
void |
init(org.onosproject.net.DeviceId deviceId,
org.onosproject.net.behaviour.PipelinerContext context) |
protected Collection<org.onosproject.net.flow.FlowRule> |
processEthTypeSpecific(org.onosproject.net.flowobjective.ForwardingObjective fwd)
Handles forwarding rules to the IP and MPLS tables.
|
protected void |
processFilter(org.onosproject.net.flowobjective.FilteringObjective filteringObjective,
boolean install,
org.onosproject.core.ApplicationId applicationId)
As per OFDPA 2.0 TTP, filtering of VLAN ids, MAC addresses (for routing)
and IP addresses configured on switch ports happen in different tables.
|
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.
|
protected List<org.onosproject.net.flow.FlowRule> |
processVlanIdFilter(org.onosproject.net.flow.criteria.PortCriterion portCriterion,
org.onosproject.net.flow.criteria.VlanIdCriterion vidCriterion,
org.onlab.packet.VlanId assignedVlan,
org.onosproject.core.ApplicationId applicationId)
Allows untagged packets into pipeline by assigning a vlan id.
|
buildIpv4Selector, defaultRoute, fail, filter, forward, getGroupForNextObjective, getNextMappings, initializePipeline, next, pass, processEthDstFilter, processEthDstOnlyFilter, processEthDstSpecific, processEthTypeSpecificInternal, processMcastEthDstFilter, processSpecific, processVlanIdFilterInternal, readIpDstFromSelector, readVlanFromSelector, sendForwardhandler, setHandlerpublic void init(org.onosproject.net.DeviceId deviceId,
org.onosproject.net.behaviour.PipelinerContext context)
init in interface org.onosproject.net.behaviour.Pipelinerinit in class Ofdpa2Pipelineprotected void processFilter(org.onosproject.net.flowobjective.FilteringObjective filteringObjective,
boolean install,
org.onosproject.core.ApplicationId applicationId)
Ofdpa2PipelineprocessFilter in class Ofdpa2PipelinefilteringObjective - the filtering objectiveinstall - indicates whether to add or remove the objectiveapplicationId - the application that sent this objectiveprotected List<org.onosproject.net.flow.FlowRule> processVlanIdFilter(org.onosproject.net.flow.criteria.PortCriterion portCriterion, org.onosproject.net.flow.criteria.VlanIdCriterion vidCriterion, org.onlab.packet.VlanId assignedVlan, org.onosproject.core.ApplicationId applicationId)
Ofdpa2PipelineprocessVlanIdFilter in class Ofdpa2PipelineportCriterion - port on device for which this 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> processEthTypeSpecific(org.onosproject.net.flowobjective.ForwardingObjective fwd)
Ofdpa2PipelineprocessEthTypeSpecific in class Ofdpa2Pipelinefwd - the forwarding objectiveprotected Collection<org.onosproject.net.flow.FlowRule> processVersatile(org.onosproject.net.flowobjective.ForwardingObjective fwd)
Ofdpa2PipelineprocessVersatile in class Ofdpa2Pipelinefwd - the forwarding objective of type 'versatile'