Hello Timothy Asir, Saggi Mizrahi, Dan Kenigsberg,
I'd like you to do a code review. Please visit
http://gerrit.ovirt.org/3386
to review the following change.
Change subject: Added getDevicePartedInfo function in supervdsm.
......................................................................
Added getDevicePartedInfo function in supervdsm.
This function accepts device path and returns its information as
dictionary. Sample return value is,
{'model': 'Virtio Block Device',
'sectorSize': 512L,
'type': 'gpt',
'freeSpaceRegions': [(34L, 2047L, 2014L, 1031168L),
(16775168L, 16777182L, 2015L, 1031680L)],
'partitions': [('/dev/vda1', ['bios_grub'], 2048L, 4095L),
('/dev/vda2', ['boot'], 4096L, 16285695L),
('/dev/vda3', [], 16285696L, 16775167L)]}
Change-Id: I6388d6c112abf106471223101be495f20f157c66
Signed-off-by: Bala.FA <barumuga(a)redhat.com>
---
M vdsm.spec.in
M vdsm/Makefile.am
A vdsm/parted_super.py
M vdsm/supervdsmServer.py
4 files changed, 62 insertions(+), 0 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/86/3386/1
--
To view, visit
http://gerrit.ovirt.org/3386
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I6388d6c112abf106471223101be495f20f157c66
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Bala.FA <barumuga(a)redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken(a)redhat.com>
Gerrit-Reviewer: Saggi Mizrahi <smizrahi(a)redhat.com>
Gerrit-Reviewer: Timothy Asir <tjeyasin(a)redhat.com>