Xen 
 
Home About Xen.org Xen Xen Summit Wiki Mailing List Bug Tracker Xen Downloads
 
   
 

xen-devel

[Xen-devel] [PATCH] [XM-TEST] Reworked support for Xen-API authenticated

To: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] [XM-TEST] Reworked support for Xen-API authenticated sessions and a basic XAPI test case
From: Stefan Berger <stefanb@xxxxxxxxxx>
Date: Wed, 27 Dec 2006 12:45:29 -0500
Cc: ewan@xxxxxxxxxxxxx
Delivery-date: Wed, 27 Dec 2006 09:45:24 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
This is a reworked patch for testing xen-api inside the xm-test suite.
The login and password necessary for using the xen-api are tried to be
read from /etc/xen/xm-config.xml. If this file does not exist the
information is attempted to be read from /etc/xen/xmtest_auth.xml which
uses the same xml description and can be created with
xm-test/xapi-setup.py. I have tried to share as much code with xm as
possible for parsing of the config files.

I am also adding a basic test for the raw xen-api for creating a VM and
pausing and unpausing it. This test is part of the grouptest 'xapi'.

Signed-off-by: Stefan Berger <stefanb@xxxxxxxxxx>

Attachment: xm-test-xapi-auth.diff
Description: Text Data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] [XM-TEST] Reworked support for Xen-API authenticated sessions and a basic XAPI test case, Stefan Berger <=