ia64/xen-unstable

changeset 5229:ea32d909807d

bitkeeper revision 1.1609 (429c6790TWBysBM5eFTwmssbNmB69g)

Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into firebug.cl.cam.ac.uk:/local/scratch/cl349/xen-unstable.bk
author cl349@firebug.cl.cam.ac.uk
date Tue May 31 13:33:04 2005 +0000 (2005-05-31)
parents 777fa188124b 49476fed0296
children d086633d58bf
files tools/python/xen/xend/XendRoot.py
line diff
     1.1 --- a/tools/python/xen/xend/XendRoot.py	Tue May 31 13:19:42 2005 +0000
     1.2 +++ b/tools/python/xen/xend/XendRoot.py	Tue May 31 13:33:04 2005 +0000
     1.3 @@ -43,6 +43,7 @@ class XendRoot:
     1.4      """Default path to the log file. """
     1.5      logfile_default = "/var/log/xend.log"
     1.6  
     1.7 +    """Default level of information to be logged."""
     1.8      loglevel_default = 'DEBUG'
     1.9  
    1.10      """Default for the flag indicating whether xend should run an http server."""
    1.11 @@ -73,7 +74,7 @@ class XendRoot:
    1.12      xend_unix_path_default = '/var/lib/xend/xend-socket'
    1.13  
    1.14      """Default interface address xend listens at for consoles."""
    1.15 -    console_address_default   = ''
    1.16 +    console_address_default   = 'localhost'
    1.17  
    1.18      """Default port xend serves consoles at. """
    1.19      console_port_base_default = '9600'
    1.20 @@ -306,9 +307,9 @@ class XendRoot:
    1.21  
    1.22      def get_console_address(self):
    1.23          """Get the address xend listens at for its console ports.
    1.24 -        This defaults to the empty string which allows all hosts to connect.
    1.25 -        If this is set to 'localhost' only the localhost will be able to connect
    1.26 -        to the console ports.
    1.27 +        This defaults to 'localhost', allowing only the localhost to connect
    1.28 +        to the console ports.  Setting this to the empty string, allows all
    1.29 +        hosts to connect.
    1.30          """
    1.31          return self.get_config_value('console-address', self.console_address_default)
    1.32