[Engine-devel] [Spice-devel] Hints for building up a spicec connection in Ovirt

Christophe Fergeau cfergeau at redhat.com
Thu Mar 15 17:11:55 UTC 2012


On Thu, Mar 15, 2012 at 12:38:05PM -0400, Andrew Wells wrote:
> On Thu, Mar 15, 2012 at 12:32 PM, Christophe Fergeau <cfergeau at redhat.com>wrote:
> 
> > Hey,
> >
> > On Thu, Mar 15, 2012 at 11:33:15AM -0400, Andrew Wells wrote:
> > > And is their any documentation on using the python rhev libraries as that
> > > would be helpful as well. you guys are getting me excited thinking this
> > > might work.
> >
> > If that can be helpful to you, I've worked on some C code to talk to the
> > oVirt REST API to be able to list VMs and get the needed info to connect to
> > such a VM with SPICE. The code is unfinished, but listing VMs, starting VMs
> > and connecting to VM without TLS works, I can send you this code if that
> > can be of any use to you.

I quickly made a tarball
http://teuf.fedorapeople.org/libgovirt-0.0.1.tar.xz but it's probably far
too low level for your needs :) It needs librest from git.gnome.org too,
and you need to set your details in one of the C files. If all you want is
to get a ticket from ovirt and then start spicec using it, it's better to
use the previously mentioned python tool.

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.ovirt.org/pipermail/engine-devel/attachments/20120315/1f30e13e/attachment.sig>


More information about the Engine-devel mailing list