137
138
args['instance_id'] = instance_id
138
139
args['network_id'] = network['id']
141
142
green_pool.spawn_n(rpc.call, context, topic,
142
143
{'method': '_rpc_allocate_fixed_ip',
145
146
# i am the correct host, run here
146
self.allocate_fixed_ip(context, instance_id, network,
147
self.allocate_fixed_ip(context, instance_id, network, vpn=vpn)
149
149
# wait for all of the allocates (if any) to finish