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

xen-changelog

[Xen-changelog] XendRoot.py:

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] XendRoot.py:
From: BitKeeper Bot <riel@xxxxxxxxxxx>
Date: Tue, 31 May 2005 13:32:53 +0000
Delivery-date: Tue, 31 May 2005 16:02:28 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: Xen Development List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
ChangeSet 1.1159.258.161, 2005/05/31 14:32:53+01:00, cl349@xxxxxxxxxxxxxxxxxxxx

        XendRoot.py:
          Document loglevel_default and change default interface address for
          listening at for console connections.
        Signed-off-by: Nguyen Anh Quynh <aquynh@xxxxxxxxx>
        Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx>



 XendRoot.py |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)


diff -Nru a/tools/python/xen/xend/XendRoot.py 
b/tools/python/xen/xend/XendRoot.py
--- a/tools/python/xen/xend/XendRoot.py 2005-05-31 12:03:18 -04:00
+++ b/tools/python/xen/xend/XendRoot.py 2005-05-31 12:03:18 -04:00
@@ -42,6 +42,7 @@
     """Default path to the log file. """
     logfile_default = "/var/log/xend.log"
 
+    """Default level of information to be logged."""
     loglevel_default = 'DEBUG'
 
     """Default interface address xend listens at. """
@@ -54,7 +55,7 @@
     xend_event_port_default   = '8001'
 
     """Default inteface address xend listens at for consoles."""
-    console_address_default   = ''
+    console_address_default   = 'localhost'
 
     """Default port xend serves consoles at. """
     console_port_base_default = '9600'
@@ -238,9 +239,9 @@
 
     def get_console_address(self):
         """Get the address xend listens at for its console ports.
-        This defaults to the empty string which allows all hosts to connect.
-        If this is set to 'localhost' only the localhost will be able to 
connect
-        to the console ports.
+        This defaults to 'localhost', allowing only the localhost to connect
+        to the console ports.  Setting this to the empty string, allows all
+        hosts to connect.
         """
         return self.get_config_value('console-address', 
self.console_address_default)
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>