[ovs-dev] [PATCH 00/38 v11] Preliminary Open Flow 1.2 Message Support

Simon Horman horms at verge.net.au
Thu Aug 9 08:49:21 UTC 2012


Hi Ben, Hi All,

this series adds infrastructure and message encoding and decoding
to allow OpenFlow 1.2 to be used to the extent that ovs-controller
works as a learning-switch and similar logic implemented using Ryu[1].
Note that some previously posted hacks are required in order for Open
vSwtich to actually use OpenFlow 1.2.

[1] Ryu is an OpenFlow controller implemented in Python
    http://osrg.github.com/ryu/

Differing from the previous posting, this series resolves a number
of implementation bugs and oversights that I have discovered using ovs-vsctl.

Patches that have been merged into the master branch have
also been dropped int he course of rebsing the series.


Base
----

This series is based the current master branch


Availability
------------

This series is available in the devel/of1.2 (n.b: not devel/of12) branch
of git://github.com/horms/openvswitch.git
(9d78e988c99394339e4abdaad71b8f1252c97ae8 "ofp-util: Allow OF1.2 to be used
as a dump protocol")


Patches
-------

[PATCH 01/38] ofp-util: Allow use of OF12 flow format
[PATCH 02/38] ofp-util: Use 32bit port for Open Flow 1.1 & 1.2 Port
[PATCH 03/38] ofp-util: Allow encoding of Open Flow 1.2 Port Mod
[PATCH 04/38] ofp-util: Allow decoding of Open Flow 1.2 Port Mod
[PATCH 05/38] ofp-msgs: Split OFPRAW_OFPST_FLOW_{REQUEST,REPLY}
[PATCH 06/38] ofp-util: Prepare Flow Statistics Request Decoder for
[PATCH 07/38] ofp-util: Allow decoding of Open Flow 1.2 Flow
[PATCH 08/38] ofp-util: Allow encoding of Open Flow 1.2 Flow
[PATCH 09/38] ofp-util: Allow decoding of Open Flow 1.2 Flow
[PATCH 10/38] ofp-msgs: Split OFPRAW_OFPST_AGGREGATE_REQUEST
[PATCH 11/38] ofp-msgs: Allow 1.0-1.2 range
[PATCH 12/38] ofp-msgs: Split OFPRAW_OFPST_TABLE_REPLY
[PATCH 13/38] ofp-print: Enable display of Open Flow 1.1 & 1.2 Table
[PATCH 14/38] ofp-util: Allow decoding of Open Flow 1.1 & 1.2 Table
[PATCH 15/38] ovs-ofctl: Use vconn as a parameter of
[PATCH 16/38] ofp-msgs: Allow encoding and decoding of Open Flow 1.1
[PATCH 17/38] ofp-msgs: Split OFPRAW_OFPST_PORT_{REQUEST,REPLY}
[PATCH 18/38] ovs-ofputil: Make str_to_port_no() aware of invalid
[PATCH 19/38] ofp-util: Pass vconn to fetch_port_by_features()
[PATCH 20/38] ofp-util: Allow encoding of Open Flow 1.1 & 1.2 Port
[PATCH 21/38] ofp-print: Allow printing of Open Flow 1.1 & 1.2 Port
[PATCH 22/38] ofp-util: Allow decoding of Open Flow 1.1 & 1.2 Port
[PATCH 23/38] ofp-print: Allow printing of Open Flow 1.1 & 1.2 Port
[PATCH 24/38] ovs-ofctl: Teach dump-ports about Open Flow 1.1 & 1.2
[PATCH 25/38] ofp-msgs: Split OFPRAW_OFPST_QUEUE_{REQUEST,REPLY}
[PATCH 26/38] ofp-print: Enable display of Open Flow 1.1 & 1.2 Queue
[PATCH 27/38] ofp-util: Allow encoding of Open Flow 1.1 & 1.2 Queue
[PATCH 28/38] ofp-util: Allow decoding of Open Flow 1.1 & 1.2 Queue
[PATCH 29/38] ovs-print: Enable display of Open Flow 1.1 & 1.2 Queue
[PATCH 30/38] ovs-ofpctl: Enable queue-stats for Open Flow 1.1 & 1.2
[PATCH 31/38] ofp-msgs: Update for OpenFlow 1.1 & 1.2 Port Desc
[PATCH 32/38] ofproto: Use OFPERR_OFPFMFC_TABLE_FULL for OpenFlow
[PATCH 33/38] Allow decoding of Open Flow 1.1 & 1.2 Flow Removed
[PATCH 34/38] ofproto: Do not add flow on flow mod if new_cookie is
[PATCH 35/38] ofp-print: Do not display flow mod cookie if it is
[PATCH 36/38] ofp-util: Correct setting of Flow Mod cookie on encode
[PATCH 37/38] Use enum ofperr in ofputil_decode_flow_removed()
[PATCH 38/38] ofp-util: Allow OF1.2 to be used as a dump protocol

Overall Diffstat
----------------


 build-aux/extract-ofp-msgs      |    3 
 include/openflow/openflow-1.1.h |    4 
 include/openflow/openflow-1.2.h |    5 
 lib/ofp-msgs.h                  |   78 ++++--
 lib/ofp-print.c                 |  359 +++++++++++++++++++++++++-----
 lib/ofp-util.c                  |  185 +++++++++++++--
 lib/ofp-util.h                  |   11 
 ofproto/ofproto-dpif.c          |   32 ++
 ofproto/ofproto-provider.h      |   71 +++++
 ofproto/ofproto.c               |  322 ++++++++++++++++++++++++--
 tests/learn.at                  |    2 
 tests/ofp-print.at              |  334 ++++++++++++++++++++++++++-
 tests/ofproto.at                |   12 -
 utilities/ovs-ofctl.c           |  197 +++++++++++-----
 14 files changed, 1381 insertions(+), 234 deletions(-)



More information about the dev mailing list