Fixed instance namings

This commit is contained in:
Serg Melikyan 2013-03-11 19:54:35 +04:00
parent c9396320b9
commit 879fc70e1a
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ class Controller(object):
for unit in active_directory['units']:
unit_count += 1
unit['id'] = uuidutils.generate_uuid()
unit['name'] = 'dc-{0}'.format(unit_count)
unit['name'] = 'dc{0}'.format(unit_count)
draft = prepare_draft(draft)
draft['services']['activeDirectories'].append(active_directory)

View File

@ -33,7 +33,7 @@ class Controller(object):
for unit in webServer['units']:
unit_count += 1
unit['id'] = uuidutils.generate_uuid()
unit['name'] = 'webserver-{0}'.format(unit_count)
unit['name'] = 'webserver{0}'.format(unit_count)
draft = prepare_draft(draft)
draft['services']['webServers'].append(webServer)