Commit 7ad46afe authored by efikalti's avatar efikalti

define networks list

parent 58dec538
......@@ -127,12 +127,13 @@ class Provisioner:
else:
image_id = self.find_image(**kwargs)['id']
project_id = self.find_project_id(**kwargs)['id']
networks = list()
if ip != None:
ip_obj = dict()
ip_obj['uuid'] = ip['floating_network_id']
ip_obj['fixed_ip'] = ip['floating_ip_address']
networks.append(ip_obj)
networks = [{'uuid': kwargs['net_id']}]
networks.append({'uuid': kwargs['net_id']})
if personality == None:
personality = []
try:
......
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