Revision b7fca2d2 snfOCCI/compute.py
b/snfOCCI/compute.py | ||
---|---|---|
50 | 50 |
conf.set('token',extras['token']) |
51 | 51 |
snf = ComputeClient(conf) |
52 | 52 |
|
53 |
vm_name = entity.attributes['occi.compute.hostname']
|
|
53 |
vm_name = entity.attributes['occi.core.title']
|
|
54 | 54 |
info = snf.create_server(vm_name, flavor_id, image_id) |
55 | 55 |
entity.attributes['occi.core.id'] = str(info['id']) |
56 | 56 |
entity.attributes['occi.compute.architecture'] = SERVER_CONFIG['compute_arch'] |
Also available in: Unified diff