aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Conole <aconole@redhat.com>2017-03-25 08:20:15 -0400
committerBryn M. Reeves <bmr@redhat.com>2017-03-27 17:33:08 +0100
commit3770b446555f26c24c2fe0eba6f0eee1c0aca6e4 (patch)
tree4962e6ac322b6517bef17f41793e36a2eb44e4af
parenta5cf3f138e7d57c9862287fbe0a9baf4cae0d472 (diff)
downloadsos-3770b446555f26c24c2fe0eba6f0eee1c0aca6e4.tar.gz
[openvswitch] capture kernel datapath flows
Resolves: #972. Signed-off-by: Aaron Conole <aconole@redhat.com>
-rw-r--r--sos/plugins/openvswitch.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/sos/plugins/openvswitch.py b/sos/plugins/openvswitch.py
index c9946e3c..43124703 100644
--- a/sos/plugins/openvswitch.py
+++ b/sos/plugins/openvswitch.py
@@ -36,6 +36,8 @@ class OpenVSwitch(Plugin):
# The '-s' option enables dumping of packet counters on the
# ports.
"ovs-dpctl -s show",
+ # Capture the in-kernel flow information if it exists
+ "ovs-dpctl dump-flows -m",
# The '-t 5' adds an upper bound on how long to wait to connect
# to the Open vSwitch server, avoiding hangs when running sos.
"ovs-vsctl -t 5 show",