Daniel Erez has submitted this change and it was merged.
Change subject: restapi: LunStatus Enum and CreateVG force flag
......................................................................
restapi: LunStatus Enum and CreateVG force flag
** Added 'LunStatus' Enum: Free, Used, Unusable.
* Modified 'StorageLogicalUnitMapper' and 'api' accordingly.
** Added 'override_luns' CreateVG boolean
* An optional flag when creating a block device storage domain.
* BackendStorageDomainResource: updated 'getSanAddParams' method.
* rsdl_metadata: added an optional 'force' argument in add storage.
* api: added 'override_luns' boolean to 'IscsiStorage' type.
Change-Id: I97615bf04c40f580d56352cb022530b5a0043192
Signed-off-by: Daniel Erez <derez(a)redhat.com>
---
A
backend/manager/modules/restapi/interface/definition/src/main/java/org/ovirt/engine/api/model/LunStatus.java
M backend/manager/modules/restapi/interface/definition/src/main/resources/api.xsd
M
backend/manager/modules/restapi/interface/definition/src/main/resources/rsdl_metadata_v-3.1.yaml
M
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendStorageDomainsResource.java
M
backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/resource/BackendStorageDomainsResourceTest.java
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
7 files changed, 79 insertions(+), 7 deletions(-)
Approvals:
Daniel Erez: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/5732
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I97615bf04c40f580d56352cb022530b5a0043192
Gerrit-PatchSet: 9
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Daniel Erez <derez(a)redhat.com>
Gerrit-Reviewer: Daniel Erez <derez(a)redhat.com>
Gerrit-Reviewer: Michael Pasternak <mpastern(a)redhat.com>
Gerrit-Reviewer: Ori Liel <oliel(a)redhat.com>