Commit c0483703 authored by Titouan Soulard's avatar Titouan Soulard Committed by Romain Courteaud

slapgrid: propagate slapgrid_jio_uri

parent 2cb086e7
......@@ -441,6 +441,7 @@ class Partition(object):
buildout_debug=False,
partition_timeout=None,
api_backward_compatibility=False,
slapgrid_jio_uri=None
):
"""Initialisation of class parameters"""
self.buildout = buildout
......@@ -464,6 +465,7 @@ class Partition(object):
self.ipv4_global_network = ipv4_global_network
self.partition_timeout = partition_timeout
self.api_backward_compatibility = api_backward_compatibility
self.slapgrid_jio_uri = slapgrid_jio_uri
self.key_file = ''
self.cert_file = ''
......@@ -636,6 +638,7 @@ class Partition(object):
'software_instance_reference': self.computer_partition.get("reference"),
'server_url': self.server_url,
'software_release_url': self.software_release_url,
'slapgrid_jio_uri': self.slapgrid_jio_uri,
'key_file': self.key_file,
'cert_file': self.cert_file,
'storage_home': self.instance_storage_home,
......
......@@ -320,8 +320,8 @@ def create_slapgrid_object(options, logger):
firewall_conf=op.get('firewall'),
config=options,
force_stop=op.get('force_stop', False),
partition_timeout=partition_timeout)
partition_timeout=partition_timeout,
slapgrid_jio_uri=op.get('slapgrid_jio_uri', None))
def check_required_only_partitions(existing, required):
"""
......@@ -1252,6 +1252,7 @@ stderr_logfile_backups=1
computer_id=self.computer_id,
partition_id=computer_partition_id,
server_url=self.master_url,
slapgrid_jio_uri=self.slapgrid_jio_uri,
software_release_url=software_url,
certificate_repository_path=self.certificate_repository_path,
buildout=self.buildout,
......@@ -1339,6 +1340,7 @@ stderr_logfile_backups=1
computer_id=self.computer_id,
partition_id=computer_partition_id,
server_url=self.master_url,
slapgrid_jio_uri=self.slapgrid_jio_uri,
software_release_url=software_url,
certificate_repository_path=self.certificate_repository_path,
buildout=self.buildout,
......@@ -2082,6 +2084,7 @@ stderr_logfile_backups=1
computer_id=self.computer_id,
partition_id=computer_partition_id,
server_url=self.master_url,
slapgrid_jio_uri=self.slapgrid_jio_uri,
software_release_url=software_url,
certificate_repository_path=self.certificate_repository_path,
buildout=self.buildout,
......
......@@ -10,6 +10,7 @@ offline = true
computer-id = %(computer_id)s
partition-id = %(partition_id)s
server-url = %(server_url)s
slapgrid-jio-uri = %(slapgrid_jio_uri)s
software-release-url = %(software_release_url)s
key-file = %(key_file)s
cert-file = %(cert_file)s
......
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