Change in ovirt-engine[master]: restapi: Support disk plug/unplug to VM

tnisan at redhat.com tnisan at redhat.com
Mon Jul 11 10:57:12 UTC 2016


Tal Nisan has submitted this change and it was merged.

Change subject: restapi: Support disk plug/unplug to VM
......................................................................


restapi: Support disk plug/unplug to VM

Support disk plug/unplug to VM via REST API, the plug unplug will be done
through the vms/{vm_id}/diskattachments/{disk_id} via a PUT request as
follows:

<disk_attachment>
    <active>true/false</active>
</disk_attachment>

Change-Id: Id024656cb78b82a29414f53a44edf30a1159785c
Bug-Url: https://bugzilla.redhat.com/1352966
Signed-off-by: Tal Nisan <tnisan at redhat.com>
---
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendDiskAttachmentResource.java
M backend/manager/modules/restapi/types/src/main/java/org/ovirt/engine/api/restapi/types/DiskAttachmentMapper.java
2 files changed, 14 insertions(+), 0 deletions(-)

Approvals:
  Tal Nisan: Verified; Passed CI tests
  Juan Hernandez: Looks good to me, approved



-- 
To view, visit https://gerrit.ovirt.org/60253
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Id024656cb78b82a29414f53a44edf30a1159785c
Gerrit-PatchSet: 6
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list