glance_store/glance_store/_drivers
Ian Cordasco ac9bd0d83a Use a named enum for capability values
In Iedf0d4f829e46ca64c3f4fc6a7dfee54d9b0605b we added support for driver
capabilities in glance_store. That same change also used (mutable)
module globals to check driver capabilities. By moving the capability
definitions inside a subclass of IntEnum we retain all of the previous
functionality with the guarantee that the enum values will not change
once defined.

Change-Id: I13c7bd507252e793b2c790cc9b77c7b8db432d02
2015-02-13 19:48:02 +00:00
..
swift Use a named enum for capability values 2015-02-13 19:48:02 +00:00
__init__.py Rename glance.store to glance_store 2014-08-28 10:09:36 +02:00
cinder.py Use a named enum for capability values 2015-02-13 19:48:02 +00:00
filesystem.py Use a named enum for capability values 2015-02-13 19:48:02 +00:00
gridfs.py Use a named enum for capability values 2015-02-13 19:48:02 +00:00
http.py Use a named enum for capability values 2015-02-13 19:48:02 +00:00
rbd.py Use a named enum for capability values 2015-02-13 19:48:02 +00:00
s3.py Use a named enum for capability values 2015-02-13 19:48:02 +00:00
sheepdog.py Use a named enum for capability values 2015-02-13 19:48:02 +00:00
vmware_datastore.py Use a named enum for capability values 2015-02-13 19:48:02 +00:00