[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Re: python frontend for xenstat


  • To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Jayesh Salvi" <jayeshsalvi@xxxxxxxxx>
  • Date: Sat, 15 Apr 2006 12:03:15 -0500
  • Delivery-date: Sat, 15 Apr 2006 10:03:35 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=lgqnEv7nmC+IGgcVi+k7hurEDla1FTPJRhruGNz8yg2LPgE9zJKo4OwaPWtcTR/QYfsGRXG+tG6dRLBHGVQt0p7zZRBWLIzjjmqsDN/tYtq69gZwIZ//ligM6clg1ADSKhAlNh/uT8hmcP0Ulsi481K4XPacyQBXZ8cDJVgpUBA=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

To answer my own question, I found the bindings directory and the swig targets in Makefile. I could build perl and python bindings from them by doing 'make all-bindings'.

I will have a look at the generated python code and see how I can use it.

Jayesh

On 4/15/06, Jayesh Salvi <jayeshsalvi@xxxxxxxxx> wrote:
Hi,

I see that xenstat (lib and xentop) code is all written in C. Is there python front-end available for this library or is anyone working on the same?

It would be great to have one, because that can be first step to building distributed access to xenstat (I see this mentioned in 'To think about' in TODO).

If no one is working on it I can give it a shot. I saw two instances in xen source tree, that pull data from low level C code up to python scripts:
1. The way xend interacts with lowlevel xc.c
2. Xenmon and Xenbaked - through a scratch file created on disk.

First approach looks more efficient even though slightly more difficult.

Let me know if anyone has any plans on these lines.

Thanks,
--
Jayesh
------------------------------------------------------------------------
Everything you can imagine is real



--
Jayesh
------------------------------------------------------------------------
Everything you can imagine is real
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.