glance_store/glance_store
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
..
_drivers Use a named enum for capability values 2015-02-13 19:48:02 +00:00
common Move from oslo.config to oslo_config 2015-01-12 14:47:34 +00:00
locale Imported Translations from Transifex 2014-10-03 06:16:19 +00:00
openstack Use oslo.concurrency 2014-10-28 18:45:21 +02:00
tests Add capabilities to storage driver 2015-02-08 12:41:47 +08:00
__init__.py Rename glance.store to glance_store 2014-08-28 10:09:36 +02:00
backend.py Use a named enum for capability values 2015-02-13 19:48:02 +00:00
capabilities.py Use a named enum for capability values 2015-02-13 19:48:02 +00:00
driver.py Use a named enum for capability values 2015-02-13 19:48:02 +00:00
exceptions.py Add capabilities to storage driver 2015-02-08 12:41:47 +08:00
i18n.py Rename glance.store to glance_store 2014-08-28 10:09:36 +02:00
location.py Enhance configuration handling 2014-09-24 11:56:11 +08:00