ia64/xen-unstable

diff 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 diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/tools/examples/xm-config.xml	Wed Dec 06 11:02:32 2006 +0000
     1.3 @@ -0,0 +1,43 @@
     1.4 +<!--
     1.5 +
     1.6 +Copyright (C) 2006 XenSource Inc.
     1.7 +
     1.8 +This library is free software; you can redistribute it and/or
     1.9 +modify it under the terms of version 2.1 of the GNU Lesser General Public
    1.10 +License as published by the Free Software Foundation.
    1.11 +
    1.12 +This library is distributed in the hope that it will be useful,
    1.13 +but WITHOUT ANY WARRANTY; without even the implied warranty of
    1.14 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    1.15 +Lesser General Public License for more details.
    1.16 +
    1.17 +You should have received a copy of the GNU Lesser General Public
    1.18 +License along with this library; if not, write to the Free Software
    1.19 +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    1.20 +
    1.21 +-->
    1.22 +
    1.23 +<!--
    1.24 +
    1.25 +This is a configuration file for xm; it should be placed in
    1.26 +/etc/xen/xm-config.xml.  If this file is missing, then xm will fall back to
    1.27 +the normal behaviour that's in Xen 3.0.4 and below.  The settings here are
    1.28 +most useful for experimenting with the Xen-API preview in Xen 3.0.4.
    1.29 +
    1.30 +-->
    1.31 +
    1.32 +<xm>
    1.33 +  <!-- The server element describes how to talk to Xend.  The type may be 
    1.34 +       Xen-API or LegacyXMLRPC (the default).  The URI is that of the
    1.35 +       server; you might try http://server:9363/ or
    1.36 +       httpu:///var/run/xend/xen-api.sock for the Xen-API, or
    1.37 +       httpu:///var/run/xend/xmlrpc.sock for the legacy server.
    1.38 +
    1.39 +       The username and password attributes will be used to log in if Xen-API
    1.40 +       is being used.
    1.41 +    -->
    1.42 +  <server type='Xen-API'
    1.43 +          uri='http://localhost:9363/'
    1.44 +          username='me'
    1.45 +          password='mypassword' />
    1.46 +</xm>