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(a)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(a)redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini(a)redhat.com>
Gerrit-Reviewer: Daniel Erez <derez(a)redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipchuk(a)redhat.com>
Gerrit-Reviewer: Ori Liel <oliel(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server