Kanagaraj M has submitted this change and it was merged.
Change subject: restapi: Migrates the brick data and mark it for deletion
......................................................................
restapi: Migrates the brick data and mark it for deletion
Migrates the brick data to other existing bricks and marks the brick
for deletion.
Usage:
- api/clusters/<cluster-Id>/glustervolumes/<volume-id>/bricks/migrate
Input Parameters:
<action>
<bricks>
<brick>
<name><Brick1-Name></name>
</brick>
<brick>
<name><Brick2-Name></name>
</brick>
</bricks>
</action>
Change-Id: Iaa88f3402a25316d1717ee914aa77856fbe802db
Signed-off-by: Shubhendu Tripathi <shtripat(a)redhat.com>
---
M
backend/manager/modules/restapi/interface/definition/src/main/java/org/ovirt/engine/api/resource/gluster/GlusterBricksResource.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.yaml
M
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/gluster/BackendGlusterBricksResource.java
M
backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/resource/gluster/BackendGlusterBricksResourceTest.java
5 files changed, 147 insertions(+), 33 deletions(-)
Approvals:
Shubhendu Tripathi: Verified
Kanagaraj M: Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/19400
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Iaa88f3402a25316d1717ee914aa77856fbe802db
Gerrit-PatchSet: 18
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Shubhendu Tripathi <shtripat(a)redhat.com>
Gerrit-Reviewer: Kanagaraj M <kmayilsa(a)redhat.com>
Gerrit-Reviewer: Michael Pasternak <mpastern(a)redhat.com>
Gerrit-Reviewer: Ori Liel <oliel(a)redhat.com>
Gerrit-Reviewer: Sahina Bose <sabose(a)redhat.com>
Gerrit-Reviewer: Shubhendu Tripathi <shtripat(a)redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server