magnum/magnum/tests/unit
Ricardo Rocha 28fff8006a Make docker_storage_driver a str instead of enum
Allow any value to be passed on the docker_storage_driver field by turning it
into a StringField (was EnumField), and remove the constraints limiting the
values to 'devicemapper' and 'overlay'.

Change the docker storage setup to have a generic setup for all drivers with
the exception of 'devicemapper', which keeps its own specific storage config
function. For all others, do the same we already did for overlay (with two
cases for usage of a cinder volume or not) and simply set the storage driver
in the docker configuration to the value provided in the cluster template.

Change-Id: I9aa8f232ce64ece4d439c0a476f463820a499617
Closes-Bug: #1722522
2017-12-14 14:41:09 +00:00
..
api Redundant alias in import statement 2017-11-07 08:24:24 +00:00
cmd Support magnum-conductor multiple process workers 2017-05-02 02:21:29 +00:00
common Stop using deprecated 'message' attribute in Exception 2017-07-24 17:27:24 +05:30
conductor Add verify_ca configuration parameter 2017-11-21 10:25:32 -08:00
conf Centralize config option: paths section 2016-09-22 05:56:53 +00:00
db Allow master_flavor_id on cluster create 2017-09-27 09:30:18 +00:00
drivers k8s_fedora: Add container_infra_prefix label 2017-09-22 12:08:07 +02:00
objects Make docker_storage_driver a str instead of enum 2017-12-14 14:41:09 +00:00
service Move cluster status notifications out of driver 2016-12-07 15:27:44 +00:00
servicegroup Cleanup MagnumService Object usage 2016-01-29 15:39:28 +08:00
template Centralize config option: paths section 2016-09-22 05:56:53 +00:00
__init__.py Make room for functional tests 2015-04-02 12:25:43 -04:00
test_hacking.py Revert "Using assertFalse(A) instead of assertEqual(False, A)" 2017-06-15 12:46:54 +08:00