~0x44/nova/extdoc

« back to all changes in this revision

Viewing changes to nova/image/s3.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:
34
34
from nova import image
35
35
from nova import log as logging
36
36
from nova import utils
37
 
from nova.image import service
38
37
from nova.api.ec2 import ec2utils
39
38
 
40
39
 
48
47
                    'secret key to use for s3 server for images')
49
48
 
50
49
 
51
 
class S3ImageService(service.BaseImageService):
 
50
class S3ImageService(object):
52
51
    """Wraps an existing image service to support s3 based register."""
53
52
 
54
53
    def __init__(self, service=None, *args, **kwargs):