Revision 59726e15 lib/backend.py
b/lib/backend.py | ||
---|---|---|
762 | 762 |
result[constants.NV_VGLIST] = utils.ListVolumeGroups() |
763 | 763 |
|
764 | 764 |
if constants.NV_PVLIST in what and vm_capable: |
765 |
result[constants.NV_PVLIST] = \
|
|
766 |
bdev.LogicalVolume.GetPVInfo(what[constants.NV_PVLIST],
|
|
767 |
filter_allocatable=False)
|
|
765 |
val = bdev.LogicalVolume.GetPVInfo(what[constants.NV_PVLIST],
|
|
766 |
filter_allocatable=False)
|
|
767 |
result[constants.NV_PVLIST] = map(objects.LvmPvInfo.ToDict, val)
|
|
768 | 768 |
|
769 | 769 |
if constants.NV_VERSION in what: |
770 | 770 |
result[constants.NV_VERSION] = (constants.PROTOCOL_VERSION, |
Also available in: Unified diff