Antoni Segura Puimedon has uploaded a new change for review.

Change subject: netinfo: Fix wrong filtering of dummy devices
......................................................................

netinfo: Fix wrong filtering of dummy devices

Dummy (and veth) devices were being filtered for use by vdsm in the
method isFakeNic, but in the method that is used to determine what
is reported as nics, isNicLike, it was not being used, and instead
isDUMMY and isVETH were being called.

Change-Id: I3809eb1bb3230543bd586dcf722e2603da16952a
Signed-off-by: Antoni S. Puimedon <[email protected]>
---
M lib/vdsm/ipwrapper.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/75/24175/1

diff --git a/lib/vdsm/ipwrapper.py b/lib/vdsm/ipwrapper.py
index 522ac80..441b435 100644
--- a/lib/vdsm/ipwrapper.py
+++ b/lib/vdsm/ipwrapper.py
@@ -223,7 +223,7 @@
         return False
 
     def isNICLike(self):
-        return self.isDUMMY() or self.isNIC() or self.isVETH() or self.isVF()
+        return self.isNIC() or self.isVF() or self.isFakeNIC()
 
     def isHidden(self):
         """Returns True iff vdsm config hides the device."""


-- 
To view, visit http://gerrit.ovirt.org/24175
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3809eb1bb3230543bd586dcf722e2603da16952a
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Antoni Segura Puimedon <[email protected]>
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to