This series of patches works in the direction of OF1.1 support.
OF1.2 will be a set of incremental changes over OF1.1, so this
is also helpful toward OF1.2 support.

These patches do not implement complete OF1.1 support; much
additional work is needed.  Many of the individual patches need
some work too; I note that where I am aware of that in the commit
logs.

The patches individually and as a group pass all of the unit tests
and I do not know of any regressions that they introduce.

The first two patches have been posted earlier.  I don't think that
I've changed them in any significant way since then.

I will soon post a message that explains the approach that I am
hoping to follow toward full OF1.1 support.

Ben Pfaff (10):
  nicira-ext: Rename "struct nxt_*" to "struct nx_*".
  Better abstract OpenFlow error codes.
  Introduce ofputil_protocol, to abstract the protocol in use on a
    connection.
  util: Move bitwise_copy() here.
  Introduce ofpacts, an abstraction of OpenFlow actions.
  Move content of openflow.h into openflow-1.0.h.
  Begin breaking openflow-1.0.h into common and version-specific
    definitions.
  ofp-util: Add functions for working with OpenFlow 1.1 port numbers.
  Break OFPT_* constants into common value and 1.0- and 1.1-specific
    values.
  Abstract everything that uses ofp_phy_port, add OF1.1 support.

 build-aux/check-structs                         |   51 +-
 build-aux/extract-ofp-errors                    |  243 +++-
 include/openflow/automake.mk                    |   32 +-
 include/openflow/nicira-ext.h                   |   10 +-
 include/openflow/{openflow.h => openflow-1.0.h} |  394 ++----
 include/openflow/openflow-1.1.h                 |  188 +++
 include/openflow/openflow-common.h              |  197 +++
 include/openflow/openflow.h                     |  877 +-----------
 lib/.gitignore                                  |    2 +-
 lib/automake.mk                                 |   15 +-
 lib/autopath.c                                  |   67 +-
 lib/autopath.h                                  |   16 +-
 lib/bundle.c                                    |  292 ++--
 lib/bundle.h                                    |   28 +-
 lib/dpif.c                                      |   10 +-
 lib/learn.c                                     |  678 ++++-----
 lib/learn.h                                     |   16 +-
 lib/learning-switch.c                           |   58 +-
 lib/learning-switch.h                           |    8 +-
 lib/meta-flow.c                                 |  296 +++-
 lib/meta-flow.h                                 |   24 +-
 lib/multipath.c                                 |  136 +-
 lib/multipath.h                                 |   21 +-
 lib/netdev-linux.c                              |  115 +-
 lib/netdev-provider.h                           |   13 +-
 lib/netdev.c                                    |   60 +-
 lib/netdev.h                                    |   33 +-
 lib/netlink.c                                   |   45 +-
 lib/netlink.h                                   |    5 +
 lib/nx-match.c                                  |  380 ++----
 lib/nx-match.h                                  |   45 +-
 lib/ofp-actions.c                               |  885 +++++++++++
 lib/ofp-actions.h                               |  174 +++
 lib/ofp-errors.c                                |  286 ++++
 lib/ofp-errors.h                                |  392 +++++-
 lib/ofp-parse.c                                 |  333 ++---
 lib/ofp-parse.h                                 |   13 +-
 lib/ofp-print.c                                 |  671 ++++-----
 lib/ofp-print.h                                 |    3 +-
 lib/ofp-util.c                                  | 1809 ++++++++++++++---------
 lib/ofp-util.def                                |   30 +-
 lib/ofp-util.h                                  |  458 ++++---
 lib/rconn.c                                     |    8 +-
 lib/rconn.h                                     |    1 +
 lib/stream.c                                    |    2 +-
 lib/util.c                                      |   52 +
 lib/util.h                                      |    9 +
 lib/vconn.c                                     |   46 +-
 lib/vconn.h                                     |    1 +
 ofproto/connmgr.c                               |   98 +-
 ofproto/connmgr.h                               |   19 +-
 ofproto/fail-open.c                             |   15 +-
 ofproto/in-band.c                               |    4 +-
 ofproto/ofproto-dpif.c                          |  406 +++---
 ofproto/ofproto-provider.h                      |   87 +-
 ofproto/ofproto.c                               |  507 ++++----
 ofproto/pktbuf.c                                |   13 +-
 ofproto/pktbuf.h                                |    8 +-
 tests/autopath.at                               |    8 +-
 tests/learn.at                                  |   21 +-
 tests/ofp-print.at                              |   24 +-
 tests/ofproto.at                                |   12 +-
 tests/ovs-ofctl.at                              |  157 ++-
 tests/test-bundle.c                             |   59 +-
 tests/test-multipath.c                          |   11 +-
 tests/test-vconn.c                              |   20 +-
 utilities/ovs-controller.c                      |   41 +-
 utilities/ovs-ofctl.c                           |  542 ++++----
 vswitchd/ovs-vswitchd.c                         |    2 +-
 69 files changed, 6667 insertions(+), 4915 deletions(-)
 copy include/openflow/{openflow.h => openflow-1.0.h} (64%)
 create mode 100644 include/openflow/openflow-1.1.h
 create mode 100644 include/openflow/openflow-common.h
 create mode 100644 lib/ofp-actions.c
 create mode 100644 lib/ofp-actions.h
 create mode 100644 lib/ofp-errors.c

-- 
1.7.2.5

_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to