Genadi Chereshnya has uploaded a new change for review.
Change subject: vdsm | netinfo : Return Mac of bond slaves in lower case ......................................................................
vdsm | 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 gcheresh@redhat.com --- M lib/vdsm/netinfo.py 1 file changed, 1 insertion(+), 2 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/88/31888/1
diff --git a/lib/vdsm/netinfo.py b/lib/vdsm/netinfo.py index a3dc2ea..9080d46 100644 --- a/lib/vdsm/netinfo.py +++ b/lib/vdsm/netinfo.py @@ -438,8 +438,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