Commit c6625b11 authored by Alain Takoudjou's avatar Alain Takoudjou

slapproxy: always return empty list of partition full_address_list

parent 5029f941
......@@ -95,11 +95,13 @@ def partitiondict2partition(partition):
slap_partition._requested_state = partition['requested_state']
slap_partition._parameter_dict = xml2dict(partition['xml'])
address_list = []
full_address_list = []
for address in execute_db('partition_network',
'SELECT * FROM %s WHERE partition_reference=? AND computer_reference=?',
[partition['reference'], partition['computer_reference']]):
address_list.append((address['reference'], address['address']))
slap_partition._parameter_dict['ip_list'] = address_list
slap_partition._parameter_dict['full_address_list'] = full_address_list
slap_partition._parameter_dict['slap_software_type'] = \
partition['software_type']
if partition['slave_instance_list'] is not None:
......
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