]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Check DB scheme prior to migration to Ml2
authorJakub Libosvar <libosvar@redhat.com>
Wed, 28 May 2014 16:39:47 +0000 (18:39 +0200)
committerJakub Libosvar <libosvar@redhat.com>
Tue, 3 Jun 2014 11:30:05 +0000 (13:30 +0200)
commitde10d7299ba3dce18b8e12a41830ec0e686df340
treeda12362813e3688bb33c45d38d0e898d9d8b3520
parent3b9c1bd97f4755cc3011f7487ab95e9c9b845bce
Check DB scheme prior to migration to Ml2

When using migration tool from LB/OVS plugin to Ml2, there is no
guarantee current scheme is supported by migration tool. This patch
checks version stored in DB by alembic and compares whether version
is supported.

Closes-bug: #1307720

Change-Id: I4519a0e5a0f3027675958a68d1f9e0440b177229
neutron/db/migration/migrate_to_ml2.py