ce13bf6c5d
Added support for DB migration using Alembic. Modified devstack/lib/climate to sync the database during the configuration of Climate. Added the actual state of the sqlalchemy models in a migration script. This will be the first version, and will be used by devstack and the migration tests. Added a new console_script to the setup.cfg: climate-db-manage. This is the CLI is used as a wrapper of the alembic functionality. Added alembic>=0.4.1 as dependecy. Added some README with documentation about the DB migrations. Change-Id: I390ccfac1e436db0b04339e60f9f6795b22b8f7e Implements: blueprint schema-data-migration-with-alembic
49 lines
1.4 KiB
INI
49 lines
1.4 KiB
INI
[metadata]
|
|
name = climate
|
|
summary = Reservation Service for OpenStack clouds
|
|
description-file = README.rst
|
|
license = Apache Software License
|
|
classifiers =
|
|
Programming Language :: Python
|
|
Programming Language :: Python :: 2
|
|
Programming Language :: Python :: 2.7
|
|
Environment :: OpenStack
|
|
Development Status :: 3 - Alpha,
|
|
Framework :: Setuptools Plugin,
|
|
Intended Audience :: Information Technology
|
|
Intended Audience :: System Administrators
|
|
License :: OSI Approved :: Apache Software License
|
|
Operating System :: POSIX :: Linux
|
|
author = OpenStack
|
|
author_email = openstack-dev@lists.openstack.org
|
|
home-page = https://launchpad.net/climate
|
|
|
|
[global]
|
|
setup-hooks = pbr.hooks.setup_hook
|
|
|
|
[files]
|
|
packages =
|
|
climate
|
|
|
|
[entry_points]
|
|
console_scripts =
|
|
climate-db-manage=climate.db.migration.cli:main
|
|
climate-api=climate.cmd.api:main
|
|
climate-rpc-zmq-receiver=climate.cmd.rpc_zmq_receiver:main
|
|
climate-manager=climate.cmd.manager:main
|
|
|
|
climate.resource.plugins =
|
|
dummy.vm.plugin=climate.plugins.dummy_vm_plugin:DummyVMPlugin
|
|
physical.host.plugin=climate.plugins.oshosts.host_plugin:PhysicalHostPlugin
|
|
basic.vm.plugin=climate.plugins.instances.vm_plugin:VMPlugin
|
|
|
|
[build_sphinx]
|
|
all_files = 1
|
|
build-dir = doc/build
|
|
source-dir = doc/source
|
|
|
|
[extract_messages]
|
|
keywords = _
|
|
mapping_file = babel.cfg
|
|
output_file = climate/locale/climate.pot
|