[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-cim] Port to new Xen API committed



Resending as it appears we may be having some internal problems with certain 
mail lists again :-/.

All,

Today I committed the initial port to the new Xen API.  All providers build 
cleanly against xen-unstable c/s 12391.  There is certainly a lot of work to do 
to regain the functionality we had when using libvirt and the shim.  I have not 
yet tested lifecycle operations (e.g. DefineVirtualSystem and 
RequestStateChange) so don't expect these to work.  I simply wanted to make 
this work available to the wider group so that everyone can contribute to this 
effort.

Until we determine how to handle transport and authentication to xend I would 
recommend disabling authentication in xend using this trivial patch:

--- a/tools/python/xen/xend/XendAuthSessions.py Mon Nov 13 14:25:48 2006 +0000
+++ b/tools/python/xen/xend/XendAuthSessions.py Mon Nov 06 17:07:00 2006 -0700
@@ -70,6 +70,9 @@ class XendAuthSessions:

        @rtype: boolean
        """
+        return True
+
        pam_auth = None
        try:
            pam_auth = PAM.pam()

With this patch I can enumerate instances of Xen_ComputerSystem and any other 
classes that use domains for their resource type.

Enjoy,
Jim



_______________________________________________
Xen-cim mailing list
Xen-cim@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-cim


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.