Change in vdsm[master]: Added lsblk tool support in supervdsm.

barumuga at redhat.com barumuga at redhat.com
Tue Mar 6 10:42:13 UTC 2012


Hello Saggi Mizrahi, Dan Kenigsberg,

I'd like you to do a code review.  Please visit

    http://gerrit.ovirt.org/2594

to review the following change.

Change subject: Added lsblk tool support in supervdsm.
......................................................................

Added lsblk tool support in supervdsm.

lsblk tool is used to get block device information.
Now supervdsm has a function getLsBlk which returns all block
device information as dictionary.  Sample return value is,

{'sda': {'FSTYPE': '', 'KNAME': 'sda', 'UUID': ''},
 'sda1': {'FSTYPE': 'ext4',
          'KNAME': 'sda1',
          'UUID': '12345678-0c05-1111-2222-1234567890d6'},
 'sda2': {'FSTYPE': 'swap',
          'KNAME': 'sda2',
          'UUID': '12345678-1111-2222-3333-12345678903c'}}

Change-Id: Ib0b575fea9a46ac6358adf1b10a66c262888e0e4
Signed-off-by: Bala.FA <barumuga at redhat.com>
---
M configure.ac
M vdsm.spec.in
M vdsm/Makefile.am
M vdsm/constants.py.in
A vdsm/lsblk.py
M vdsm/supervdsmServer.py
6 files changed, 59 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/94/2594/1
--
To view, visit http://gerrit.ovirt.org/2594
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib0b575fea9a46ac6358adf1b10a66c262888e0e4
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Bala.FA <barumuga at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Saggi Mizrahi <smizrahi at redhat.com>


More information about the vdsm-patches mailing list