diff options
author | Mark Hamilton <mhamilton@nicira.com> | 2013-09-13 15:50:48 -0700 |
---|---|---|
committer | Gurucharan Shetty <gshetty@nicira.com> | 2013-09-17 14:56:24 -0700 |
commit | 14b4c575c28421d1181b509dbeae6e4849c7da69 (patch) | |
tree | d32daa0d8acceb79786d403110d3163ceb5618b6 /manpages.mk | |
parent | 1394054ecbc5d7abd5b1af3798da4dff2cfb268a (diff) | |
download | openvswitch-14b4c575c28421d1181b509dbeae6e4849c7da69.tar.gz |
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@nicira.com>
Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
Diffstat (limited to 'manpages.mk')
-rw-r--r-- | manpages.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/manpages.mk b/manpages.mk index 263f2ea2e..811d2f992 100644 --- a/manpages.mk +++ b/manpages.mk @@ -124,6 +124,10 @@ utilities/ovs-dpctl.8.in: lib/common.man: lib/vlog.man: +utilities/ovs-dpctl-top.8: \ + utilities/ovs-dpctl-top.8.in +utilities/ovs-dpctl-top.8.in: + utilities/ovs-l3ping.8: \ utilities/ovs-l3ping.8.in \ lib/common-syn.man \ |