[Users] Fwd: ovirt cli commands / script wont exit the shell

Alex Leonhardt alex.tuxx at gmail.com
Mon Oct 8 22:15:49 UTC 2012



On 10/08/2012 10:26 PM, Yaniv Kaul wrote:
> On 10/08/2012 11:17 PM, Alex Leonhardt wrote:
>> Aha - cool - thanks! :)
>>
>> Now, I was also looking at the REST API - is there a simple shell 
>> based way to read / query the resulting XML ? Or would you suggest to 
>> write python scripts to e.g. start/stop instance, get a list of VMs / 
>> their IDs, etc. ?
>
> If you are already planning on Python, why not use the SDK instead of 
> doing REST?
> some examples @ http://wiki.ovirt.org/wiki/Testing/PythonApi
> Y.
>
Hi Yaniv,

thanks - had a quick look - is the PyAPI able to get the current usage 
of the VMs (e.g. Memory/CPU/etc. usage) - it's the main reason (for 
monitoring & trending) that I need this ..

Thanks!
Alex

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20121008/2c43c4f1/attachment-0001.html>


More information about the Users mailing list