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-devel

Re: [Xen-devel] Web based front end

To: Tom Wilkie <tw275@xxxxxxxxx>
Subject: Re: [Xen-devel] Web based front end
From: Anthony Liguori <aliguori@xxxxxxxxxx>
Date: Tue, 06 Sep 2005 11:28:29 -0500
Cc: David Isaac Wolinsky <davidiw@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 06 Sep 2005 16:26:24 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <834EC0AD-BEC8-48F0-B181-FA3C3AAA7BE5@xxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <431A8865.6060004@xxxxxxx> <B135126E-EB2A-41BB-AAA0-F5F88E29D170@xxxxxxxxx> <431B22C4.5080503@xxxxxxx> <834EC0AD-BEC8-48F0-B181-FA3C3AAA7BE5@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.6 (X11/20050727)
Tom Wilkie wrote:

David

On 4 Sep 2005, at 17:37, David Isaac Wolinsky wrote:

Thanks Tom for the info, I had remembered twisted being removed but hadn't realized that XenSV had been since updated. A couple questions though...

Why not decouple the interface from Apache (as to require only python be installed)? I am not sure of the performance advantage, but it should reduce the memory requirements for dom0, allow for a slightly smaller disk (negligible), and make installation easier.


Well, I didn't want to completely re-implement a HTTP server (although I suppose its not tough) so I looked at using another one. The bit that depends on apache/mod_python is minimal, about a 20 line adapter between mod_python and what twisted used to provide. So if you wrote your own http server it would be a reasonably straight forward task to do.

I think this is what you want:

http://docs.python.org/lib/module-CGIHTTPServer.html

At some point, I'd like to remove the HTTP server Xend is using and replace it with SimpleHTTPServer.

I might actually do this, the dependance on apache is a pain, and I think xend has its own http server in it atm.

   Similarly have you looked into writing XenSV in C?


The primary reason I choose python is because thats what we use in cambridge, and its what all the other tools and written in ;-) Also it lets me call straight into the XendClient.py stuff, which simplifies it greatly.

Yeah, until the store is more complete, tools pretty much have to be in python.

Regards,

Anthony Liguori

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

<Prev in Thread] Current Thread [Next in Thread>