Change in ovirt-engine[master]: restapi: Grayed-Out LUNs Support
derez at redhat.com
derez at redhat.com
Thu Jun 7 18:53:23 UTC 2012
Daniel Erez has submitted this change and it was merged.
Change subject: restapi: Grayed-Out LUNs Support
......................................................................
restapi: Grayed-Out LUNs Support
Adding the needed modifications for supporting Grayed-Out (disabled) LUNs:
* Added 'partitioned' flag and 'volume_group_id' to LogicalUnit type.
** 'partitioned' flag - indicating whether the LUN device
contains partitions - cannot be added to a storage domain.
** 'volume_group_id' - indicating whether the LUN device
is a part of a VG - cannot be added to a storage domain.
** 'storage_domain_id' - indicating whether the LUN device
is already a part of a storage domain -
cannot be added to another storage domain.
* Modified 'StorageLogicalUnitMapper' accordingly.
* The new representation is needed when getting host's storage
sub-collection (a list of LUN devices).
Change-Id: I9accec6b37180e2da77c752875e8e181c0cd3601
Signed-off-by: Daniel Erez <derez at redhat.com>
---
M backend/manager/modules/restapi/interface/definition/src/main/resources/api.xsd
M backend/manager/modules/restapi/types/src/main/java/org/ovirt/engine/api/restapi/types/StorageLogicalUnitMapper.java
M backend/manager/modules/restapi/types/src/test/java/org/ovirt/engine/api/restapi/types/StorageLogicalUnitMapperTest.java
3 files changed, 23 insertions(+), 0 deletions(-)
Approvals:
Daniel Erez: Verified; Looks good to me, approved
--
To view, visit http://gerrit.ovirt.org/4859
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I9accec6b37180e2da77c752875e8e181c0cd3601
Gerrit-PatchSet: 21
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Ayal Baron <abaron at redhat.com>
Gerrit-Reviewer: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Michael Pasternak <mpastern at redhat.com>
More information about the Engine-commits
mailing list