diff options
author | Pavel Moravec <pmoravec@redhat.com> | 2018-10-15 07:48:30 +0200 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2019-03-18 12:09:15 +0000 |
commit | 28bc85502f2e2b29a123ffb566db6e4deb311edd (patch) | |
tree | 7da95882cf5eec6054f0bf9d41139c3d3888d122 | |
parent | 3d6face4a23304bc85548ffb1177f214bd925ccc (diff) | |
download | sos-28bc85502f2e2b29a123ffb566db6e4deb311edd.tar.gz |
[openvswitch] Collect also offloaded flows
Dump also any offloaded hardware flows by colling:
ovs-dpctl dump-flows type=offloaded -m
Resolves: #1450
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
-rw-r--r-- | sos/plugins/openvswitch.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sos/plugins/openvswitch.py b/sos/plugins/openvswitch.py index 6f3c4268..5244bb63 100644 --- a/sos/plugins/openvswitch.py +++ b/sos/plugins/openvswitch.py @@ -49,6 +49,8 @@ class OpenVSwitch(Plugin): "ovs-dpctl -s show", # Capture the in-kernel flow information if it exists "ovs-dpctl dump-flows -m", + # Capture the flow information also for offloaded rules + "ovs-dpctl dump-flows type=offloaded -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", |