
On 11/25/2013 10:59 AM, 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 think the advice you were given last time is still accurate: https://www.redhat.com/archives/libvirt-users/2013-September/msg00086.html You are probably going to be better off hooking your simulations into the existing test:/// URI driver than trying to write your own RPC client counterparts, as the existing code will handle tls on your behalf. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org