Enum Criterion.Type
- java.lang.Object
-
- java.lang.Enum<Criterion.Type>
-
- org.onosproject.net.flow.criteria.Criterion.Type
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Criterion.Type>
- Enclosing interface:
- Criterion
public static enum Criterion.Type extends java.lang.Enum<Criterion.Type>
Types of fields to which the selection criterion may apply.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTSET_OUTPUTOutput port from action set metadata.ARP_OPARP opcode.ARP_SHAARP source hardware address.ARP_SPAARP source IPv4 address.ARP_THAARP target hardware address.ARP_TPAARP target IPv4 address.DUMMYAn empty criterion.ETH_DSTEthernet destination address.ETH_DST_MASKEDEthernet destination address with masking.ETH_SRCEthernet source address.ETH_SRC_MASKEDEthernet source address with masking.ETH_TYPEEthernet frame type.EXTENSIONExtension criterion.ICMPV4_CODEICMP code.ICMPV4_TYPEICMP type.ICMPV6_CODEICMPv6 code.ICMPV6_TYPEICMPv6 type.IN_PHY_PORTSwitch physical input port.IN_PORTSwitch input port.INNER_VLAN_PCPInner VLAN pcp.INNER_VLAN_VIDInner VLAN id.IP_DSCPIP DSCP (6 bits in ToS field).IP_ECNIP ECN (2 bits in ToS field).IP_PROTOIP protocol.IPV4_DSTIPv4 destination address.IPV4_SRCIPv4 source address.IPV6_DSTIPv6 destination address.IPV6_EXTHDRIPv6 Extension Header pseudo-field.IPV6_FLABELIPv6 Flow Label.IPV6_ND_SLLSource link-layer for ND.IPV6_ND_TARGETTarget address for ND.IPV6_ND_TLLTarget link-layer for ND.IPV6_SRCIPv6 source address.METADATAMetadata passed between tables.MPLS_BOSMPLS BoS bit.MPLS_LABELMPLS label.MPLS_TCMPLS TC.OCH_SIGIDOptical channel signal ID (lambda).OCH_SIGTYPEOptical channel signal type (fixed or flexible).ODU_SIGIDODU (Optical channel Data Unit) signal ID.ODU_SIGTYPEODU (Optical channel Data Unit) signal type.PACKET_TYPEPacket type value.PBB_ISIDPBB I-SID.PBB_UCAPBB UCA header field.PROTOCOL_INDEPENDENTProtocol-independent.SCTP_DSTSCTP destination port.SCTP_DST_MASKEDSCTP destination port with masking.SCTP_SRCSCTP source port.SCTP_SRC_MASKEDSCTP source port with masking.TCP_DSTTCP destination port.TCP_DST_MASKEDTCP destination port with masking.TCP_FLAGSTCP flags.TCP_SRCTCP source port.TCP_SRC_MASKEDTCP source port with masking.TUNNEL_IDLogical Port Metadata.UDP_DSTUDP destination port.UDP_DST_MASKEDUDP destination port with masking.UDP_SRCUDP source port.UDP_SRC_MASKEDUDP source port with masking.UNASSIGNED_40Unassigned value: 40.VLAN_PCPVLAN priority.VLAN_VIDVLAN id.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Criterion.TypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Criterion.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IN_PORT
public static final Criterion.Type IN_PORT
Switch input port.
-
IN_PHY_PORT
public static final Criterion.Type IN_PHY_PORT
Switch physical input port.
-
METADATA
public static final Criterion.Type METADATA
Metadata passed between tables.
-
ETH_DST
public static final Criterion.Type ETH_DST
Ethernet destination address.
-
ETH_DST_MASKED
public static final Criterion.Type ETH_DST_MASKED
Ethernet destination address with masking.
-
ETH_SRC
public static final Criterion.Type ETH_SRC
Ethernet source address.
-
ETH_SRC_MASKED
public static final Criterion.Type ETH_SRC_MASKED
Ethernet source address with masking.
-
ETH_TYPE
public static final Criterion.Type ETH_TYPE
Ethernet frame type.
-
VLAN_VID
public static final Criterion.Type VLAN_VID
VLAN id.
-
VLAN_PCP
public static final Criterion.Type VLAN_PCP
VLAN priority.
-
INNER_VLAN_VID
public static final Criterion.Type INNER_VLAN_VID
Inner VLAN id. Note: Some drivers may not support this.
-
INNER_VLAN_PCP
public static final Criterion.Type INNER_VLAN_PCP
Inner VLAN pcp. Note: Some drivers may not support this.
-
IP_DSCP
public static final Criterion.Type IP_DSCP
IP DSCP (6 bits in ToS field).
-
IP_ECN
public static final Criterion.Type IP_ECN
IP ECN (2 bits in ToS field).
-
IP_PROTO
public static final Criterion.Type IP_PROTO
IP protocol.
-
IPV4_SRC
public static final Criterion.Type IPV4_SRC
IPv4 source address.
-
IPV4_DST
public static final Criterion.Type IPV4_DST
IPv4 destination address.
-
TCP_SRC
public static final Criterion.Type TCP_SRC
TCP source port.
-
TCP_SRC_MASKED
public static final Criterion.Type TCP_SRC_MASKED
TCP source port with masking.
-
TCP_DST
public static final Criterion.Type TCP_DST
TCP destination port.
-
TCP_DST_MASKED
public static final Criterion.Type TCP_DST_MASKED
TCP destination port with masking.
-
UDP_SRC
public static final Criterion.Type UDP_SRC
UDP source port.
-
UDP_SRC_MASKED
public static final Criterion.Type UDP_SRC_MASKED
UDP source port with masking.
-
UDP_DST
public static final Criterion.Type UDP_DST
UDP destination port.
-
UDP_DST_MASKED
public static final Criterion.Type UDP_DST_MASKED
UDP destination port with masking.
-
SCTP_SRC
public static final Criterion.Type SCTP_SRC
SCTP source port.
-
SCTP_SRC_MASKED
public static final Criterion.Type SCTP_SRC_MASKED
SCTP source port with masking.
-
SCTP_DST
public static final Criterion.Type SCTP_DST
SCTP destination port.
-
SCTP_DST_MASKED
public static final Criterion.Type SCTP_DST_MASKED
SCTP destination port with masking.
-
ICMPV4_TYPE
public static final Criterion.Type ICMPV4_TYPE
ICMP type.
-
ICMPV4_CODE
public static final Criterion.Type ICMPV4_CODE
ICMP code.
-
ARP_OP
public static final Criterion.Type ARP_OP
ARP opcode.
-
ARP_SPA
public static final Criterion.Type ARP_SPA
ARP source IPv4 address.
-
ARP_TPA
public static final Criterion.Type ARP_TPA
ARP target IPv4 address.
-
ARP_SHA
public static final Criterion.Type ARP_SHA
ARP source hardware address.
-
ARP_THA
public static final Criterion.Type ARP_THA
ARP target hardware address.
-
IPV6_SRC
public static final Criterion.Type IPV6_SRC
IPv6 source address.
-
IPV6_DST
public static final Criterion.Type IPV6_DST
IPv6 destination address.
-
IPV6_FLABEL
public static final Criterion.Type IPV6_FLABEL
IPv6 Flow Label.
-
ICMPV6_TYPE
public static final Criterion.Type ICMPV6_TYPE
ICMPv6 type.
-
ICMPV6_CODE
public static final Criterion.Type ICMPV6_CODE
ICMPv6 code.
-
IPV6_ND_TARGET
public static final Criterion.Type IPV6_ND_TARGET
Target address for ND.
-
IPV6_ND_SLL
public static final Criterion.Type IPV6_ND_SLL
Source link-layer for ND.
-
IPV6_ND_TLL
public static final Criterion.Type IPV6_ND_TLL
Target link-layer for ND.
-
MPLS_LABEL
public static final Criterion.Type MPLS_LABEL
MPLS label.
-
MPLS_TC
public static final Criterion.Type MPLS_TC
MPLS TC.
-
MPLS_BOS
public static final Criterion.Type MPLS_BOS
MPLS BoS bit.
-
PBB_ISID
public static final Criterion.Type PBB_ISID
PBB I-SID.
-
TUNNEL_ID
public static final Criterion.Type TUNNEL_ID
Logical Port Metadata.
-
IPV6_EXTHDR
public static final Criterion.Type IPV6_EXTHDR
IPv6 Extension Header pseudo-field.
-
UNASSIGNED_40
public static final Criterion.Type UNASSIGNED_40
Unassigned value: 40.
-
PBB_UCA
public static final Criterion.Type PBB_UCA
PBB UCA header field.
-
TCP_FLAGS
public static final Criterion.Type TCP_FLAGS
TCP flags.
-
ACTSET_OUTPUT
public static final Criterion.Type ACTSET_OUTPUT
Output port from action set metadata.
-
PACKET_TYPE
public static final Criterion.Type PACKET_TYPE
Packet type value.
-
OCH_SIGID
public static final Criterion.Type OCH_SIGID
Optical channel signal ID (lambda).
-
OCH_SIGTYPE
public static final Criterion.Type OCH_SIGTYPE
Optical channel signal type (fixed or flexible).
-
ODU_SIGID
public static final Criterion.Type ODU_SIGID
ODU (Optical channel Data Unit) signal ID.
-
ODU_SIGTYPE
public static final Criterion.Type ODU_SIGTYPE
ODU (Optical channel Data Unit) signal type.
-
PROTOCOL_INDEPENDENT
public static final Criterion.Type PROTOCOL_INDEPENDENT
Protocol-independent.
-
EXTENSION
public static final Criterion.Type EXTENSION
Extension criterion.
-
DUMMY
public static final Criterion.Type DUMMY
An empty criterion.
-
-
Method Detail
-
values
public static Criterion.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Criterion.Type c : Criterion.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Criterion.Type valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-