[ovs-git] Open vSwitch: ofproto/ofproto-dpif.c: Re-implement the ofproto/trace command (master)

dev at openvswitch.org dev at openvswitch.org
Tue May 21 22:19:32 UTC 2013

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  50aa28fdbf2df9d81d663dc6442ab620f912a39e (commit)
      from  e8999bdc671c60775ba410bcd5d12e383276d703 (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 50aa28fdbf2df9d81d663dc6442ab620f912a39e
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=50aa28fdbf2df9d81d663dc6442ab620f912a39e
Author: Alex Wang <alexw at nicira.com>
ofproto/ofproto-dpif.c: Re-implement the ofproto/trace command
Since the use of single datapath, all bridges belonging to the same type of
datapath will use the same (single) datapath. This causes confusion in the
current 'ofproto/trace' command. Especially, when given the unrelated
'bridge' and 'in_port' combination, the current implementation will still
be able to process and give misleading output. Thusly, this patch changes
the 'ofproto/trace' command syntax to formats shown as follow.

ofproto/trace [datapath] odp_flow [-generate|packet]
ofproto/trace bridge br_flow [-generate|packet]

Also, this patch updates the tests and the manpages accordingly.

Co-authored-by: Ben Pfaff <blp at nicira.com>
Signed-off-by: Alex Wang <alexw at nicira.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>


Summary of changes:
 ofproto/ofproto-dpif.c      |  155 ++++++++++++++++++++++---------------------
 ofproto/ofproto-unixctl.man |  138 +++++++++++++++++++++++---------------
 tests/learn.at              |   16 ++--
 tests/ofproto-dpif.at       |   76 +++++++++++-----------
 tests/tunnel.at             |   52 +++++++-------
 5 files changed, 233 insertions(+), 204 deletions(-)

Open vSwitch

More information about the git mailing list