ia64/xen-unstable

view tools/examples/xm-config.xml @ 12810:cf1ca0615414

Added support for configuration file for xm, and use that to specify
contact and authentication details for the Xen-API server.

The default behaviour is still to use the existing legacy XML-RPC server.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author Ewan Mellor <ewan@xensource.com>
date Wed Dec 06 11:02:32 2006 +0000 (2006-12-06)
parents
children ce49c9d78928
line source
1 <!--
3 Copyright (C) 2006 XenSource Inc.
5 This library is free software; you can redistribute it and/or
6 modify it under the terms of version 2.1 of the GNU Lesser General Public
7 License as published by the Free Software Foundation.
9 This library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 Lesser General Public License for more details.
14 You should have received a copy of the GNU Lesser General Public
15 License along with this library; if not, write to the Free Software
16 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 -->
20 <!--
22 This is a configuration file for xm; it should be placed in
23 /etc/xen/xm-config.xml. If this file is missing, then xm will fall back to
24 the normal behaviour that's in Xen 3.0.4 and below. The settings here are
25 most useful for experimenting with the Xen-API preview in Xen 3.0.4.
27 -->
29 <xm>
30 <!-- The server element describes how to talk to Xend. The type may be
31 Xen-API or LegacyXMLRPC (the default). The URI is that of the
32 server; you might try http://server:9363/ or
33 httpu:///var/run/xend/xen-api.sock for the Xen-API, or
34 httpu:///var/run/xend/xmlrpc.sock for the legacy server.
36 The username and password attributes will be used to log in if Xen-API
37 is being used.
38 -->
39 <server type='Xen-API'
40 uri='http://localhost:9363/'
41 username='me'
42 password='mypassword' />
43 </xm>