diff options
author | Pavel Moravec <pmoravec@redhat.com> | 2017-11-09 13:07:59 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2017-11-15 15:36:48 +0000 |
commit | e7552dd922d262ad13441f050b5223aea68d44ac (patch) | |
tree | 673b458f9203197b9607d1e9cb07d454772de852 | |
parent | 0a5dcd9828cda36c5272d2fef61363846df798af (diff) | |
download | sos-e7552dd922d262ad13441f050b5223aea68d44ac.tar.gz |
[openvswitch] collect few ovs-ofctl dumps and OVS list
Required for/by OpenDaylight.
Related to: #1143
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
-rw-r--r-- | sos/plugins/openvswitch.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sos/plugins/openvswitch.py b/sos/plugins/openvswitch.py index b3bc4054..a137eda7 100644 --- a/sos/plugins/openvswitch.py +++ b/sos/plugins/openvswitch.py @@ -76,6 +76,8 @@ class OpenVSwitch(Plugin): "ovs-appctl upcall/show", # Capture DPDK and other parameters "ovs-vsctl -t 5 get Open_vSwitch . other_config", + # Capture OVS list + "ovs-vsctl list Open_vSwitch", # Capture DPDK datapath packet counters and config "ovs-appctl dpctl/show -s", # Capture DPDK queue to pmd mapping @@ -126,6 +128,9 @@ class OpenVSwitch(Plugin): for flow in flow_versions: if flow in br_protos: self.add_cmd_output([ + "ovs-ofctl -O %s show %s" % (flow, br), + "ovs-ofctl -O %s dump-groups %s" % (flow, br), + "ovs-ofctl -O %s dump-group-stats %s" % (flow, br), "ovs-ofctl -O %s dump-flows %s" % (flow, br), "ovs-ofctl -O %s dump-ports-desc %s" % (flow, br) ]) |