Hi Ben, Hi All, this series, in precisely 1001 insertions, 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/ This series resolves the issues raised by Ben in relation to the previous posting of this series, v11, and removes patches that have been merged. 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 (902faa02eda403350011ecfc9ef2e1acb6bbe0e1 "ofp-util: Allow OF1.2 to be used as a dump protocol") Patches ------- [PATCH 01/27] ofp-util: Allow use of OF12 flow format [PATCH 02/27] ofp-util: Allow decoding of Open Flow 1.2 Flow [PATCH 03/27] ofp-msgs: Split OFPRAW_OFPST_AGGREGATE_REQUEST [PATCH 04/27] ofp-util: Allow decoding of Open Flow 1.1 & 1.2 Table [PATCH 05/27] ovs-ofctl: Use vconn as a parameter of [PATCH 06/27] ofp-msgs: Allow encoding and decoding of Open Flow 1.1 [PATCH 07/27] ofp-msgs: Split OFPRAW_OFPST_PORT_{REQUEST,REPLY} [PATCH 08/27] ovs-ofputil: Make str_to_port_no() aware of invalid [PATCH 09/27] ofp-util: Pass vconn to fetch_port_by_features() [PATCH 10/27] ofp-util: Allow encoding of Open Flow 1.1 & 1.2 Port [PATCH 11/27] ofp-print: Allow printing of Open Flow 1.1 & 1.2 Port [PATCH 12/27] ofp-util: Allow decoding of Open Flow 1.1 & 1.2 Port [PATCH 13/27] ofp-print: Allow printing of Open Flow 1.1 & 1.2 Port [PATCH 14/27] ovs-ofctl: Teach dump-ports about Open Flow 1.1 & 1.2 [PATCH 15/27] ofp-msgs: Split OFPRAW_OFPST_QUEUE_{REQUEST,REPLY} [PATCH 16/27] ofp-print: Enable display of Open Flow 1.1 & 1.2 Queue [PATCH 17/27] ofp-util: Allow encoding of Open Flow 1.1 & 1.2 Queue [PATCH 18/27] ofp-util: Allow decoding of Open Flow 1.1 & 1.2 Queue [PATCH 19/27] ovs-print: Enable display of Open Flow 1.1 & 1.2 Queue [PATCH 20/27] ovs-ofpctl: Enable queue-stats for Open Flow 1.1 & 1.2 [PATCH 21/27] ofp-msgs: Update for OpenFlow 1.1 & 1.2 Port Desc [PATCH 22/27] ofproto: Use OFPERR_OFPFMFC_TABLE_FULL for OpenFlow [PATCH 23/27] ofproto: Do not add flow on flow mod if new_cookie is [PATCH 24/27] ofp-print: Do not display flow mod cookie if it is [PATCH 25/27] ofp-util: Correct setting of Flow Mod cookie on encode [PATCH 26/27] Use enum ofperr in ofputil_decode_flow_removed() [PATCH 27/27] ofp-util: Allow OF1.2 to be used as a dump protocol Overall Diffstat ---------------- include/openflow/openflow-1.1.h | 4 include/openflow/openflow-1.2.h | 5 lib/ofp-msgs.h | 50 +++- lib/ofp-print.c | 197 ++++++++++++++---- lib/ofp-util.c | 69 ++++-- 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 | 226 ++++++++++++++++++++- tests/ofproto.at | 12 - utilities/ovs-ofctl.c | 197 ++++++++++++------ 13 files changed, 1001 insertions(+), 197 deletions(-) _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev