[ovirt-users] API Snapshot removal ending event

Lionel Caignec caignec at cines.fr
Mon Sep 25 06:27:23 UTC 2017


Hi,

For snap creation i use a loop like this to know when task is finished:
> snap = snapshots_service.add(types.Snapshot(description=description,
                           persist_memorystate=False))
> snap_service = snapshots_service.snapshot_service(snap.id)
>        while snap.snapshot_status != types.SnapshotStatus.OK:


is it possible to do the same think for snap deletion? i did not find anything in api doc.


Thank you
--
Lionel 


More information about the Users mailing list