[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnue] r7976 - trunk/gnue-appserver/src
From: |
johannes |
Subject: |
[gnue] r7976 - trunk/gnue-appserver/src |
Date: |
Wed, 28 Sep 2005 12:35:37 -0500 (CDT) |
Author: johannes
Date: 2005-09-22 23:01:29 -0500 (Thu, 22 Sep 2005)
New Revision: 7976
Modified:
trunk/gnue-appserver/src/geasConfiguration.py
trunk/gnue-appserver/src/geasRpcServer.py
Log:
Added the missing 'bindto' configuration setting
Modified: trunk/gnue-appserver/src/geasConfiguration.py
===================================================================
--- trunk/gnue-appserver/src/geasConfiguration.py 2005-09-23 03:58:56 UTC
(rev 7975)
+++ trunk/gnue-appserver/src/geasConfiguration.py 2005-09-23 04:01:29 UTC
(rev 7976)
@@ -67,6 +67,13 @@
'Typecast' : GTypecast.text,
'Default' : '' },
+ { 'Name' : 'bindto',
+ 'Type' : 'Setting',
+ 'Comment' : _('Hostname of the interface to bind services to'),
+ 'Description': _('Hostname of the interface to bind services to'),
+ 'Typecast' : GTypecast.text,
+ 'Default' : '' },
+
{ 'Name' : 'null_first_asc',
'Type' : 'Setting',
'Comment' : _('Null values appear first in ascending sort'),
Modified: trunk/gnue-appserver/src/geasRpcServer.py
===================================================================
--- trunk/gnue-appserver/src/geasRpcServer.py 2005-09-23 03:58:56 UTC (rev
7975)
+++ trunk/gnue-appserver/src/geasRpcServer.py 2005-09-23 04:01:29 UTC (rev
7976)
@@ -162,6 +162,7 @@
{"rpctype": rpctype, "port": port}
params = {'port': int (port),
'allowed_hosts': gConfig ('allowed_hosts'),
+ 'bindto': gConfig ('bindto'),
'servertype': gConfig ('servertype')}
if self.OPTIONS ["web-frontend"]:
@@ -176,9 +177,11 @@
self.setTransports({rpctype: params})
elif rpctype == "pyro":
- print _("Exporting our services via Pyro (EXPERIMENTAL!) ...")
port = gConfig ("rpcport")
+ print u_("Exporting our services via %(rpctype)s (port %(port)s) ...") %
\
+ {"rpctype": rpctype, "port": port}
params = {'port': int (port),
+ 'bindto': gConfig ('bindto'),
'allowed_hosts': gConfig ('allowed_hosts')}
self.setTransports ({'pyro': params})
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnue] r7976 - trunk/gnue-appserver/src,
johannes <=