Changes between Version 9 and Version 10 of Internal/OpenFlow/Notes


Ignore:
Timestamp:
Aug 4, 2009, 4:17:10 AM (15 years ago)
Author:
akoshibe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/OpenFlow/Notes

    v9 v10  
    193193having issues with trying it, getting this error:
    194194{{{ 
    195 A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using
    196 a sendto call) no address was supplied. - getpeername(2) (Errno::ENOTCONN)
     195A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram
     196socket using a sendto call) no address was supplied. - getpeername(2) (Errno::ENOTCONN)
    197197}}}
    198198
     
    201201idea for !OpenFlow: use code from reference model to simulate a handshake, display on a webpage or something else, to get a sense of how to integrate things
    202202
    203 
    204 
     203=== Anatomy of !OpenFlow Protocol (8/3) ===
     204!OpenFlow Switch has a [http://www.openflowswitch.org/documents/openflow-spec-v0.9.0.pdf paper] you can read for information on how the protocol works. The initial handshake is the important piece of info that makes a switch communicate with what it considers a controller.
     205
     206==== The Handshake ====
     207The OFP handshake contains the following steps:
     208
     209 1. OFPT_HELLO message - sent by both parties to negotiate what version of !OpenFlow to use
     210 1. SSL connection (optional)
     211 1. OFPT_FEATURES_REQUEST - sent by controller
     212 1. OFPT_FEATURES_REPLY - returned by switch
     213 1. ECHO reply/request or some flow actions
     214
     215The steps need to be recreated, but there are several things that need to be done:
     216 * when creating a socket in Ruby you need a port number, but it is a passive connection (ptcp) - the port can be anything
     217 * pick apart either OF reference system or NOX for handshake code
    205218 
    206219