Re: VM pools and libgovirt

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

 



Hey Iordan,

On Mon, Nov 25, 2013 at 09:17:55PM -0500, i iordanov wrote:
> Do you guys think that there is a use-case for the client to be able to
> show the pool to the user and allow him/her to start a VM from that pool
> right then and there without needing the web interface?

Probably makes sense, that's your call ;)

> 
> If so, and providing the REST API allows that, would you be interested in
> adding such functionality to libgovirt?

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?

Christophe

Attachment: pgpqkpQa4xcAQ.pgp
Description: PGP signature

_______________________________________________
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]