Professional Documents
Culture Documents
Penflow Rotocol: Kaliyaperumal K
Penflow Rotocol: Kaliyaperumal K
Kaliyaperumal K
(Kaliyaperumal.krishnan@gmail.com)
AGENDA
Introduction to SDN
Introduction to OFP
OF Switch components
OF Ports
OF Tables
OF Channel
SDN INTRODUCTION
Major components:
Controller
Openflow channel
Group Table
Meter Table
Flow Table
PORTS
Open flow ports:
Network interfaces for passing packets between Openflow Processing
and the rest of the Network
Openflow switches connected through Openflow ports
Types:
Physical ports
Switch defined ports
Logical Ports
switch defined ports that don’t correspond to a hardware interface of
switch
Logical ports include “Tunnel-ID”.
Reserved Ports
defined by ONF 1.3.1
Switch can store the packet in the buffer and send only the buffer-ID along
Flow Removal
Once flow entry is deleted by a Switch when any one of the timer expiry,
switch would inform the controller
Port Status
When port admin state/ protocol state is changed to down
Error
Switch would send an error message if it not able to process a message
which was sent by a controller
SYMMETRIC MESSAGE
Hello
Exchange information between switch and controller when
switch comes up
Controller learns about switch from Hello packet
Echo
Echo request/reply messages can be sent from either the
switch or the controller, and must return an echo reply.
They are mainly used to verify the liveness of a controller-
switch connection
Experimenter
Used for future/testing purpose
OPENFLOW CHANNEL CONNECTION
Connection setup
TLS/ TCP connection
Version should match
Connection interruption
Failure secure mode
Drop all the message destined to the controller
Flow entries would automatically expire
MASTER-SLAVE:
only one Master and all are slave
Master have read and write access but all slaves can only read
When master goes down, election would happen and any of them cane
be selected as a Master
Once master is selected, the switch has to send error message to the
other/ old Master
Generation id – identifies a given mastership view
OPENFLOW CHANNEL CONNECTION
Auxiliary connection
Created by switch for better performance and parallelism
Openflow channel can composed of a main connection and multiple
auxiliary connections
Connection from switch to the controller are identified by