[libvirt-users] Python Libvirt Bindings

Hi, Can anyone please share sample Python code for using qemu+tcp with SASL or qemu+tls with SASL? (i.e., connecting to a hypervisor using qemu+tls or qemu+tcp when a username/password using SASL has been defined on the hypervisor) I am having some trouble figuring out how to use callbacks for authenticating from with my Python program. I assume I will have to use http://libvirt.org/html/libvirt-libvirt.html#virConnectCredentialType, but I can't quite translate that to Python from C. Thanks

On 05/02/2012 03:00 PM, John Wayne wrote:
Hi,
Can anyone please share sample Python code for using qemu+tcp with SASL or qemu+tls with SASL? (i.e., connecting to a hypervisor using qemu+tls or qemu+tcp when a username/password using SASL has been defined on the hypervisor) Hi John, The following scripts shoud be what you want: http://libvirt.org/git/?p=libvirt-test-API.git;a=tree;f=repos/remoteAccess;h...
I am having some trouble figuring out how to use callbacks for authenticating from with my Python program. I assume I will have to use http://libvirt.org/html/libvirt-libvirt.html#virConnectCredentialType, but I can't quite translate that to Python from C.
Thanks
_______________________________________________ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users
participants (2)
-
Alex Jia
-
John Wayne