WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-cim

[Xen-cim] Port to new Xen API committed

To: <xen-cim@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-cim] Port to new Xen API committed
From: "Jim Fehlig" <jfehlig@xxxxxxxxxx>
Date: Mon, 13 Nov 2006 17:37:42 -0700
Delivery-date: Mon, 13 Nov 2006 16:38:09 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-cim-request@lists.xensource.com?subject=help>
List-id: xen-cim mailing list <xen-cim.lists.xensource.com>
List-post: <mailto:xen-cim@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-cim>, <mailto:xen-cim-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-cim>, <mailto:xen-cim-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-cim-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>