~0x44/nova/extdoc

« back to all changes in this revision

Viewing changes to nova/api/openstack/images.py

  • Committer: Tarmac
  • Author(s): Brian Waldon
  • Date: 2011-09-13 15:23:15 UTC
  • mfrom: (1517.2.17 image-service-cleanup)
  • Revision ID: tarmac-20110913152315-a21jg0bvjjlyga82
- remove translation of non-recognized attributes to user metadata, now just ignored
- ensure all keys are defined in image dictionaries, defaulting to None if glance client doesn't provide one
- remove BaseImageService
- reorganize some GlanceImageService tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
        """Initialize new `ImageController`.
51
51
 
52
52
        :param compute_service: `nova.compute.api:API`
53
 
        :param image_service: `nova.image.service:BaseImageService`
 
53
        :param image_service: `nova.image.glance:GlancemageService`
54
54
 
55
55
        """
56
56
        self._compute_service = compute_service or compute.API()