WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Controlling Xen via scripts?

On Tue, Feb 21, 2006 at 02:11:24PM +0100, Henning Sprang wrote:
> On Mon, 2006-02-20 at 20:33 +0000, Steve Kemp wrote:
> > [...]
> > 
> >   The PHP client is rotting already, but the Perl + Gtk interface
> >  is nice and stable.
> > 
> >         http://www.steve.org.uk/Software/argo/
> 
> Didn't come to post this to your first Mails about that topic:

  (Not sure what you mean here.)

> As xen has a web console based on the python twisted framework, anyway,
> wouldn't it be a nice and generic solution to extend that webinterface
> so it provides web-services (not sure if it even does this already)?
> 
> So you can write your clients easily in whatever language you want.

  There are several reasons not to go down the route of extending
 the current twisted code.

  One of the biggest is to have a completely self-contained interface
 to controlling Xen locally, via other languages.  This is the
 motivation behidn the Xen::Host/Xen::Monitor API.

  (A similar motivation is probably behind the libvert project:
  http://libvir.org )

  Once that API is out of the way then exporting the operations
 over a network becomes trivial.  I'd rather not mess with the
 python code because adding authentication, and yet-another service
 would most likely not be appreciated by the Xen users.

  I'm sure some of them would like to have a built in status + 
 control panel, but I think there is room for multiple such
 implementations rather than one that is used by default.  I also
 believe the route I've gone down allows a lot of flexiablity since
 any clients can be distributed seperately and be written in any
 language, and shared under any licensing conditions.

  If a Python interface were developed then it would obviously
 need to be open if it were to be included with the Xen distribution.

  [For what it is worth my code is all GPL, and the clients could
 be proprietry if somebody really wished to create one.]

Steve
-- 

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users