Commit bdd5177c authored by Benjamin Blanc's avatar Benjamin Blanc

Update

parent dbef899d
...@@ -76,7 +76,7 @@ class ScalabilityTestRunner(): ...@@ -76,7 +76,7 @@ class ScalabilityTestRunner():
# Add computer_guid to the grid if it isn't # Add computer_guid to the grid if it isn't
self.remaining_software_installation_grid[computer_guid] = [] self.remaining_software_installation_grid[computer_guid] = []
self.remaining_software_installation_grid[computer_guid].append(software_path) self.remaining_software_installation_grid[computer_guid].append(software_path)
self.slapos_controler.supply(software_path, computer_guid, create_partition) self.slapos_controler.supply(software_path, computer_guid)
# Here make a request via slapos controler ? # Here make a request via slapos controler ?
return {'status_code' : 0} return {'status_code' : 0}
else: else:
......
...@@ -108,7 +108,7 @@ class SlapOSControler(object): ...@@ -108,7 +108,7 @@ class SlapOSControler(object):
config.setConfig(args, args.configuration_file) config.setConfig(args, args.configuration_file)
try: try:
local = client.init(config) local = client.init(config)
local['supply'](software_url, computer_id, state=state) local['supply'](software_url, computer_guid=computer_id, state=state)
self.log('SlapOSControler : supply %s %s %s' %(software_url, computer_id, state)) self.log('SlapOSControler : supply %s %s %s' %(software_url, computer_id, state))
except: except:
self.log("SlapOSControler.supply, \ self.log("SlapOSControler.supply, \
......
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