[ovs-git] Open vSwitch: ofp-print, ofp-parse: Add support for NXAST_REG_MOVE and NXAST_REG_LOAD. (master)

dev at openvswitch.org dev at openvswitch.org
Thu Dec 9 19:09:18 UTC 2010


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  f393f81e425658cdfddf29ca23086bf66d6b733c (commit)
       via  9aee07644c8eb70626da28d4ccb9da4b9e57cd74 (commit)
       via  e41a91300789b03398007ebdb6025ca9d94fec26 (commit)
       via  86c61dbbdb186cca73876315e6a7e687ab196f5f (commit)
       via  9b045a0c66e9dfa6dd0266efb023823eefe82045 (commit)
       via  8d7fb7eef5e10dc47710e86554018b256ba3272f (commit)
       via  a2ad9ecdd0d4ac9a641e8cef1f3f4681fd77d6b1 (commit)
       via  2af0c0ef3fe0d45a3767c57566ae3a4327a0c2b7 (commit)
       via  3731490fda71cc9330c40362aa13361108443cfa (commit)
       via  61fe3a7b3b8b628ac70511e6af25bb9f8cb8bc2b (commit)
       via  640c7c945f3c748240609dc572858fc188db1c06 (commit)
       via  09862ec6099a95f525c013a0446ab5bc25ece280 (commit)
       via  c6430da5be53d510e31e8add61a2f2575193f4b4 (commit)
      from  3d785a24216d946fcce1c351e5d978043e14cbe2 (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 f393f81e425658cdfddf29ca23086bf66d6b733c
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=f393f81e425658cdfddf29ca23086bf66d6b733c
Author: Ben Pfaff <blp at nicira.com>
		
ofp-print, ofp-parse: Add support for NXAST_REG_MOVE and NXAST_REG_LOAD.
		


commit 9aee07644c8eb70626da28d4ccb9da4b9e57cd74
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=9aee07644c8eb70626da28d4ccb9da4b9e57cd74
Author: Ben Pfaff <blp at nicira.com>
		
ofp-util: Group everything related to actions together in header file.
		
Cleanup.


commit e41a91300789b03398007ebdb6025ca9d94fec26
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=e41a91300789b03398007ebdb6025ca9d94fec26
Author: Ben Pfaff <blp at nicira.com>
		
Make compiler complain about unhandled OpenFlow and Nicira action types.
		
This should help avoid forgetting about them in the future, because the
compiler will complain about unhandled values in switch statements.


commit 86c61dbbdb186cca73876315e6a7e687ab196f5f
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=86c61dbbdb186cca73876315e6a7e687ab196f5f
Author: Ben Pfaff <blp at nicira.com>
		
nicira-ext: Remove unused macro NICIRA_OUI_STR.
		
I don't know what this is good for.


commit 9b045a0c66e9dfa6dd0266efb023823eefe82045
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=9b045a0c66e9dfa6dd0266efb023823eefe82045
Author: Ben Pfaff <blp at nicira.com>
		
ofp-print: Print OFPUTIL_NXT_FLOW_REMOVED.
		


commit 8d7fb7eef5e10dc47710e86554018b256ba3272f
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=8d7fb7eef5e10dc47710e86554018b256ba3272f
Author: Ben Pfaff <blp at nicira.com>
		
ofp-util: Fix byte order of ofputil_cls_rule_from_match() parameter.
		
This doesn't change any generated code so it is not a bug fix, but it
makes the byte order of the 'cookie' argument clear.


commit a2ad9ecdd0d4ac9a641e8cef1f3f4681fd77d6b1
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=a2ad9ecdd0d4ac9a641e8cef1f3f4681fd77d6b1
Author: Ben Pfaff <blp at nicira.com>
		
ofp-print: Print OFPUTIL_NXST_AGGREGATE_REPLY.
		


commit 2af0c0ef3fe0d45a3767c57566ae3a4327a0c2b7
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=2af0c0ef3fe0d45a3767c57566ae3a4327a0c2b7
Author: Ben Pfaff <blp at nicira.com>
		
ofp-print: Print NXST_FLOW_REQUEST and NXST_AGGREGATE_REQUEST.
		
This takes advantage of ofputil_decode_flow_stats_request() to get rid of
some code.


commit 3731490fda71cc9330c40362aa13361108443cfa
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=3731490fda71cc9330c40362aa13361108443cfa
Author: Ben Pfaff <blp at nicira.com>
		
ofp-print: Print OFPUTIL_NXT_STATUS_REQUEST and OFPUTIL_NXT_STATUS_REPLY.
		


commit 61fe3a7b3b8b628ac70511e6af25bb9f8cb8bc2b
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=61fe3a7b3b8b628ac70511e6af25bb9f8cb8bc2b
Author: Ben Pfaff <blp at nicira.com>
		
ofp-print: Print OFPUTIL_NXT_ROLE_REQUEST and OFPUTIL_NXT_ROLE_REPLY.
		


commit 640c7c945f3c748240609dc572858fc188db1c06
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=640c7c945f3c748240609dc572858fc188db1c06
Author: Ben Pfaff <blp at nicira.com>
		
ovs-ofctl: Fix del-flows command parsing bugs.
		
"ovs-ofctl del-flows br0" segfaulted because do_flow_mod__() assumed that
it always had a "flow" argument, which is not true for the del-flows
command.

Beyond that, parse_ofp_flow_mod_str() rejected "ovs-ofctl del-flows
br0" because no actions were supplied, even though supplying actions
doesn't make sense for deleting flows.

This commit fixes both problems and adds a simple test that would have
caught both problems.

Bug #4112.


commit 09862ec6099a95f525c013a0446ab5bc25ece280
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=09862ec6099a95f525c013a0446ab5bc25ece280
Author: Ben Pfaff <blp at nicira.com>
		
ofp-print: Print durations more readably.
		
It's easier to read "duration=1.75s" than "duration_sec=1s
duration_nsec=750000000ns".


commit c6430da5be53d510e31e8add61a2f2575193f4b4
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=c6430da5be53d510e31e8add61a2f2575193f4b4
Author: Ben Pfaff <blp at nicira.com>
		
ofp-print: Print NXST_FLOW replies.
		


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

Summary of changes:
 include/openflow/nicira-ext.h |    2 -
 lib/nx-match.c                |  183 ++++++++++++++++-
 lib/nx-match.h                |    7 +
 lib/ofp-parse.c               |   12 +-
 lib/ofp-print.c               |  441 +++++++++++++++++++++++++++--------------
 lib/ofp-util.c                |  104 +++++++++-
 lib/ofp-util.h                |   31 +++-
 ofproto/ofproto.c             |    9 +-
 tests/ofproto.at              |   23 ++-
 tests/ovs-ofctl.at            |   12 +-
 utilities/ovs-ofctl.8.in      |   23 +++
 utilities/ovs-ofctl.c         |    3 +-
 12 files changed, 664 insertions(+), 186 deletions(-)


hooks/post-receive
-- 
Open vSwitch




More information about the git mailing list