When devices that do not support coalescing are present, the tests fail
with the folloing error message:
lnst.Common.DeviceError.DeviceError: No values for coalescence of eth1.
This came up with adding a VM as a host in OvSDPDKPvPRecipe.
This patch is just a workaround added just to make it work.
Signed-off-by: Adrian Moreno <amorenoz(a)redhat.com>
Signed-off-by: Ondrej Lichtner <olichtne(a)redhat.com>
---
lnst/Devices/RemoteDevice.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lnst/Devices/RemoteDevice.py b/lnst/Devices/RemoteDevice.py
index 17bc52b..daf898e 100644
--- a/lnst/Devices/RemoteDevice.py
+++ b/lnst/Devices/RemoteDevice.py
@@ -145,7 +145,7 @@ class RemoteDevice(object):
def __iter__(self):
for x in dir(self._dev_cls):
- if x[0] == '_' or x[0:1] == "__":
+ if x[0] == '_' or x[0:1] == "__" or "coalescing"
in x:
continue
attr = getattr(self._dev_cls, x)
--
2.21.0