[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

[Xen-API] Bug#678923: xcp-xapi: host-disable and host-reboot make host disable forever

2012-06-24 Thread George Shuklin
Package: xcp-xapi Version: 1.3.2-6 Severity: important I done normal reboot: xe host-disable host=this_host xe host-reboot host=this_host After reboot host stays in 'disable' state and when I've tried to make it enable I got: xe host-enable uuid=ab523ee3-0546-5400-e2db-32f340292fff The specifi

Re: [Xen-API] [xcp-xapi] Feature request: allow use hostname in host-evacuate

2012-06-24 Thread Mike McClurg
On 24/06/12 03:51, George Shuklin wrote: > Good day. > > Right now in cycle of maintenance (host-disable, host-evacuate, > host-reboot) only host-evacuate require to use host UUID. host-disable > and host-reboot allows to be used with hostname (e.g. xe host-reboot > host=foorbar-1). > > May be