diff options
author | Aaron Conole <aconole@redhat.com> | 2016-06-08 17:49:55 -0400 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2016-06-23 15:02:38 -0700 |
commit | 314ce6479a8380e2aeaa53eb5bab96a23c06d62d (patch) | |
tree | 485a65f00c155d97931d61d9b15687f3efbf4a5e /manpages.mk | |
parent | 8e2b26562c2e82fd4492d4a27aa24238e47b022a (diff) | |
download | openvswitch-314ce6479a8380e2aeaa53eb5bab96a23c06d62d.tar.gz |
ovs-tcpdump: Add a tcpdump wrapper utility
Currently, there is some documentation which describes setting up and
using port mirrors for bridges. This documentation is helpful to setup
a packet capture for specific ports.
However, a utility to do such packet capture would be valuable, both
as an exercise in documenting the steps an additional time, and as a way
of providing an out-of-the-box experience for running a capture.
This commit adds a tcpdump-wrapper utility for such purpose. It uses the
Open vSwitch python library to add/remove ports and mirrors to/from the
Open vSwitch database. It will create a tcpdump instance listening on
the mirror port (allowing the user to specify additional arguments), and
dump data to the screen (or otherwise).
Signed-off-by: Aaron Conole <aconole@redhat.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Flavio Leitner <fbl@sysclose.org>
Diffstat (limited to 'manpages.mk')
-rw-r--r-- | manpages.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/manpages.mk b/manpages.mk index d4d4f2161..cf83e4488 100644 --- a/manpages.mk +++ b/manpages.mk @@ -164,6 +164,12 @@ utilities/ovs-pki.8: \ utilities/ovs-pki.8.in utilities/ovs-pki.8.in: +utilities/ovs-tcpdump.8: \ + utilities/ovs-tcpdump.8.in \ + lib/common.man +utilities/ovs-tcpdump.8.in: +lib/common.man: + utilities/ovs-tcpundump.1: \ utilities/ovs-tcpundump.1.in \ lib/common-syn.man \ |