ia64/xen-unstable

changeset 9425:b55ca95fdc84

Added example config entries for xend-tcp-xmlrpc-server and
xend-unix-xmlrpc-server. Deprecate the SXP-based servers, and disable them
by default.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author emellor@leeni.uk.xensource.com
date Thu Mar 23 11:55:56 2006 +0100 (2006-03-23)
parents ffee7e07ad4b
children c1bb4eb56529
files tools/examples/xend-config.sxp tools/python/xen/xend/XendRoot.py
line diff
     1.1 --- a/tools/examples/xend-config.sxp	Thu Mar 23 11:42:19 2006 +0100
     1.2 +++ b/tools/examples/xend-config.sxp	Thu Mar 23 11:55:56 2006 +0100
     1.3 @@ -15,7 +15,9 @@
     1.4  #(loglevel DEBUG)
     1.5  
     1.6  #(xend-http-server no)
     1.7 -#(xend-unix-server yes)
     1.8 +#(xend-unix-server no)
     1.9 +#(xend-tcp-xmlrpc-server no)
    1.10 +#(xend-unix-xmlrpc-server yes)
    1.11  #(xend-relocation-server no)
    1.12  (xend-relocation-server yes)
    1.13  
     2.1 --- a/tools/python/xen/xend/XendRoot.py	Thu Mar 23 11:42:19 2006 +0100
     2.2 +++ b/tools/python/xen/xend/XendRoot.py	Thu Mar 23 11:55:56 2006 +0100
     2.3 @@ -57,7 +57,8 @@ class XendRoot:
     2.4      """Default level of information to be logged."""
     2.5      loglevel_default = 'DEBUG'
     2.6  
     2.7 -    """Default for the flag indicating whether xend should run an http server."""
     2.8 +    """Default for the flag indicating whether xend should run an http server
     2.9 +    (deprecated)."""
    2.10      xend_http_server_default = 'no'
    2.11  
    2.12      xend_tcp_xmlrpc_server_default = 'no'
    2.13 @@ -81,8 +82,9 @@ class XendRoot:
    2.14  
    2.15      xend_relocation_hosts_allow_default = ''
    2.16  
    2.17 -    """Default for the flag indicating whether xend should run a unix-domain server."""
    2.18 -    xend_unix_server_default = 'yes'
    2.19 +    """Default for the flag indicating whether xend should run a unix-domain
    2.20 +    server (deprecated)."""
    2.21 +    xend_unix_server_default = 'no'
    2.22  
    2.23      """Default path the unix-domain server listens at."""
    2.24      xend_unix_path_default = '/var/lib/xend/xend-socket'