From 613f507a43a1cfff6c6d0e242c122b4b2b55e1dc Mon Sep 17 00:00:00 2001 From: Kevin Traynor Date: Fri, 9 Oct 2020 22:08:16 +0100 Subject: [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 Signed-off-by: Jake Hunsaker --- sos/report/plugins/openvswitch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit