-
Committer:
Tarmac
-
Author(s):
Michael Gundlach
-
Date:
2010-08-30 16:03:22 UTC
-
mfrom:
(246.6.5 controllers-in-api)
-
Revision ID:
hudson@openstack.org-20100830160322-p5v4qeood5ualpkm
Add Flavors controller supporting
GET /flavors
GET /flavors/detail
GET /flavors/<id>
Also add GET /images/detail
Turn the RackspaceAPIImageIdTranslator into a RackspaceAPIIdTranslator, so that it can be used to translate IDs for other rackspace API components as well (servers, backup schedules.) I thought I'd need it for flavors but it turns out flavors are so simple I could hard code their ids into compute.instance_types.INSTANCE_TYPES.