[ovs-git] Open vSwitch: ofp-util: Work on decoding OF1.1 flow_mods. (master)

dev at openvswitch.org dev at openvswitch.org
Tue Jul 31 04:10:02 UTC 2012


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  aa319503aa099030d4e4796710b0ebace8907f2b (commit)
       via  358058064ba6544c9d310c78859b02a42e09f76b (commit)
       via  e2b9ac44c82590c2a9a27bff79ae43899277f703 (commit)
       via  a814ba0f15c749aec0c5815ec099d4e165f67016 (commit)
       via  982697a4d24caa0a3bdaf85db67619338b382e50 (commit)
      from  4b3b8d8fa14bbe4000c6591eef74e0a0d51a3929 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit aa319503aa099030d4e4796710b0ebace8907f2b
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=aa319503aa099030d4e4796710b0ebace8907f2b
Author: Ben Pfaff <blp at nicira.com>
		
ofp-util: Work on decoding OF1.1 flow_mods.
		
Signed-off-by: Ben Pfaff <blp at nicira.com>
Tested-by: Simon Horman <horms at verge.net.au>
Reviewed-by: Simon Horman <horms at verge.net.au>


commit 358058064ba6544c9d310c78859b02a42e09f76b
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=358058064ba6544c9d310c78859b02a42e09f76b
Author: Ben Pfaff <blp at nicira.com>
		
openflow: Separate OF1.0, OF1.1 flow_mod constants and types.
		
Signed-off-by: Ben Pfaff <blp at nicira.com>
Tested-by: Simon Horman <horms at verge.net.au>
Reviewed-by: Simon Horman <horms at verge.net.au>


commit e2b9ac44c82590c2a9a27bff79ae43899277f703
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=e2b9ac44c82590c2a9a27bff79ae43899277f703
Author: Ben Pfaff <blp at nicira.com>
		
openflow: Rename OpenFlow 1.0 statistics messages with "10" infix.
		
Signed-off-by: Ben Pfaff <blp at nicira.com>
Tested-by: Simon Horman <horms at verge.net.au>
Reviewed-by: Simon Horman <horms at verge.net.au>


commit a814ba0f15c749aec0c5815ec099d4e165f67016
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=a814ba0f15c749aec0c5815ec099d4e165f67016
Author: Ben Pfaff <blp at nicira.com>
		
nicira-ext: Drop nx_aggregate_stats_reply structure.
		
It now duplicates ofp_aggregate_stats_reply except for alignment issues, so
we might as well unify the code.

Signed-off-by: Ben Pfaff <blp at nicira.com>
Tested-by: Simon Horman <horms at verge.net.au>
Reviewed-by: Simon Horman <horms at verge.net.au>


commit 982697a4d24caa0a3bdaf85db67619338b382e50
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=982697a4d24caa0a3bdaf85db67619338b382e50
Author: Ben Pfaff <blp at nicira.com>
		
ofp-msgs: New approach to encoding and decoding OpenFlow headers.
		
OpenFlow headers are not as uniform as they could be, with size, alignment,
and numbering changes from one version to another and across varieties
(e.g. ordinary messages vs. "stats" messages).  Until now the Open vSwitch
internal APIs haven't done a good job of abstracting those differences in
header formats.  This commit changes that; from this commit forward very
little code actually needs to understand the header format or numbering.
Instead, it can just encode or decode, or pull or put, the header using
a more abstract API using the ofpraw_, ofptype_, and other APIs in the
new ofp-msgs module.

Signed-off-by: Ben Pfaff <blp at nicira.com>
Tested-by: Simon Horman <horms at verge.net.au>
Reviewed-by: Simon Horman <horms at verge.net.au>


-----------------------------------------------------------------------

Summary of changes:
 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                    |  338 ++++----
 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, 2890 insertions(+), 2261 deletions(-)
 create mode 100755 build-aux/extract-ofp-msgs
 create mode 100644 lib/ofp-msgs.c
 create mode 100644 lib/ofp-msgs.h


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list