[ovs-git] Open vSwitch: ovs-ofctl: Add --sort and --rsort options for "dump-flows" command. (master)

dev at openvswitch.org dev at openvswitch.org
Thu Jul 12 20:33:39 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  bdcc59259553133f25a1c9759fa4bfa302adc365 (commit)
       via  4ce9c31573b0dc01696d1b0080b67b726b31cc19 (commit)
       via  9abfe557918794cc252f010aa19e31f8beb24c23 (commit)
      from  1a59dc2c8a23dcd6a240fa6ee099008602c9f73e (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 bdcc59259553133f25a1c9759fa4bfa302adc365
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=bdcc59259553133f25a1c9759fa4bfa302adc365
Author: Ben Pfaff <blp at nicira.com>
		
ovs-ofctl: Add --sort and --rsort options for "dump-flows" command.
		
Feature #8754.
Signed-off-by: Arun Sharma <arun.sharma at calsoftinc.com>
[blp at nicira.com rewrote most of the code]
Signed-off-by: Ben Pfaff <blp at nicira.com>


commit 4ce9c31573b0dc01696d1b0080b67b726b31cc19
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=4ce9c31573b0dc01696d1b0080b67b726b31cc19
Author: Ben Pfaff <blp at nicira.com>
		
ovs-ofctl: Factor code out of read_flows_from_switch().
		
I want to use this code in another function in an upcoming commit.

Signed-off-by: Ben Pfaff <blp at nicira.com>


commit 9abfe557918794cc252f010aa19e31f8beb24c23
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=9abfe557918794cc252f010aa19e31f8beb24c23
Author: Ben Pfaff <blp at nicira.com>
		
ovs-ofctl: Use the prepared connection to dump flows in do_dump_flows__().
		
The logic in do_dump_flows__() went to some trouble to open an OpenFlow
connection and set the correct protocol, but then it allowed
dump_stats_transaction() to create and use a completely different OpenFlow
connection that hadn't been prepared that way.  This commit fixes the
problem.

I don't think that there is a real bug here because currently the set of
protocols doesn't influence flow stats replies.  But that could change in
the future.

Signed-off-by: Ben Pfaff <blp at nicira.com>


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

Summary of changes:
 NEWS                     |    1 +
 lib/ofp-print.c          |   83 +++++++------
 lib/ofp-print.h          |    9 +-
 tests/ovs-ofctl.at       |   89 +++++++++++++
 utilities/ovs-ofctl.8.in |   37 +++++-
 utilities/ovs-ofctl.c    |  316 ++++++++++++++++++++++++++++++++++++----------
 6 files changed, 428 insertions(+), 107 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list