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

dev at openvswitch.org dev at openvswitch.org
Tue Sep 17 21:59: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, branch-2.0 has been updated
       via  12d364973a97c36b93f6d6e88f49a99e096d82e4 (commit)
      from  75ab5755897d3deda272fbc57ba4cf924e05d8ff (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 12d364973a97c36b93f6d6e88f49a99e096d82e4
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=12d364973a97c36b93f6d6e88f49a99e096d82e4
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