[libvirt-users] Python Libvirt Bindings

John Wayne m01z04-libvirt at yahoo.com
Wed May 2 07:00:51 UTC 2012


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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20120502/d24a7565/attachment.htm>

More information about the libvirt-users mailing list