All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: does libxl provides python interface?
       [not found] <CAFnE1f3f21BofmSr-cds237YP6H-JFbjHXHq0+LHFX_Yh5-axA@mail.gmail.com>
@ 2015-05-11  8:59 ` Stefano Stabellini
  2015-05-11  9:08   ` Ian Campbell
  2015-05-11  9:17   ` Sander Eikelenboom
  0 siblings, 2 replies; 4+ messages in thread
From: Stefano Stabellini @ 2015-05-11  8:59 UTC (permalink / raw)
  To: big strong
  Cc: Ian Jackson, xen-devel, Wei Liu, Ian Campbell, stefano.stabellini

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: does libxl provides python interface?
  2015-05-11  8:59 ` does libxl provides python interface? Stefano Stabellini
@ 2015-05-11  9:08   ` Ian Campbell
  2015-05-11  9:17   ` Sander Eikelenboom
  1 sibling, 0 replies; 4+ messages in thread
From: Ian Campbell @ 2015-05-11  9:08 UTC (permalink / raw)
  To: Stefano Stabellini; +Cc: big strong, xen-devel, Wei Liu, Ian Jackson

On Mon, 2015-05-11 at 09:59 +0100, Stefano Stabellini wrote:
> A python binding existing under
> tools/python/xen/lowlevel/xl, but it has been a while since the last
> time that it was updated.

The python bindings are broken and don't even build, plus has some
conceptual issues in the design.

It needs throwing away and rewriting.

Ian.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: does libxl provides python interface?
  2015-05-11  8:59 ` does libxl provides python interface? Stefano Stabellini
  2015-05-11  9:08   ` Ian Campbell
@ 2015-05-11  9:17   ` Sander Eikelenboom
  2015-05-11 10:04     ` Ian Campbell
  1 sibling, 1 reply; 4+ messages in thread
From: Sander Eikelenboom @ 2015-05-11  9:17 UTC (permalink / raw)
  To: Stefano Stabellini
  Cc: big strong, xen-devel, Ian Jackson, Wei Liu, Ian Campbell


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.

It has on LGPL license, although the last commit is also from 2 years ago,
(but perhaps there weren't much problems and changes to xenstore in the 
meantime).

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: does libxl provides python interface?
  2015-05-11  9:17   ` Sander Eikelenboom
@ 2015-05-11 10:04     ` Ian Campbell
  0 siblings, 0 replies; 4+ messages in thread
From: Ian Campbell @ 2015-05-11 10:04 UTC (permalink / raw)
  To: Sander Eikelenboom
  Cc: big strong, xen-devel, Ian Jackson, Wei Liu, Stefano Stabellini

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-05-11 10:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CAFnE1f3f21BofmSr-cds237YP6H-JFbjHXHq0+LHFX_Yh5-axA@mail.gmail.com>
2015-05-11  8:59 ` does libxl provides python interface? Stefano Stabellini
2015-05-11  9:08   ` Ian Campbell
2015-05-11  9:17   ` Sander Eikelenboom
2015-05-11 10:04     ` Ian Campbell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.