| Package | Description |
|---|---|
| org.onosproject.net.flow |
Flow rule model & related services API definitions.
|
| org.onosproject.net.flow.criteria |
Traffic selection criteria model.
|
| Modifier and Type | Method and Description |
|---|---|
Criterion |
TrafficSelector.getCriterion(Criterion.Type type)
Returns the selection criterion for a particular type, if it exists in
this traffic selector.
|
Criterion |
DefaultTrafficSelector.getCriterion(Criterion.Type type) |
| Modifier and Type | Method and Description |
|---|---|
Set<Criterion> |
TrafficSelector.criteria()
Returns selection criteria as an ordered list.
|
Set<Criterion> |
DefaultTrafficSelector.criteria() |
| Modifier and Type | Method and Description |
|---|---|
TrafficSelector.Builder |
TrafficSelector.Builder.add(Criterion criterion)
Adds a traffic selection criterion.
|
DefaultTrafficSelector.Builder |
DefaultTrafficSelector.Builder.add(Criterion criterion) |
| Modifier and Type | Class and Description |
|---|---|
static class |
Criteria.EthCriterion
Implementation of MAC address criterion.
|
static class |
Criteria.EthTypeCriterion
Implementation of Ethernet type criterion.
|
static class |
Criteria.IPCriterion
Implementation of IP address criterion.
|
static class |
Criteria.IPProtocolCriterion
Implementation of Internet Protocol Number criterion.
|
static class |
Criteria.LambdaCriterion
Implementation of lambda (wavelength) criterion.
|
static class |
Criteria.MplsCriterion
Implementation of MPLS tag criterion.
|
static class |
Criteria.OpticalSignalTypeCriterion
Implementation of optical signal type criterion.
|
static class |
Criteria.PortCriterion
Implementation of input port criterion.
|
static class |
Criteria.TcpPortCriterion
Implementation of TCP port criterion.
|
static class |
Criteria.VlanIdCriterion
Implementation of VLAN ID criterion.
|
static class |
Criteria.VlanPcpCriterion
Implementation of VLAN priority criterion.
|
| Modifier and Type | Method and Description |
|---|---|
static Criterion |
Criteria.matchEthDst(org.onlab.packet.MacAddress mac)
Creates a match on ETH_DST field using the specified value.
|
static Criterion |
Criteria.matchEthSrc(org.onlab.packet.MacAddress mac)
Creates a match on ETH_SRC field using the specified value.
|
static Criterion |
Criteria.matchEthType(Short ethType)
Creates a match on ETH_TYPE field using the specified value.
|
static Criterion |
Criteria.matchInPort(PortNumber port)
Creates a match on IN_PORT field using the specified value.
|
static Criterion |
Criteria.matchIPDst(org.onlab.packet.IpPrefix ip)
Creates a match on IP destination field using the specified value.
|
static Criterion |
Criteria.matchIPProtocol(Byte proto)
Creates a match on IP proto field using the specified value.
|
static Criterion |
Criteria.matchIPSrc(org.onlab.packet.IpPrefix ip)
Creates a match on IP source field using the specified value.
|
static Criterion |
Criteria.matchLambda(Short lambda)
Creates a match on lambda field using the specified value.
|
static Criterion |
Criteria.matchMplsLabel(Integer mplsLabel)
Creates a match on MPLS label.
|
static Criterion |
Criteria.matchOpticalSignalType(Short sigType)
Creates a match on optical signal type using the specified value.
|
static Criterion |
Criteria.matchTcpDst(Short tcpPort)
Creates a match on TCP destination port field using the specified value.
|
static Criterion |
Criteria.matchTcpSrc(Short tcpPort)
Creates a match on TCP source port field using the specified value.
|
static Criterion |
Criteria.matchVlanId(org.onlab.packet.VlanId vlanId)
Creates a match on VLAN ID field using the specified value.
|
static Criterion |
Criteria.matchVlanPcp(Byte vlanPcp)
Creates a match on VLAN PCP field using the specified value.
|
Copyright © 2015. All rights reserved.