Genadi Chereshnya has uploaded a new change for review.

Change subject: netinfo: Return Mac of bond slaves in lower case
......................................................................

netinfo: Return Mac of bond slaves in lower case

getVdsCaps returns MAC of all interfaces in lower case and for bond slaves
it returned it in upper cases - fixing inconsistency

Change-Id: Ibbd431b73fa1f381a897b6550e2b398009c0a7b9
Bug-Url: https://bugzilla.redhat.com/1116810
Signed-off-by: Genadi Chereshnya <[email protected]>
Reviewed-on: http://gerrit.ovirt.org/31888
Reviewed-by: Dan Kenigsberg <[email protected]>
(cherry picked from commit bd4a297c25fc5d6e241d28ca5eb0fb2b4c538e6e)
---
M lib/vdsm/netinfo.py
1 file changed, 1 insertion(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/89/32289/1

diff --git a/lib/vdsm/netinfo.py b/lib/vdsm/netinfo.py
index 7bd8075..5dc2cd6 100644
--- a/lib/vdsm/netinfo.py
+++ b/lib/vdsm/netinfo.py
@@ -518,8 +518,7 @@
             if line.startswith('Slave Interface: '):
                 slave = line[len('Slave Interface: '):-1]
             if line.startswith('Permanent HW addr: '):
-                addr = line[len('Permanent HW addr: '):-1]
-                paddr[slave] = addr.upper()
+                paddr[slave] = line[len('Permanent HW addr: '):-1]
     return paddr
 
 


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibbd431b73fa1f381a897b6550e2b398009c0a7b9
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: ovirt-3.5
Gerrit-Owner: Genadi Chereshnya <[email protected]>
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to