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 <de...@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 <de...@redhat.com> Gerrit-Reviewer: Ayal Baron <aba...@redhat.com> Gerrit-Reviewer: Daniel Erez <de...@redhat.com> Gerrit-Reviewer: Michael Pasternak <mpast...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches