Re: VM pools and libgovirt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 






On Tue, Nov 26, 2013 at 6:41 AM, Christophe Fergeau <cfergeau@xxxxxxxxxx> wrote:
From a quick look at the documentation
https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.3-Beta/html/Developer_Guide/chap-Virtual_Machine_Pools.html
it should not be too hard to add support for it (though
https://bugzilla.redhat.com/show_bug.cgi?id=1034710 is missing in the doc).
I think what is needed is to derive an OvirtVmPool class from
OvirtResource which would parse the few extra attributes in the vm pool
(size, prestarted_vms), and which would expose the 'allocatevm' action.
Then OvirtApi would gain a method to get an OvirtCollection wrapping
the 'vmpools' collection.
Do you think you can provide a patch for this?

This sounds like an interesting project!

From the following file in my oVirt installation:
/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/brokers.py

I gather that a POST request must be made to /api/vmpools/SOMEVMPOOLID/allocatevm

with a certain content, certain headers, etc. However, I cannot craft a successful POST "manually".

I guess I'm missing some crucial information which must be supplied in the documentation?

Thanks!
iordan

--
The conscious mind has only one thread of execution.
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]