Add draft of IP binding, add TODOs

parent 9ba75a39
No related merge requests found
......@@ -79,6 +79,10 @@ class Recipe(BaseSlapRecipe):
manager_port=1523, database='cubrid_slapos_db'):
# XXX-Cedric : use work from Antoine to have backuped + generic cubrid
# XXX-Cedric : Check that running this recipe does not erase database
# XXX-Cedric : Check manager status
# XXX-Cedric : Check master status
# XXX-Cedric : restrict everything by user/password
# XXX-Cedric : IPv6?
config_dict = {}
config_dict.update(self.options)
config_dict.update(self.parameter_dict)
......@@ -115,6 +119,9 @@ class Recipe(BaseSlapRecipe):
self._createSimlink(cubrid_broker_configuration_path,
os.path.join(cubrid_conf_directory, 'cubrid_broker.conf'))
# XXX-Cedric : Finish IP binding http://www.cubrid.org/manual/840/en/Broker%20Server%20Access%20Limitation
# Add access_file.txt.in, iplist.txt.in
# Files needed to fill database for demo
demodb_schema_template_path = self.getTemplateFilename('demodb_schema')
self._writeFile(os.path.join(cubrid_home_path, 'demodb_schema'),
......
[%%QUERY_EDITOR]
*:*:iplist.txt
[%%BROKER1]
*:*:iplist.txt
\ No newline at end of file
......@@ -14,6 +14,8 @@ SQL_LOG =ON
TIME_TO_KILL =120
SESSION_TIMEOUT =300
KEEP_CONNECTION =AUTO
ACCESS_ CONTROL =ON
ACCESS_CONTROL_FILE =%(cubrid_home)s/access_file.txt
[%%BROKER1]
SERVICE =ON
......@@ -27,4 +29,5 @@ SQL_LOG =ON
TIME_TO_KILL =120
SESSION_TIMEOUT =300
KEEP_CONNECTION =AUTO
ACCESS_ CONTROL =ON
ACCESS_CONTROL_FILE =%(cubrid_home)s/access_file.txt
%(private_ip)s
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment