Hi Daniel,
Okay.. Thanks..
I will try and get back to you if any issues exists..
--
Regards
Shanil
On Thu, Aug 28, 2014 at 11:53 AM, Daniel Erez de...@redhat.com wrote:
- Original Message -
From: Doron Fediuck dfedi...@redhat.com
To: Shanil S xielessha...@gmail.com
Cc: users@ovirt.org
Sent: Wednesday, August 27, 2014 5:45:04 PM
Subject: Re: [ovirt-users] Snapshot preview,clone and undo using ovirt
api
- Original Message -
From: Shanil S xielessha...@gmail.com
To: users@ovirt.org
Sent: Wednesday, August 27, 2014 2:07:15 PM
Subject: [ovirt-users] Snapshot preview,clone and undo using ovirt api
Hi All,
In the ovirt admin panel, it is possible to do the following snapshots
actions
1. Clone
2. Preview
3. Undo
but i couldn't find out any direct api methods to do these actions, Is
it
possible to it using the ovirt api ?
Hi Shanil,
Preview/Undo actions can be invoked from VM context.
I.e.:
/api/vms/{vm_id}/preview_snapshot
/api/vms/{vm_id}/undo_snapshot
These actions are supported only on versions 3.4,
in older versions, use 'restore' (which is 'preview + commit'):
/api/vms/{vm_id}/snapshots/{snapshot_id}/restore
To clone a VM from snapshot, POST to /api/vms :
vm
...
snapshots
snapshot id={snapshot_id}/
/snapshots
...
/vm
--
Regards
Shanil
Hi Shanil,
take a look here:
http://www.ovirt.org/Features/Single_Disk_Snapshot#REST-API
Maybe Allon or other can add some info if needed.
Doron
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users