| Package | Description |
|---|---|
| org.onosproject.net.flow |
Flow rule model & related services API definitions.
|
| org.onosproject.net.flow.criteria |
Traffic selection criteria model.
|
| org.onosproject.net.flowobjective |
Abstractions for objective-based flow programming of data plane without
requiring device pipeline structure awareness. This subsystem is
experimental and its interfaces will change in the upcoming release.
|
| 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 |
|---|---|
class |
EthCriterion
Implementation of MAC address criterion.
|
class |
EthTypeCriterion
Implementation of Ethernet type criterion (16 bits unsigned integer).
|
class |
IcmpCodeCriterion
Implementation of ICMP code criterion (8 bits unsigned integer).
|
class |
IcmpTypeCriterion
Implementation of ICMP type criterion (8 bits unsigned integer).
|
class |
Icmpv6CodeCriterion
Implementation of ICMPv6 code criterion (8 bits unsigned integer).
|
class |
Icmpv6TypeCriterion
Implementation of ICMPv6 type criterion (8 bits unsigned integer).
|
class |
IndexedLambdaCriterion
Implementation of indexed lambda criterion.
|
class |
IPCriterion
Implementation of IP address criterion.
|
class |
IPDscpCriterion
Implementation of IP DSCP (Differentiated Services Code Point)
criterion (6 bits).
|
class |
IPEcnCriterion
Implementation of IP ECN (Explicit Congestion Notification) criterion
(2 bits).
|
class |
IPProtocolCriterion
Implementation of Internet Protocol Number criterion (8 bits unsigned)
integer.
|
class |
IPv6ExthdrFlagsCriterion
Implementation of IPv6 Extension Header pseudo-field criterion
(16 bits).
|
class |
IPv6FlowLabelCriterion
Implementation of IPv6 Flow Label (RFC 6437) criterion (20 bits unsigned
integer).
|
class |
IPv6NDLinkLayerAddressCriterion
Implementation of IPv6 Neighbor Discovery link-layer address criterion.
|
class |
IPv6NDTargetAddressCriterion
Implementation of IPv6 Neighbor Discovery target address criterion.
|
class |
LambdaCriterion
Implementation of lambda (wavelength) criterion (16 bits unsigned
integer).
|
class |
MetadataCriterion
Implementation of Metadata criterion.
|
class |
MplsBosCriterion
Implementation of MPLS BOS criterion (1 bit).
|
class |
MplsCriterion
Implementation of MPLS tag criterion (20 bits).
|
class |
OchSignalCriterion
Implementation of OCh (Optical Channel) signal criterion.
|
class |
OchSignalTypeCriterion
Implementation of OCh (Optical Channel) signal type criterion.
|
class |
OpticalSignalTypeCriterion
Deprecated.
in Cardinal Release
|
class |
PortCriterion
Implementation of input port criterion.
|
class |
SctpPortCriterion
Implementation of SCTP port criterion (16 bits unsigned integer).
|
class |
TcpPortCriterion
Implementation of TCP port criterion (16 bits unsigned integer).
|
class |
TunnelIdCriterion
Implementation of Tunnel ID criterion.
|
class |
UdpPortCriterion
Implementation of UDP port criterion (16 bits unsigned integer).
|
class |
VlanIdCriterion
Implementation of VLAN ID criterion.
|
class |
VlanPcpCriterion
Implementation of VLAN priority criterion (3 bits).
|
| Modifier and Type | Method and Description |
|---|---|
static Criterion |
Criteria.dummy() |
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(org.onlab.packet.EthType ethType)
Creates a match on ETH_TYPE field using the specified value.
|
static Criterion |
Criteria.matchEthType(int ethType)
Creates a match on ETH_TYPE field using the specified value.
|
static Criterion |
Criteria.matchIcmpCode(short icmpCode)
Creates a match on ICMP code field using the specified value.
|
static Criterion |
Criteria.matchIcmpType(short icmpType)
Creates a match on ICMP type field using the specified value.
|
static Criterion |
Criteria.matchIcmpv6Code(short icmpv6Code)
Creates a match on ICMPv6 code field using the specified value.
|
static Criterion |
Criteria.matchIcmpv6Type(short icmpv6Type)
Creates a match on ICMPv6 type field using the specified value.
|
static Criterion |
Criteria.matchInPhyPort(PortNumber port)
Creates a match on IN_PHY_PORT 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.matchIPDscp(byte ipDscp)
Creates a match on IP DSCP field using the specified value.
|
static Criterion |
Criteria.matchIPDst(org.onlab.packet.IpPrefix ip)
Creates a match on IPv4 destination field using the specified value.
|
static Criterion |
Criteria.matchIPEcn(byte ipEcn)
Creates a match on IP ECN field using the specified value.
|
static Criterion |
Criteria.matchIPProtocol(short 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 IPv4 source field using the specified value.
|
static Criterion |
Criteria.matchIPv6Dst(org.onlab.packet.IpPrefix ip)
Creates a match on IPv6 destination field using the specified value.
|
static Criterion |
Criteria.matchIPv6ExthdrFlags(int exthdrFlags)
Creates a match on IPv6 Extension Header pseudo-field fiags.
|
static Criterion |
Criteria.matchIPv6FlowLabel(int flowLabel)
Creates a match on IPv6 flow label field using the specified value.
|
static Criterion |
Criteria.matchIPv6NDSourceLinkLayerAddress(org.onlab.packet.MacAddress mac)
Creates a match on IPv6 Neighbor Discovery source link-layer address
using the specified value.
|
static Criterion |
Criteria.matchIPv6NDTargetAddress(org.onlab.packet.Ip6Address targetAddress)
Creates a match on IPv6 Neighbor Discovery target address using the
specified value.
|
static Criterion |
Criteria.matchIPv6NDTargetLinkLayerAddress(org.onlab.packet.MacAddress mac)
Creates a match on IPv6 Neighbor Discovery target link-layer address
using the specified value.
|
static Criterion |
Criteria.matchIPv6Src(org.onlab.packet.IpPrefix ip)
Creates a match on IPv6 source field using the specified value.
|
static Criterion |
Criteria.matchLambda(int lambda)
Deprecated.
in Cardinal Release. Use
Criteria.matchLambda(Lambda) instead. |
static Criterion |
Criteria.matchLambda(Lambda lambda)
Creates a match on lambda using the specified value.
|
static Criterion |
Criteria.matchMetadata(long metadata)
Creates a match on METADATA field using the specified value.
|
static Criterion |
Criteria.matchMplsLabel(boolean mplsBos)
Creates a match on MPLS Bottom-of-Stack indicator bit.
|
static Criterion |
Criteria.matchMplsLabel(org.onlab.packet.MplsLabel mplsLabel)
Creates a match on MPLS label.
|
static Criterion |
Criteria.matchOchSignalType(OchSignalType signalType)
Create a match on OCh (Optical Channel) signal type.
|
static Criterion |
Criteria.matchOpticalSignalType(short sigType)
Deprecated.
in Cardinal Release
|
static Criterion |
Criteria.matchSctpDst(short sctpPort)
Deprecated.
in Drake release
|
static Criterion |
Criteria.matchSctpDst(org.onlab.packet.TpPort sctpPort)
Creates a match on SCTP destination port field using the specified
value.
|
static Criterion |
Criteria.matchSctpSrc(short sctpPort)
Deprecated.
in Drake release
|
static Criterion |
Criteria.matchSctpSrc(org.onlab.packet.TpPort sctpPort)
Creates a match on SCTP source port field using the specified value.
|
static Criterion |
Criteria.matchTcpDst(short tcpPort)
Deprecated.
in Drake release
|
static Criterion |
Criteria.matchTcpDst(org.onlab.packet.TpPort tcpPort)
Creates a match on TCP destination port field using the specified value.
|
static Criterion |
Criteria.matchTcpSrc(short tcpPort)
Deprecated.
in Drake release
|
static Criterion |
Criteria.matchTcpSrc(org.onlab.packet.TpPort tcpPort)
Creates a match on TCP source port field using the specified value.
|
static Criterion |
Criteria.matchTunnelId(long tunnelId)
Creates a match on Tunnel ID.
|
static Criterion |
Criteria.matchUdpDst(short udpPort)
Deprecated.
in Drake release
|
static Criterion |
Criteria.matchUdpDst(org.onlab.packet.TpPort udpPort)
Creates a match on UDP destination port field using the specified value.
|
static Criterion |
Criteria.matchUdpSrc(short udpPort)
Deprecated.
in Drake release
|
static Criterion |
Criteria.matchUdpSrc(org.onlab.packet.TpPort udpPort)
Creates a match on UDP 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.
|
| Modifier and Type | Method and Description |
|---|---|
Criterion |
FilteringObjective.key()
Obtain the key for this filter.
|
Criterion |
DefaultFilteringObjective.key() |
| Modifier and Type | Method and Description |
|---|---|
Collection<Criterion> |
FilteringObjective.conditions()
The set of conditions the filter must provision at the device.
|
Collection<Criterion> |
DefaultFilteringObjective.conditions() |
| Modifier and Type | Method and Description |
|---|---|
FilteringObjective.Builder |
FilteringObjective.Builder.addCondition(Criterion criterion)
Add a filtering condition.
|
DefaultFilteringObjective.Builder |
DefaultFilteringObjective.Builder.addCondition(Criterion criterion) |
FilteringObjective.Builder |
FilteringObjective.Builder.withKey(Criterion key)
Specify the key for the filter.
|
DefaultFilteringObjective.Builder |
DefaultFilteringObjective.Builder.withKey(Criterion key) |
Copyright © 2015. All rights reserved.