[ovs-git] Open vSwitch: utilities: a top like tool for ovs-dpctl dump-flows. (master)

dev at openvswitch.org dev at openvswitch.org
Tue Sep 17 21:57:13 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  14b4c575c28421d1181b509dbeae6e4849c7da69 (commit)
      from  1394054ecbc5d7abd5b1af3798da4dff2cfb268a (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 14b4c575c28421d1181b509dbeae6e4849c7da69
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=14b4c575c28421d1181b509dbeae6e4849c7da69
Author: Mark Hamilton <mhamilton at nicira.com>
		
utilities: a top like tool for ovs-dpctl dump-flows.
		
This python script summarizes ovs-dpctl dump-flows content by aggregating
the number of packets, total bytes and occurrence of the following fields:
  - Datapath in_port
  - Ethernet type
  - Source and destination MAC addresses
  - IP protocol
  - Source and destination IPv4 addresses
  - Source and destination IPv6 addresses
  - UDP and TCP destination port
  - Tunnel source and destination addresses

Testing included confirming both mega-flows and non-megaflows are
properly parsed. Bit masks are applied in the case of mega-flows
prior to aggregation.  Test --script parameter which runs in
non-interactive mode. Tested syntax against python 2.4.3, 2.6 and 2.7.
Confirmed script passes pep8 and pylint run as:

pylint --disable=I0011 --include-id=y --reports=n

This tool has been added to these distribution:
  - add ovs-dpctl-top to debian distribution
  - add ovs-dpctl-top to rpm distribution.
  - add ovs-dpctl-top to XenServer RPM.

Signed-off-by: Mark Hamilton <mhamilton at nicira.com>
Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>


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

Summary of changes:
 debian/control                     |    2 +-
 debian/openvswitch-switch.install  |    1 +
 debian/openvswitch-switch.manpages |    1 +
 manpages.mk                        |    4 +
 rhel/openvswitch.spec.in           |    2 +
 utilities/automake.mk              |    6 +
 utilities/ovs-dpctl-top.8.in       |  140 +++
 utilities/ovs-dpctl-top.in         | 1687 ++++++++++++++++++++++++++++++++++++
 xenserver/openvswitch-xen.spec.in  |    2 +
 9 files changed, 1844 insertions(+), 1 deletion(-)
 create mode 100644 utilities/ovs-dpctl-top.8.in
 create mode 100755 utilities/ovs-dpctl-top.in


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list