Traditional Culture Encyclopedia - Traditional culture - In openflow protocol version 1.3, what are the components of flow table entries?

In openflow protocol version 1.3, what are the components of flow table entries?

the flow entry in openflow v1.3 mainly consists of the following seven parts:

1. Matching field: used to identify the flow corresponding to this entry. Priority: defines the priority order of flow table items. Counter: used to save statistical information related to items. Instruction: the action that needs to be performed on the data packet after matching the entry. Timeout: the maximum time count or the remaining time before the flow fails in the switch.

2. Cookie: opaque data value selected by the controller. Flags: Flag bits used to identify flow table entries.

the related knowledge of p>OpenFlow v1.3 is as follows:

1. flow table: each flow table contains a set of flow table entries, and each flow table entry consists of a matching field, a counter, an instruction set to be applied to the matched packet, a timeout and a cookie. Instruction: An instruction either modifies pipeline processing (such as pointing a packet to another flow table) or contains an operation set to be added to the operation set.

2. Either include a list of operations that will take effect immediately on the packet. Physical port: The physical port of OpenFlow is a hardware interface of the switch. Logical port: The logical port of OpenFlow is a port defined by a switch, which does not directly correspond to the hardware interface of a switch. It is a higher-level concept, which may include the functions of packet encapsulation and mapping physical ports.

3. Protocol features: OpenFlow is a protocol for controlling and configuring packet switching devices. It provides an open and standardized way to control the forwarding behavior of network devices. OpenFlow allows packet processing to be separated from traditional fixed rules and configurations, thus providing higher flexibility and programmability.

4. Flow table structure: The core component of OpenFlow switch is flow table, and each flow table consists of multiple flow table items. Each flow table entry represents a specific packet processing rule, including matching conditions and corresponding actions. Matching conditions of flow table entries usually include source/destination MAC address, IP address, TCP/UDP port number, etc.