Revision 027e437a snf-cyclades-app/synnefo/api/servers.py
b/snf-cyclades-app/synnefo/api/servers.py | ||
---|---|---|
334 | 334 |
'password': password |
335 | 335 |
}) |
336 | 336 |
|
337 |
# TODO: if nodeapi app is enabled vm gets an extra attribute `params_url` |
|
338 |
# we should provide that url to the create_instance method. How ???? |
|
339 |
|
|
340 | 337 |
try: |
341 | 338 |
if settings.PUBLIC_USE_POOL: |
342 | 339 |
(network, address) = util.allocate_public_address(backend) |
... | ... | |
365 | 362 |
flavor=flavor, |
366 | 363 |
action="CREATE") |
367 | 364 |
|
365 |
vmapi_url = vm.get_vmapi_params_urls() |
|
366 |
|
|
368 | 367 |
try: |
369 | 368 |
jobID = create_instance(vm, nic, flavor, image, password, personality) |
370 | 369 |
except GanetiApiError: |
Also available in: Unified diff