[libvirt] [libvirt-users] Help required in simulating libvirt TLS server

Daniel P. Berrange berrange at redhat.com
Tue Nov 26 09:23:26 UTC 2013


On Mon, Nov 25, 2013 at 11:29:42PM +0530, Arun Viswanath wrote:
> Hi All,
> 
> Will some one explain how is this tls libvirt server is implemented. For my
> testing purpose I need to implement the similar TLS server in Java or
> Python and this server is capable to receive all libvirt calls like
> getCapabilities, hostname etc and return response as I'm configured.
> Basically I need to simulate the libvirt TLS server. I tried creating many
> TLS server but none of the my TLS server implemenation is capable to do
> proper handshake with python libvirt client and do successful calls. Any
> ideas or help will be appreciable.

I really strongly recommend against trying to re-implement the libvirt
RPC protocol again. The protocol is pretty complex & easy to screw up.
We consider it a private implementation detail of libvirt and we won't
support use of libvirt client against any 3rd party server impl or vica
verca.

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list