]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Support for independent alembic branches in sub-projects
authorHenry Gessau <gessau@cisco.com>
Sun, 5 Jul 2015 07:29:38 +0000 (03:29 -0400)
committerHenry Gessau <gessau@cisco.com>
Thu, 13 Aug 2015 03:50:58 +0000 (23:50 -0400)
commit603c0d03aed5fdeefb471086c0aef879938f9641
treebcc784a30df5151a87b05da7ab3713b40e42b5aa
parent6688b7b73f2b9f40078e9efbe975f0c10f14b5b2
Support for independent alembic branches in sub-projects

Sub-projects shall now register their independent alembic migrations
via entrypoints in setup.cfg, and neutron-db-manage will discover them
and run them automatically.

If a service or sub-project is specified explicitly, then
neutron-db-manage will run on only that service or sub-project.

The advanced services project are just special cases of sub-projects.
For example, specifying the CLI option '--service lbaas' is the same
as specifying '--subproject neutron-lbaas'.

Specifying no service or sub-project will cause neutron-db-manage to
run the command on neutron and all installed sub-projects.

Added and consolidated documentation into devref for alembic migrations.

Partial-Bug: #1471333
Partial-Bug: #1470625

Change-Id: I9a06de64ce35675af28adf819de6f22dc832390d
doc/source/devref/alembic_migrations.rst [new file with mode: 0644]
doc/source/devref/db_layer.rst
doc/source/devref/index.rst
neutron/db/migration/README
neutron/db/migration/cli.py
neutron/tests/functional/db/test_migrations.py
neutron/tests/unit/db/test_migration.py
setup.cfg