~ubuntu-branches/ubuntu/quantal/nova/quantal-proposed

« back to all changes in this revision

Viewing changes to nova/api/openstack/compute/contrib/flavorextradata.py

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2012-08-16 14:04:11 UTC
  • mto: This revision was merged to the branch mainline in revision 84.
  • Revision ID: package-import@ubuntu.com-20120816140411-0mr4n241wmk30t9l
Tags: upstream-2012.2~f3
ImportĀ upstreamĀ versionĀ 2012.2~f3

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
    def _get_flavor_refs(self):
39
39
        """Return a dictionary mapping flavorid to flavor_ref."""
40
40
 
41
 
        flavor_refs = instance_types.get_all_types(inactive=True)
 
41
        flavor_refs = instance_types.get_all_types()
42
42
        rval = {}
43
43
        for name, obj in flavor_refs.iteritems():
44
44
            rval[obj['flavorid']] = obj