Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Key 

Value 

Prerequisite Matches

OpenFlow Versions

Notes 

in_port

<number>

<reserved_port>

 

all

Switch port on which the packet is received.

Can be hexadecimal (with leading 0x) or decimal.

See reserved port table.

eth_type

<number>

 

all

Can be hexadecimal (with leading 0x) or decimal.

eth_src

<MAC address>

 

all

xx:xx:xx:xx:xx:xx

eth_dst

<MAC address>

 

all

xx:xx:xx:xx:xx:xx

eth_vlan_vid

<number>

 

all

Must include 'present' bit (bit 12) in the match value. E.g. to match on tag 0x0064, use the match 0x1064.

Can be hexadecimal (with leading 0x) or decimal.

eth_vlan_pcp

<number>

eth_vlan_vid = something

all

Can be hexadecimal (with leading 0x) or decimal.

ip_proto

<number>

eth_type = 0x0800 || 0x86dd

all

Can be hexadecimal (with leading 0x) or decimal.

ipv4_src

<IPv4 address[/mask]>

eth_type = 0x0800

all

xx.xx.xx.xx[/xx]

ipv4_dst

<IPv4 address[/mask]>

eth_type = 0x0800

all

xx.xx.xx.xx[/xx]

ipv6_src

<IPv6 address[/mask]>

eth_type = 0x86dd

OpenFlow 1.2+

xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx[/xx]

ipv6_dst

<IPv6 address[/mask]>

eth_type = 0x86dd

OpenFlow 1.2+

xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx[/xx]

ipv6_label

<number>

eth_type = 0x86dd

OpenFlow 1.2+

Can be hexadecimal (with leading 0x) or decimal.

ip_tos

<number>

eth_type = 0x0800 || 0x86dd

all

Can be hexadecimal (with leading 0x) or decimal.

ip_ecn

<number>

eth_type = 0x0800 || 0x86dd

all

Can be hexadecimal (with leading 0x) or decimal.

ip_dscp

<number>

eth_type = 0x0800 || 0x86dd

all

Can be hexadecimal (with leading 0x) or decimal. 

tp_src

<number>

ip_proto = 0x06 || 0x11 || 0x84

all

UDP, TCP, and SCTP supported.

tp_dst

<number>

ip_proto = 0x06 || 0x11 || 0x84

all

UDP, TCP, and SCTP supported.

udp_src

<number>

ip_proto = 0x11

all

UDP only.

udp_dst

<number>

ip_proto = 0x11

all

UDP only.

tcp_src

<number>

ip_proto = 0x06

all

TCP only.

tcp_dst

<number>

ip_proto = 0x06

all

TCP only.

sctp_src

<number>

ip_proto = 0x84

all

SCTP only.

sctp_dst

<number>

ip_proto = 0x84

all

SCTP only.

icmpv4_type

<number>

ip_proto = 0x01

OpenFlow 1.2+

Can be hexadecimal (with leading 0x) or decimal.

icmpv4_code

<number>

ip_proto = 0x01

OpenFlow 1.2+

Can be hexadecimal (with leading 0x) or decimal.

icmpv6_type

<number>

ip_proto = 0x3a

OpenFlow 1.2+

Can be hexadecimal (with leading 0x) or decimal.

icmpv6_code

<number>

ip_proto = 0x3a

OpenFlow 1.2+

Can be hexadecimal (with leading 0x) or decimal.

ipv6_nd_sll

<MAC address>

icmpv6_type = 0x87

OpenFlow 1.2+

xx:xx:xx:xx:xx:xx

ipv6_nd_tll

<MAC address>

icmpv6_type = 0x88

OpenFlow 1.2+

xx:xx:xx:xx:xx:xx

ipv6_nd_target

<IPv6 address>

icmpv6_type = 0x87 || 0x88

OpenFlow 1.2+

xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx

ipv6_exthdr<number>eth_type = 0x86ddOpenFlow 1.3+Can be hexadecimal (with leading 0x) or decimal.

arp_opcode

<number>

eth_type = 0x0806

OpenFlow 1.2+

Can be hexadecimal (with leading 0x) or decimal.

arp_sha

<MAC address>

eth_type = 0x0806

OpenFlow 1.2+

xx:xx:xx:xx:xx:xx

arp_tha

<MAC address>

eth_type = 0x0806

OpenFlow 1.2+

xx:xx:xx:xx:xx:xx

arp_spa

<IPv4 address>

eth_type = 0x0806

OpenFlow 1.2+

xx.xx.xx.xx

arp_tpa

<IPv4 address>

eth_type = 0x0806

OpenFlow 1.2+

xx.xx.xx.xx

mpls_label

<number>

eth_type = 0x8847 || 0x8848

OpenFlow 1.2+

Can be hexadecimal (with leading 0x) or decimal.

mpls_tc

<number>

eth_type = 0x8847 || 0x8848

OpenFlow 1.2+

Can be hexadecimal (with leading 0x) or decimal.

mpls_bos

<boolean>

eth_type = 0x8847 || 0x8848

OpenFlow 1.3+

"true" or "false"

pbb_uca<boolean> OpenFlow 1.3+"true" or "false"

tunnel_id

<number>

 

OpenFlow 1.3+

Can be hexadecimal (with leading 0x) or decimal.

tunnel_ipv4_src<IPv4 address> OpenFlow 1.3+

xx.xx.xx.xx

NXM used by OVS.

tunnel_ipv4_dst<IPv4 address> OpenFlow 1.3+

xx.xx.xx.xx

NXM used by OVS.

metadata

<number>

 

OpenFlow 1.2+

Can be hexadecimal (with leading 0x) or decimal.

tcp_flags<number>ip_proto = 0x06OpenFlow 1.5+Can be hexadecimal (with leading 0x) or decimal.
actset_output

<number>

<reserved_port>

 OpenFlow 1.5+Can be hexadecimal (with leading 0x) or decimal.
packet_type<number>/<number> OpenFlow 1.5+

Must take form ns/ns_type, where both ns and ns_type are numbers.

Can be hexadecimal (with leading 0x) or decimal.

...