summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
authorYuriy Taraday <yorik.sar@gmail.com>2011-06-17 18:26:31 +0400
committerYuriy Taraday <yorik.sar@gmail.com>2011-06-17 18:26:31 +0400
commit8bd0296224b70e318e208a4570b4acaa599f62c8 (patch)
treea21191b8ab9a97aa268fcf0c078b6fc194a17e51 /nova/api
parent556f467bf0065331cdbb5c5e20fe33dca1239a64 (diff)
downloadnova-8bd0296224b70e318e208a4570b4acaa599f62c8.tar.gz
nova-8bd0296224b70e318e208a4570b4acaa599f62c8.tar.xz
nova-8bd0296224b70e318e208a4570b4acaa599f62c8.zip
Made hostname independent from ec2 id. Add generation of hostnames based on display name.
Diffstat (limited to 'nova/api')
-rw-r--r--nova/api/ec2/cloud.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/nova/api/ec2/cloud.py b/nova/api/ec2/cloud.py
index e1c65ae40..95d14ce9f 100644
--- a/nova/api/ec2/cloud.py
+++ b/nova/api/ec2/cloud.py
@@ -86,8 +86,7 @@ class CloudController(object):
self.volume_api = volume.API()
self.compute_api = compute.API(
network_api=self.network_api,
- volume_api=self.volume_api,
- hostname_factory=ec2utils.id_to_ec2_id)
+ volume_api=self.volume_api)
self.setup()
def __str__(self):