aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlavio Leitner <fbl@redhat.com>2016-05-05 12:40:17 -0400
committerBryn M. Reeves <bmr@redhat.com>2016-05-26 18:22:27 +0100
commit96bb9901cd843bfaa4120f051ec4d27761e7e441 (patch)
tree8f111e87d9d54403249d74c9cb21329168a807fd
parent134f9cf24e588d96f4c660a4264fc67f70c8e522 (diff)
downloadsos-96bb9901cd843bfaa4120f051ec4d27761e7e441.tar.gz
[openvswitch] List devices and their drivers
DPDK enabled Open vSwitch supports kernel devices and userspace devices (DPDK), so capture a list of all NICs and their drivers. Signed-off-by: Flavio Leitner <fbl@redhat.com>
-rw-r--r--sos/plugins/openvswitch.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/sos/plugins/openvswitch.py b/sos/plugins/openvswitch.py
index d3493511..54f78827 100644
--- a/sos/plugins/openvswitch.py
+++ b/sos/plugins/openvswitch.py
@@ -45,7 +45,9 @@ class OpenVSwitch(Plugin):
"ls -laZ /var/run/openvswitch",
# Gather systemd services logs
"journalctl -u openvswitch",
- "journalctl -u openvswitch-nonetwork"
+ "journalctl -u openvswitch-nonetwork",
+ # List devices and their drivers
+ "dpdk_nic_bind --status"
])
# Gather additional output for each OVS bridge on the host.