magnum/magnum/db/sqlalchemy/alembic/versions
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
..
1afee1db6cd0_add_master_flavor.py Remove downgrade from existing migrations 2015-03-28 10:27:53 +08:00
1c1ff5e56048_rename_container_image_id.py Rename image_id to image in container object 2015-06-23 23:07:13 +08:00
1d045384b966_add_insecure_baymodel_attr.py Add TLS to Docker-Swarm Template 2015-09-24 14:38:55 -04:00
1f196a3dabae_remove_container.py Remove container object 2016-08-01 16:16:20 +02:00
2ace4006498_rename_bay_minions_address.py Rename bay's minions_address to node_addresses 2015-03-30 08:01:17 -07:00
2ae93c9c6191_add_public_column_to_baymodel_table.py Adding support for public baymodels 2015-10-01 08:35:18 -05:00
2b5f24dd95de_rename_service_port.py Update service manifest parsing according to v1beta3 2015-05-10 10:37:00 -07:00
2d1354bbf76e_ssh_authorized_key.py Remove downgrade from existing migrations 2015-03-28 10:27:53 +08:00
2d8657c0cdc_add_bay_uuid.py Add bay_uuid attribute to Container model 2015-04-23 00:05:34 +05:30
3a938526b35d_add_docker_volume_size.py Remove downgrade from existing migrations 2015-03-28 10:27:53 +08:00
3b6c4c42adb4_add_unique_constraints.py Add unique column constraints to db 2015-05-05 13:36:31 +01:00
3be65537a94a_add_network_driver_baymodel_column.py Adds network_driver Support of Container Network Model 2015-09-16 17:01:51 +00:00
3bea56f25597_multi_tenant.py Remove downgrade from existing migrations 2015-03-28 10:27:53 +08:00
04c625aa95ba_change_storage_driver_to_string.py Make docker_storage_driver a str instead of enum 2017-12-14 14:41:09 +00:00
4e263f236334_add_registry_enabled.py Add registry_enabled to api and db 2015-09-16 10:11:47 +08:00
4ea34a59a64c_add_discovery_url_to_bay.py Add Swarm TemplateDefinition 2015-04-17 12:19:27 -07:00
5ad410481b88_rename_insecure.py Rename "insecure" to "tls_disabled" 2015-09-30 13:52:18 +01:00
05d3e97de9ee_add_volume_driver.py Adds volume_driver in db api 2016-01-26 05:42:11 +00:00
5d4caa6e0a42_create_trustee_for_each_bay.py Create a trustee user for each bay 2016-02-18 18:16:35 +08:00
6f21dc920bb_add_cert_uuid_to_bay.py Add cert_uuid attributes to Bay in db 2015-08-27 14:20:51 +09:00
6f21dc998bb_add_master_addresses_to_bay.py Add 'master_addresses' attribute to bay 2015-08-21 10:04:15 -07:00
27ad304554e2_adding_magnum_service_functionality.py Backend support for magnum service 2015-09-28 17:06:10 +00:00
29affeaa2bc2_rename_bay_master_address.py Rename bay's master_address to api_address 2015-03-25 09:42:22 -07:00
33ef79969018_add_memory_to_container.py Allow container memory size to be specified 2015-10-03 17:27:30 -04:00
35cff7c86221_add_private_network_to_baymodel.py Remove downgrade from existing migrations 2015-03-28 10:27:53 +08:00
40f325033343_add_bay_create_timeout_to_bay.py Add missing bay_create_timeout to bay object 2015-12-02 22:46:59 +08:00
049f81f6f584_remove_ssh_authorized_key_from_baymodel.py Remove unused attribute "ssh_authorized_key" 2016-02-28 15:33:56 -05:00
52bcaf58fecb_add_master_flavor_id_to_cluster.py Allow master_flavor_id on cluster create 2017-09-27 09:30:18 +00:00
57fbdf2327a2_remove_baylock.py Remove baylock 2015-12-18 09:47:46 +08:00
59e7664a8ba1_add_container_status.py Fix continuation line under/over indented problems 2015-05-30 00:16:37 +08:00
68ce16dfd341_add_master_lb_enabled_column_to_baymodel_table.py Add master_lb_enabled field to baymodel 2016-06-28 08:41:49 +00:00
085e601a39f6_remove_service.py Remove service object 2016-06-02 10:46:13 +01:00
156ceb17fb0a_add_bay_status_reason.py Add status_reason field to bay 2015-06-01 10:44:02 +08:00
720f640f43d1_rename_bay_table_to_cluster.py Rename Bay DB, Object, and internal usage to Cluster 2016-09-08 13:01:12 -07:00
859fb45df249_remove_replication_controller.py Remove ReplicationController object 2016-08-10 17:56:48 +02:00
966a99e70ff_add_proxy.py proxy-blue print for docker swarm 2015-08-25 18:36:42 -04:00
1481f5b560dd_add_labels_column_to_baymodel_table.py Adds labels support to baymodels 2015-09-17 16:35:41 +00:00
2581ebaf0cb2_initial_migration.py Remove downgrade from existing migrations 2015-03-28 10:27:53 +08:00
4956f03cabad_add_cluster_distro.py Implementation of Cluster distro for baymodel. 2015-04-25 02:49:00 +05:30
5518af8dbc21_rename_cert_uuid.py Change bay.*_cert_uuid to bay.*_cert_ref 2015-09-01 16:16:36 +09:00
5793cd26898d_add_bay_status.py Remove downgrade from existing migrations 2015-03-28 10:27:53 +08:00
14328d6a57e3_add_master_count_to_bay.py Add a new field 'master_count' to bay in DB 2015-07-29 17:52:05 -04:00
417917e778f5_add_server_type_to_baymodel.py Create BayModel with provided(VM/BM) server type 2015-11-11 22:07:00 +00:00
421102d1f2d2_create_x509keypair_table.py Added X509KeyPair object and data model. 2015-08-07 18:11:38 +09:00
456126c6c9e9_create_baylock_table.py Database changes for conductor horizontal scale 2015-04-11 16:26:45 +00:00
53882537ac57_add_host_column_to_pod.py Add 'host' field to Pod object. 2015-06-25 17:37:35 -04:00
592131657ca1_add_coe_column_to_baymodel.py Centralize config option: cluster_heat section 2016-09-22 05:56:43 +00:00
5977879072a7_add_env_to_container.py Add support to set env to a container 2015-11-28 11:53:00 +08:00
a0e7c8450ab1_add_labels_to_cluster.py Allow labels on cluster create 2017-08-21 12:27:52 +00:00
a1136d335540_add_docker_storage_driver_column.py Fix for enum type docker_storage_driver 2016-08-04 15:14:29 +02:00
aa0cc27839af_add_docker_volume_size_to_cluster.py Allow docker_volume_size on cluster create 2017-06-23 11:31:27 +00:00
adc3b7679ae_add_registry_trust_id_to_bay.py Create trust_id for bay 2015-12-15 11:28:23 +08:00
b1f612248cab_add_floating_ip_enabled_column_to_.py Add floating_ip_enabled field to baymodel 2016-08-16 16:21:35 -05:00
bb42b7cad130_remove_node_object.py Remove node object from Magnum 2016-02-04 14:02:49 +08:00
bc46ba6cf949_add_keypair_to_cluster.py Allow keypair to be added during cluster create 2016-10-06 17:25:09 +00:00
d072f58ab240_modify_x509keypair_table.py X509keypair cleanup 2016-05-30 12:02:26 +05:30
e647f5931da8_add_insecure_registry_to_baymodel.py Add insecure_registry column to baymoddel 2016-05-23 09:02:22 +08:00
e0653b2d5271_add_fixed_subnet_column_to_baymodel_table.py Add fixed_subnet field to baymodel 2016-06-30 15:16:45 +09:00
e772b2598d9_add_container_command.py Fix continuation line under/over indented problems 2015-05-30 00:16:37 +08:00
ee92b41b8809_create_quotas_table.py Resource Quota - Introduce Quota Table 2016-02-27 03:25:47 -08:00
ef08a5e057bd_remove_pod.py Remove pod object 2016-05-27 11:34:09 +01:00
fb03fdef8919_rename_baymodel_to_clustertemplate.py Rename BayModel DB, Object, and internal usage to ClusterTemplate 2016-09-01 14:47:39 -07:00
fcb4efee8f8b_add_version_info_to_bay.py Include version info in bay/cluster show operation 2016-08-31 09:39:42 -05:00