[Spice-devel] VM pools and libgovirt

Christophe Fergeau cfergeau at redhat.com
Tue Nov 26 06:03:08 PST 2013


On Tue, Nov 26, 2013 at 08:55:09AM -0500, i iordanov wrote:
> 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?

I'd expect that doing something similar to ovirt_vm_action() should work?
This action stuff needs to be moved from OvirtVm to OvirtResource, but I
did not get to it yet ;)

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20131126/fa54ee1c/attachment.pgp>


More information about the Spice-devel mailing list