Hi Gianluca,
You can try something like this (dirty) command:
URL='https://localhost/api'; USER='admin@internal';
cp /dev/null /tmp/ovirt-snapshots; echo -e "list vms\nexit"
/tmp/ovirt-vms; for VM in `ovirt-shell -l ${URL} -u ${USER} -c -I
-f /tmp/ovirt-vms | grep name | tr -s ' ' ' ' | cut -d' '
-f3`; do echo
"list snapshots --vm-identifier ${VM} --show-all"
> /tmp/ovirt-snapshots; done; echo "exit" >>
/tmp/ovirt-snapshots;
ovirt-shell -l ${URL} -u ${USER} -c -I -f
/tmp/ovirt-snapshots
--
Best Regards
René
On Fri, 2013-03-22 at 09:44 +0100, Gianluca Cecchi wrote:
Hello,
is there any way to see a recap of all the snapshots in my DCs and Clusters?
Both from webadmin gui or REST API or query on engine db?
Thanks,
Gianluca
_______________________________________________
Users mailing list
Users(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/users