aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Traynor <ktraynor@redhat.com>2020-10-09 22:08:16 +0100
committerJake Hunsaker <jhunsake@redhat.com>2020-10-14 10:42:02 -0400
commit613f507a43a1cfff6c6d0e242c122b4b2b55e1dc (patch)
treeb381704abc41a70949620a7c37fa1b44e6af27c4
parentbe347440d5f8d650791ff044970c5e65ee8ec2a3 (diff)
downloadsos-613f507a43a1cfff6c6d0e242c122b4b2b55e1dc.tar.gz
[openvswitch] fix dpdk-devbind.py command
dpdk_nic_bind.py came from DPDK project and was renamed to dpdk-devbind.py in DPDK 16.07. The renamed script uses a hyphen as a seperator and not an underscore. Checked upstream DPDK project and packaged versions on Fedora32/RHEL8/Ubuntu20.04 and all using hyphen. Replace underscore with hyphen in the sos command. Signed-off-by: Kevin Traynor <ktraynor@redhat.com> Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
-rw-r--r--sos/report/plugins/openvswitch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/report/plugins/openvswitch.py b/sos/report/plugins/openvswitch.py
index 82d9fb65..fd5ad9b9 100644
--- a/sos/report/plugins/openvswitch.py
+++ b/sos/report/plugins/openvswitch.py
@@ -87,7 +87,7 @@ class OpenVSwitch(Plugin):
"ls -laZ /var/lib/vhost_sockets",
# List devices and their drivers
"dpdk_nic_bind --status",
- "dpdk_devbind.py --status",
+ "dpdk-devbind.py --status",
"driverctl list-devices",
"driverctl list-overrides",
# Capture a list of all bond devices