On Thu, Jul 19, 2012 at 11:28:46PM -0700, Ben Pfaff wrote: > This mostly fixes up the series to deal with the new "Flow monitor" > messages on master since I last posted it. I also fixed a few bugs > pointed out by Simon and Isaku. > > As before, this is available at git://benpfaff.org/openvswitch > in the of1.1 branch.
All patches: Tested-by: Simon Horman <ho...@verge.net.au> I will post a set of patches that build on top of this series to add some OpenFlow 1.2 messages. I used that series to test this series. And the result is that I am able to use both ovs-controller as a learning-switch and similar logic implemented using Ryu[1]. In both cases the OpenFlow sessions are OpenFlow1.2. It seems that the ofp-msgs approach is indeed easier to work with than the previous implementation. > Thanks, > > Ben. > > Ben Pfaff (5): > ofp-msgs: New approach to encoding and decoding OpenFlow headers. > nicira-ext: Drop nx_aggregate_stats_reply structure. > openflow: Rename OpenFlow 1.0 statistics messages with "10" infix. > openflow: Separate OF1.0, OF1.1 flow_mod constants and types. > ofp-util: Work on decoding OF1.1 flow_mods. > > build-aux/extract-ofp-msgs | 351 ++++++++ > include/openflow/nicira-ext.h | 132 +--- > include/openflow/openflow-1.0.h | 136 +--- > include/openflow/openflow-1.1.h | 93 +-- > include/openflow/openflow-1.2.h | 23 +- > include/openflow/openflow-common.h | 120 ++-- > lib/.gitignore | 1 + > lib/automake.mk | 9 + > lib/learning-switch.c | 128 ++-- > lib/ofp-errors.c | 41 +- > lib/ofp-errors.h | 7 +- > lib/ofp-msgs.c | 962 ++++++++++++++++++++++ > lib/ofp-msgs.h | 433 ++++++++++ > lib/ofp-print.c | 325 ++++---- > lib/ofp-util.c | 1570 > +++++++++--------------------------- > lib/ofp-util.h | 136 +--- > lib/rconn.c | 72 ++- > lib/stream.c | 4 +- > lib/vconn.c | 68 +- > ofproto/connmgr.c | 24 +- > ofproto/ofproto-dpif.c | 2 +- > ofproto/ofproto-provider.h | 4 +- > ofproto/ofproto.c | 236 +++--- > tests/ofp-print.at | 2 +- > tests/ofproto-dpif.at | 1 + > tests/ofproto-macros.at | 2 +- > tests/test-vconn.c | 68 +- > utilities/ovs-ofctl.c | 188 ++--- > 28 files changed, 2884 insertions(+), 2254 deletions(-) > create mode 100755 build-aux/extract-ofp-msgs > create mode 100644 lib/ofp-msgs.c > create mode 100644 lib/ofp-msgs.h > > -- > 1.7.2.5 > > _______________________________________________ > dev mailing list > dev@openvswitch.org > http://openvswitch.org/mailman/listinfo/dev > _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev