2 messages in com.xensource.lists.xen-cim[Xen-cim] Port to new Xen API committed
FromSent OnAttachments
Jim Fehlig13 Nov 2006 16:37 
Subrahmanian, Raj14 Nov 2006 06:42 
Subject:[Xen-cim] Port to new Xen API committed
From:Jim Fehlig (jfeh@novell.com)
Date:11/13/2006 04:37:19 PM
List:com.xensource.lists.xen-cim

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