[ovs-git] Open vSwitch: Add information about time left before timeouts to flow dumps. (master)

dev at openvswitch.org dev at openvswitch.org
Tue Feb 7 23:50:41 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  f27f21341ab42ad0e898d6c0e1bd4e98af82afda (commit)
       via  ef0ce8aeeeb95d2d64a8a22bd5839d7f684a31f5 (commit)
       via  f3b50afb0347705ba667b030204f61c8a3865b09 (commit)
      from  3370cd3c3c2a421a9ce21bd5a60b389ffb8734ca (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 f27f21341ab42ad0e898d6c0e1bd4e98af82afda
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=f27f21341ab42ad0e898d6c0e1bd4e98af82afda
Author: Ben Pfaff <blp at nicira.com>
		
Add information about time left before timeouts to flow dumps.
		
The "learn" action is useful for MAC learning, but until now there has been
no way to find out through OpenFlow how much time remains before a MAC
learning entry (a learned flow) expires.  This commit adds that ability.

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


commit ef0ce8aeeeb95d2d64a8a22bd5839d7f684a31f5
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=ef0ce8aeeeb95d2d64a8a22bd5839d7f684a31f5
Author: Ben Pfaff <blp at nicira.com>
		
tests: Use ofctl_strip consistently.
		
The ofctl_strip shell function was introduced a little while ago.  It makes
test results easier to read, in my opinion, by removing uninteresting
bits.  This commit adopts ofctl_strip throughout the tests.

This is useful in an upcoming commit that adds additional fields that
should also be stripped to ovs-ofctl output.

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


commit f3b50afb0347705ba667b030204f61c8a3865b09
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=f3b50afb0347705ba667b030204f61c8a3865b09
Author: Ben Pfaff <blp at nicira.com>
		
ofproto-dpif: Update last-used time of initial rule in handle_flow_miss().
		
When handle_flow_miss() handled a packet, it failed to update the rule's
last-used time.  The change to flow_push_stats() fixes the problem.

The change to rule_execute() deletes code that becomes redundant after the
change to flow_push_stats().

A test case introduced in an upcoming commit fails without this fix.

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


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

Summary of changes:
 NEWS                          |    2 +
 include/openflow/nicira-ext.h |   32 ++++++++++-
 lib/learning-switch.c         |    1 +
 lib/ofp-print.c               |   11 ++++-
 lib/ofp-util.c                |   32 +++++++++++-
 lib/ofp-util.h                |    8 ++-
 ofproto/ofproto-dpif.c        |    5 +-
 ofproto/ofproto.c             |   27 ++++++++--
 tests/learn.at                |   22 ++++----
 tests/ofp-print.at            |   16 +++---
 tests/ofproto-dpif.at         |  114 ++++++++++++++++++++++++++++++++++++----
 tests/ofproto-macros.at       |    2 +
 tests/ofproto.at              |   76 ++++++++++++++--------------
 tests/ovs-ofctl.at            |    8 ++--
 utilities/ovs-ofctl.8.in      |   38 ++++++++-----
 utilities/ovs-ofctl.c         |    2 +-
 16 files changed, 293 insertions(+), 103 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list