Open Flow Messages

Open-Flow-Connection-Establishment

Open Flow Control Messages are based on TCP. To set up Open Flow communication, Open Flow Controller listens TCP ports 6633/6653. There are five main parts in Open Flow Messages. These are given below:

  • Version
  • Type
  • Message Lenght
  • Transaction ID (A unique value section used to match requests for response)
  • Payload


Open-Flow-Message
 

Open Flow supports three message types. These messages are:

  • Controller to Switch
  • Asynronous
  • Symmetric

 

Controller to Switch Messages are the massages that is used to manage and configure the switches . They managed the Flow Tables. Switch capability exchange is also done with these messages. Controller to Switch Messages are initiated from the Controller.

 

Asyncronous Messages are sent to inform the Control about any events and state changes. Asyncronous Messages are sent by Switches.

 

Symmetric Messages are used to diagnose any problems between Controller and Switches. Symmetric Messages can be sent both from Contoller and Switches.

 


open-flow-message-types
Open-Flow-messages

 


Open Flow Connection Establishment

Open Flow connection establishment is done mainly in 4 stages. These stages are:

  • TCP Session Establishment
  • Hellos
  • Feature Request/Reply
  • Set Config and Status Request/Reply


Open-Flow-Connection-Establishment
The first step is TCP Session Establishment. TCP Session Establishment is done through Three-way Handshake mechanims. TCP Session is established after successfull Three-way Handsahe SYN, SYN-ACK and ACK Messages.

 

The second step is Hellos. In this step, Open Flow Controller send its version and Open Flow Switch sends the supported ersions on it as reply.

 

The thirt step is Features Request/Reply step. In this step, Open Flow Controller want to know Switch function info and the Open Flow Switch replies back with its function infos.

 

In the last step, firstly Open Flow Controller set the Switch configuration. After, it requests the switch status and Open Flow switch replies back to this mesasage.

 


SDN CHEAT SHEETS


SDN

sdn-cheat-sheet

OPENFLOW

open-flow-cheat-sheet

NFV

nfv-cheat-sheet

NETCONF

netconf-cheat-sheet
Lesson tags: sdn, software-define networking, open flow
Back to: SDN Course > Open Flow

Leave a Reply

Your email address will not be published. Required fields are marked *