2 messages in com.xensource.lists.xen-cimRE: [Xen-cim] Port to new Xen API com...
FromSent OnAttachments
Jim Fehlig13 Nov 2006 16:37 
Subrahmanian, Raj14 Nov 2006 06:42 
Subject:RE: [Xen-cim] Port to new Xen API committed
From:Subrahmanian, Raj (raj.@unisys.com)
Date:11/14/2006 06:42:47 AM
List:com.xensource.lists.xen-cim

Jim, Thanks. I just pulled the repo and I will start playing with it. Raj

-----Original Message----- From: xen-@lists.xensource.com [mailto:xen-@lists.xensource.com] On Behalf Of Jim Fehlig Sent: Monday, November 13, 2006 7:38 PM To: xen-@lists.xensource.com Subject: [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