I mean all the snapshots I happen to have, of all the VMs. Not just one. I mean, make a list containing them all. Good, but now I'm going to follow one of these ways and adjust a script to fetch them all.
Thanks. Em seg., 4 de abr. de 2022 às 17:31, Nir Soffer <nsof...@redhat.com> escreveu: > On Mon, Apr 4, 2022 at 9:05 PM <jorgevisent...@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 > > -- Att, Jorge Visentini +55 55 98432-9868
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/CMAIPGCGZUWOPZ2WYBV2K5ROBCUC77TT/