Re: [Users] Fast way to see all snapshots on my infra?

2013-04-05 Thread Koch (ovido)
On Sat, 2013-03-23 at 11:41 +0100, Gianluca Cecchi wrote: On Fri, Mar 22, 2013 at 3:07 PM, René Koch (ovido) wrote: Two questions: 1) On my all-in-one system with f18 + oVirt stable 3.2.1 I have ovirt-engine-3.2.1-1.fc18.noarch ovirt-engine-cli-3.2.0.11-1.fc18.noarch when I run

Re: [Users] Fast way to see all snapshots on my infra?

2013-03-23 Thread Gianluca Cecchi
On Fri, Mar 22, 2013 at 3:07 PM, René Koch (ovido) wrote: 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}

[Users] Fast way to see all snapshots on my infra?

2013-03-22 Thread Gianluca Cecchi
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@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Re: [Users] Fast way to see all snapshots on my infra?

2013-03-22 Thread Koch (ovido)
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' '