Blob Blame History Raw
From 255c0b08321e9d81f69798d3df16c7548bd3c0db Mon Sep 17 00:00:00 2001
From: David Marchand <david.marchand@redhat.com>
Date: Fri, 23 Aug 2019 14:14:11 +0200
Subject: [PATCH] [openvswitch] catch all openvswitch2.* packages

Since the release of openvswitch 2.10, the Red Hat Fast Datapath channel
maintains multiple versions of openvswitch.

Update the list of packages using a wildcard to catch all openvswitch2.*
packages.

Resolves: #1768

Signed-off-by: David Marchand <david.marchand@redhat.com>
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
---
 sos/plugins/openvswitch.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sos/plugins/openvswitch.py b/sos/plugins/openvswitch.py
index 968efe09d..6fc0a7945 100644
--- a/sos/plugins/openvswitch.py
+++ b/sos/plugins/openvswitch.py
@@ -158,7 +158,7 @@ def setup(self):
 
 class RedHatOpenVSwitch(OpenVSwitch, RedHatPlugin):
 
-    packages = ('openvswitch', 'openvswitch-dpdk')
+    packages = ('openvswitch', 'openvswitch2.*', 'openvswitch-dpdk')
 
 
 class DebianOpenVSwitch(OpenVSwitch, DebianPlugin, UbuntuPlugin):