From: Ewan Mellor Subject: Re: Error getting VM-informations with Python on Xen 3.0.2 Date: Thu, 6 Apr 2006 14:06:36 +0100 Message-ID: <20060406130636.GB18691@leeni.uk.xensource.com> References: <4434197A.8000308@godawa.de> <20060406002723.GB30672@leeni.uk.xensource.com> <4434D940.9050004@godawa.de> <20060406130523.GA18691@leeni.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Return-path: Content-Disposition: inline In-Reply-To: <20060406130523.GA18691@leeni.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Thorolf Godawa Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Thu, Apr 06, 2006 at 02:05:23PM +0100, Ewan Mellor wrote: > On Thu, Apr 06, 2006 at 11:02:56AM +0200, Thorolf Godawa wrote: > > > Hi Ewan, > > > > >Try server.xend.domains(True). This changed with the new XML-RPC > > >interface, courtesy of the aforementioned hacker. > > thanks a lot, this solved my problem :-))) > > > > Is there any documentation how to use these Python-interfaces? > > No, I'm afraid not. The XML-RPC interface will stabilise in time, but at the > moment, it's not documented.  The Python interface on top of the XML-RPC is > not documented either, since it's only a stub onto the XML-RPC, now. > > The only interfaces that are guaranteed currently are those required to > support old guests on new hypervisors. Everything else is subject to change. > The best way for you to keep up is to get your code into the tree, preferably > with a unit test or two, and then there's a fair chance that it won't be > broken as things change. And improvements to the documentation are always welcome: if you want to write up a tutorial, it would be gratefully received. Ewan.