Re: [Xen-API] Delete a snapshot

2012-07-04 Thread Mike McClurg
thod for deleting the snapshot? Destroy > method in VM class destroys a VM but not a snapshot I believe. > > > > *Regards,* > > *Vijay R* > > > > *From:*R J [mailto:torushike...@gmail.com] > *Sent:* Monday, June 25, 2012 8:39 AM > *To:* Vijay Ramad

Re: [Xen-API] Delete a snapshot

2012-06-30 Thread R J
o:torushike...@gmail.com] > *Sent:* Monday, June 25, 2012 8:39 AM > *To:* Vijay Ramadoss > *Cc:* xen-api@lists.xen.org > *Subject:* Re: [Xen-API] Delete a snapshot > > ** ** > > Hi Vijay, > > You could look at vmpp ( VM Protection Policy ) to take periodic snapshots >

Re: [Xen-API] Delete a snapshot

2012-06-25 Thread Vijay Ramadoss
re a method for deleting the snapshot? Destroy method in VM class destroys a VM but not a snapshot I believe. Regards, Vijay R From: R J [mailto:torushike...@gmail.com] Sent: Monday, June 25, 2012 8:39 AM To: Vijay Ramadoss Cc: xen-api@lists.xen.org Subject: Re: [Xen-API] Delete a snapshot Hi Vijay,

Re: [Xen-API] Delete a snapshot

2012-06-25 Thread R J
Hi Vijay, You could look at vmpp ( VM Protection Policy ) to take periodic snapshots and delete the oldest one. Another safe way would be to create a Parent-Child relation amongst the VM-Snapshot and compare the dates / timestamps. Have you checked the "other-config (MRW): last_shutdown_time " ?

[Xen-API] Delete a snapshot

2012-06-24 Thread Vijay Ramadoss
Hi - I am trying to figure out a way to delete a snapshot from a VM and could not find the right API to do that. I basically want to delete the most oldest snapshot of a VM. How do I do that? I found the timetamp field of the VM class, but that is returning invalid timestamp for a timestamp for