Enum Criterion.Type
- java.lang.Object
-
- java.lang.Enum<Criterion.Type>
-
- org.onosproject.net.flow.criteria.Criterion.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<Criterion.Type>
- Enclosing interface:
- Criterion
public static enum Criterion.Type extends Enum<Criterion.Type>
Types of fields to which the selection criterion may apply.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTSET_OUTPUT
Output port from action set metadata.ARP_OP
ARP opcode.ARP_SHA
ARP source hardware address.ARP_SPA
ARP source IPv4 address.ARP_THA
ARP target hardware address.ARP_TPA
ARP target IPv4 address.DUMMY
An empty criterion.ETH_DST
Ethernet destination address.ETH_DST_MASKED
Ethernet destination address with masking.ETH_SRC
Ethernet source address.ETH_SRC_MASKED
Ethernet source address with masking.ETH_TYPE
Ethernet frame type.EXTENSION
Extension criterion.ICMPV4_CODE
ICMP code.ICMPV4_TYPE
ICMP type.ICMPV6_CODE
ICMPv6 code.ICMPV6_TYPE
ICMPv6 type.IN_PHY_PORT
Switch physical input port.IN_PORT
Switch input port.INNER_VLAN_PCP
Inner VLAN pcp.INNER_VLAN_VID
Inner VLAN id.IP_DSCP
IP DSCP (6 bits in ToS field).IP_ECN
IP ECN (2 bits in ToS field).IP_PROTO
IP protocol.IPV4_DST
IPv4 destination address.IPV4_SRC
IPv4 source address.IPV6_DST
IPv6 destination address.IPV6_EXTHDR
IPv6 Extension Header pseudo-field.IPV6_FLABEL
IPv6 Flow Label.IPV6_ND_SLL
Source link-layer for ND.IPV6_ND_TARGET
Target address for ND.IPV6_ND_TLL
Target link-layer for ND.IPV6_SRC
IPv6 source address.METADATA
Metadata passed between tables.MPLS_BOS
MPLS BoS bit.MPLS_LABEL
MPLS label.MPLS_TC
MPLS TC.OCH_SIGID
Optical channel signal ID (lambda).OCH_SIGTYPE
Optical channel signal type (fixed or flexible).ODU_SIGID
ODU (Optical channel Data Unit) signal ID.ODU_SIGTYPE
ODU (Optical channel Data Unit) signal type.PACKET_TYPE
Packet type value.PBB_ISID
PBB I-SID.PBB_UCA
PBB UCA header field.PROTOCOL_INDEPENDENT
Protocol-independent.SCTP_DST
SCTP destination port.SCTP_DST_MASKED
SCTP destination port with masking.SCTP_SRC
SCTP source port.SCTP_SRC_MASKED
SCTP source port with masking.TCP_DST
TCP destination port.TCP_DST_MASKED
TCP destination port with masking.TCP_FLAGS
TCP flags.TCP_SRC
TCP source port.TCP_SRC_MASKED
TCP source port with masking.TUNNEL_ID
Logical Port Metadata.UDP_DST
UDP destination port.UDP_DST_MASKED
UDP destination port with masking.UDP_SRC
UDP source port.UDP_SRC_MASKED
UDP source port with masking.UNASSIGNED_40
Unassigned value: 40.VLAN_PCP
VLAN priority.VLAN_VID
VLAN id.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Criterion.Type
valueOf(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(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-