OpenFlow instructions

Each flow entry has a set of instructions that are executed when the packet matches the entry.

The instruction set associated with each flow entry can have a maximum of one instruction of each type.Following table shows the actions supported on different Brocade devices.

Actions for flow table instruction

Actions Description ICX 6610 ICX 6450 (Mixed stack)
Write-Action actions ( Req ) Adds or overwrites specified actions to the action set. Yes Yes
Apply-Actions actions Applies the specified actions immediately. Yes Yes
Clear-Actions actions Clears all the actions in the action set. Yes Yes
Meter meter-id Directs the packet to the specified meter. Yes No
Goto -Table next-table-id ( Req ) Indicates the next table in pipeline processing. No No
Write-Metadata metadata/mask Writes the metadata field from the mask. No No
Output (Req) Forwards the packet to a specified OpenFlow port. If out-port is Controller, then the packet will be sent as packet-in message. Yes Yes
Drop (Req) No explicit drop action. Packet with empty action set should be dropped. Yes Yes
Group Processes the packet through the specified group. Yes No
Set field Modifies the values of the packet header based on the field type. Yes Yes
Push-Tag/ Pop-Tag Adds and removes tag (newly inserted tags are always the outermost tags). Yes Yes
Set-Queue Enqueues the packet to a specific queue on the outgoing port. Yes (The priority of the queue is honored in line with the QoS mechanism configured on the switch.) Yes (The priority of the queue is honored in line with the QoS mechanism configured on the switch.)
Decrement TTL Decrements the TTL value by 1. Yes1 Yes1

Actions for flow table instruction for ICX 7750 and ICX 7450

Actions Description ICX 7750 ICX 7450
Write-Action actions ( Req ) Adds or overwrites specified actions to the action set. Yes Yes
Apply-Actions actions Applies the specified actions immediately. Yes Yes
Clear-Actions actions Clears all the actions in the action set. Yes Yes
Meter meter-id Directs the packet to the specified meter. Yes Yes
Goto -Table next-table-id ( Req ) Indicates the next table in pipeline processing. No No
Write-Metadata metadata/mask Writes the metadata field from the mask. No No
Output (Req) Forwards the packet to a specified OpenFlow port. If out-port is Controller, then the packet will be sent as packet-in message. Yes Yes
Drop (Req) No explicit drop action. Packet with empty action set should be dropped. Yes Yes
Group Processes the packet through the specified group. Yes Yes
Set field Modifies the values of the packet header based on the field type. Yes Yes
Push-Tag/ Pop-Tag Adds and removes tag (newly inserted tags are always the outermost tags). Yes Yes
Set-Queue Enqueues the packet to a specific queue on the outgoing port. Yes Yes
Decrement TTL Decrements the TTL value by 1. Yes1 Yes1
Note: 1: This action behaves differently on different Brocade devices. This action must be accompanied with a DMAC modification. In addition, the incoming traffic destination MAC address must be equal to the switch's MAC address for this action to work. Otherwise, the traffic will be dropped.
Note: 1: This action behaves differently on different Brocade devices.

The set fields in the following table are supported for OpenFlow instructions. The set field action is used to set the value in the header field.

Supported set field action

Set field

ICX 6610

ICX 6450 (mixed stack)

Description
OXM_OF_ETH_DST Yes No Ethernet destination MAC address (A maximum of 600 flows can be configured with this action)
OXM_OF_ETH_SRC No No Ethernet source MAC address
OXM_OF_ETH_TYPE No No Ethernet type of the OpenFlow packet payload after VLAN tags.
OXM_OF_VLAN_VID Yes Yes VLAN-ID 802.1Q header (The output port must be a part of the VLAN that the flow is trying to set)
OXM_OF_VLAN_PCP Yes Yes VLAN-PCP 802.1Q header
OXM_OF_IP_DSCP Yes Yes Diff Serv Code Point (DSCP). Part of the IPv4 ToS field or the IPv6 Traffic Class field.

Supported set field action for ICX 7750 and ICX 7450

Set field

ICX 7750

ICX 7450

Description
OXM_OF_ETH_DST Yes Yes Ethernet destination MAC address (A maximum of 600 flows can be configured with this action)
OXM_OF_ETH_SRC Yes Yes Ethernet source MAC address
OXM_OF_ETH_TYPE No No Ethernet type of the OpenFlow packet payload after VLAN tags.
OXM_OF_VLAN_VID Yes Yes VLAN-ID 802.1Q header (The output port must be a part of the VLAN that the flow is trying to set)
OXM_OF_VLAN_PCP Yes Yes VLAN-PCP 802.1Q header
OXM_OF_IP_DSCP Yes Yes Diff Serv Code Point (DSCP). Part of the IPv4 ToS field or the IPv6 Traffic Class field.
OXM_OF_IP_ECN Yes Yes Modify ECN bits of the IP header.