On Mon, Apr 4, 2022 at 9:05 PM <jorgevisentini@gmail.com> wrote:
>
> Hello everyone!
>
> First, I would like to thank everyone involved in this wonderful project. I leave here my sincere thanks!
>
> Does anyone know if it is possible to list all snapshots automatically? It can be by ansible, python, shell... any way that helps to list them all without having to enter Domain by Domain.
I'm not sure what you mean by "all" snapshots? All snapshots of a vm?
You can try the API in a browser, for example this list all the
snapshots of one vm:
https://engine.local/ovirt-engine/api/vms/4a964ea0-c9f8-48d4-8fc1-aa8eee04c7c7/snapshots
If you want easier to use way the python sdk can help, see:
https://github.com/oVirt/python-ovirt-engine-sdk4/blob/main/examples/list_vm_snapshots.py
Nir