From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: does libxl provides python interface? Date: Mon, 11 May 2015 11:04:26 +0100 Message-ID: <1431338666.8263.7.camel@citrix.com> References: <1164672875.20150511111740@eikelenboom.it> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1164672875.20150511111740@eikelenboom.it> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Sander Eikelenboom Cc: big strong , xen-devel@lists.xensource.com, Ian Jackson , Wei Liu , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On Mon, 2015-05-11 at 11:17 +0200, Sander Eikelenboom wrote: > Monday, May 11, 2015, 10:59:27 AM, you wrote: > > > On Sun, 10 May 2015, big strong wrote: > >> Just as the subject title: does libxl provides python interface? And where can I find the detailed API document of > >> libxl? Thanks in advance > > > Please send emails to xen-devel@lists.xenproject.org. > > > Give a look under tools/libxl in the Xen repository > > (git://xenbits.xen.org/xen.git). > > > The interface is libxl.h. Types are autogenerated from an idl, see > > libxl_types.idl. A python binding existing under > > tools/python/xen/lowlevel/xl, but it has been a while since the last > > time that it was updated. > > I have recently used this out of tree project: > https://github.com/selectel/pyxs > with succes. That's only for xenstore, not for libxl. libvirt has decent Python bindings, so that might be a reasonable route to being able to run things from Python. (AIUI that's how openstack does it for example...) Ian.