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

[Xen-devel] Re: [PATCH 0/4] Add support for XML-RPC over SSH (take two)

To: Anthony Liguori <aliguori@xxxxxxxxxx>
Subject: [Xen-devel] Re: [PATCH 0/4] Add support for XML-RPC over SSH (take two)
From: Ewan Mellor <ewan@xxxxxxxxxxxxx>
Date: Tue, 20 Jun 2006 13:49:43 +0100
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 20 Jun 2006 05:50:03 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20060620092639.GA11908@xxxxxxxxxxxxxxxxxxxxxx>
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: <44906357.90107@xxxxxxxxxx> <20060620092639.GA11908@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
On Tue, Jun 20, 2006 at 10:26:39AM +0100, Ewan Mellor wrote:

> On Wed, Jun 14, 2006 at 02:28:23PM -0500, Anthony Liguori wrote:
> 
> > This series is a repost of the previous series taking into account 
> > Ewan's feedback wrt error reporting.  Additionally, to make things a bit 
> > saner, I changed the ssh invocation from being always done in the ctor 
> > to being done on demand.  This means that xm commands like help won't 
> > actually require a password if the ssh transport is being used.
> > 
> > I've also included the HTTP/1.1 Keep-Alive patch as it's required for 
> > this patch set.
> 
> I've applied this whole set.  Thanks Anthony.  Could we have some
> documentation patches too?

I've just noticed that these patches only work on Python 2.4, because they use
subprocess.  I've split SSHTransport out to its own file (which is reasonable
in it's own right anyway), and if the import fails, it now disables the
XML-RPC over SSH altogether.

If there's anyone out there who wants XML-RPC over SSH on Python 2.3, then a
patch that used popen2.popen2 or xen.util.xpopen.xPopen3 instead of
subprocess.Popen would be welcome.

Ewan.

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