===== tools/examples/xend-config.sxp 1.6 vs edited ===== --- 1.6/tools/examples/xend-config.sxp 2005-03-18 06:18:22 -05:00 +++ edited/tools/examples/xend-config.sxp 2005-05-29 00:52:40 -05:00 @@ -44,3 +44,11 @@ # Setup script for enbd-backed block devices (block-enbd block-enbd) +# Default path to the root of the database. +(dbroot "/var/lib/xen/xend-db") + +# Default path to the log file. +(logfile "/var/log/xend.log") + +# Default level of information to be logged. +(loglevel 'DEBUG') ===== tools/python/xen/xend/XendRoot.py 1.18 vs edited ===== --- 1.18/tools/python/xen/xend/XendRoot.py 2005-03-11 07:54:23 -05:00 +++ edited/tools/python/xen/xend/XendRoot.py 2005-05-29 00:52:08 -05:00 @@ -42,10 +42,11 @@ """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. """ - xend_address_default = '' + xend_address_default = 'localhost' """Default port xend serves HTTP at. """ xend_port_default = '8000' @@ -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' @@ -230,7 +231,6 @@ def get_xend_address(self): """Get the address xend listens at for its HTTP and event 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 HTTP and event ports. """ @@ -238,7 +238,6 @@ 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. """