> för Colin Coe
<colin@gmail.com>
Skickat: den 16 januari 2016 06:07
Till: Juan Hernández
Kopia: Users@ovirt.org
Ämne: Re: [ovirt-users] Python API question
Hi again all
I've just noticed that the snapshot status appears not to update.
Consider the code below:
---
api.vms.get(VM_NAM
..@ovirt.org> för Karli Sjöberg
<karli.sjob...@slu.se>
Skickat: den 16 januari 2016 10:13
Till: Colin Coe; Juan Hernández
Kopia: Users@ovirt.org
Ämne: Re: [ovirt-users] Python API question
Hi Colin,
I´ve also noticed that behaviour, you need to redefine the variable in the loop
as w
Hi again all
I've just noticed that the snapshot status appears not to update.
Consider the code below:
---
api.vms.get(VM_NAME).snapshots.add(params.Snapshot(description=SNAPSHOT_NAME,
vm=api.vms.get(VM_NAME), persist_memorystate=True))
# Wait for snapshot to finish
snap =
On 01/15/2016 05:23 AM, Colin Coe wrote:
> Hi all
>
> I've written a Python script to take nightly snapshots of VMs which are
> kept for x days. After x days the snapshot is deleted.
>
> I can't work out how to wait for the snapshot deletion to complete. I
> know how to do it for creating the
fre 2016-01-15 klockan 12:23 +0800 skrev Colin Coe:
> Hi all
>
>
> I've written a Python script to take nightly snapshots of VMs which
> are kept for x days. After x days the snapshot is deleted.
>
>
> I can't work out how to wait for the snapshot deletion to complete. I
> know how to do it
Hi all
I've written a Python script to take nightly snapshots of VMs which are
kept for x days. After x days the snapshot is deleted.
I can't work out how to wait for the snapshot deletion to complete. I know
how to do it for creating the snapshot but I've not been able to get it
right for the
6 matches
Mail list logo