Change in ovirt-engine[master]: restapi: support custom preview snapshot
derez at redhat.com
derez at redhat.com
Wed May 28 10:53:18 UTC 2014
Daniel Erez has submitted this change and it was merged.
Change subject: restapi: support custom preview snapshot
......................................................................
restapi: support custom preview snapshot
Accept optional 'restore_memory' and 'disks' tags
in preview_snapshot action.
Preview Snapshot: POST /api/vms/{vm_id}/preview_snapshot
<action>
<snapshot id="{snapshot_id}"/>
<restore_memory>true|false</restore_memory>
<disks>
<disk id="{disk_id}">
<image_id>{image_id}</image_id>
<snapshot id="{snapshot_id}"/>
</disk>
</disks>
</action>
Feature-Page: http://www.ovirt.org/Features/Single_Disk_Snapshot#REST-API
Change-Id: I89d004dec75aa23c6a7105ddb064e93d7f4652ed
Bug-Url: https://bugzilla.redhat.com/1095494
Signed-off-by: Daniel Erez <derez at redhat.com>
---
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/BackendVmResource.java
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendVmsResource.java
3 files changed, 8 insertions(+), 1 deletion(-)
Approvals:
Daniel Erez: Verified; Looks good to me, approved
--
To view, visit http://gerrit.ovirt.org/28086
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I89d004dec75aa23c6a7105ddb064e93d7f4652ed
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: Ori Liel <oliel at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
More information about the Engine-commits
mailing list