]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Create agents table when ML2 core_plugin is used
authorJakub Libosvar <libosvar@redhat.com>
Tue, 11 Mar 2014 16:11:38 +0000 (17:11 +0100)
committerJakub Libosvar <libosvar@redhat.com>
Tue, 11 Mar 2014 16:15:25 +0000 (17:15 +0100)
In Icehouse agents table is not created when ml2 is used but later in
migration chain is added uniq constraint on this table. This patch makes
agents table created when ml2 plugin is used as core_plugin.

Closes-bug: 1260224
Change-Id: I501534261efd278b6a69a66758f1a01aa49bfa17

neutron/db/migration/alembic_migrations/versions/511471cc46b_agent_ext_model_supp.py

index c1ebf469d9f13b87227cc038d2e7e716bbddb05a..ee14c1b92adf2c0bd6a284259093c7cecb8847e3 100644 (file)
@@ -42,6 +42,7 @@ migration_for_plugins = [
     'neutron.plugins.ibm.sdnve_neutron_plugin.SdnvePluginV2',
     'neutron.plugins.oneconvergence.plugin.OneConvergencePluginV2',
     'neutron.plugins.mlnx.mlnx_plugin.MellanoxEswitchPlugin',
+    'neutron.plugins.ml2.plugin.Ml2Plugin',
 ]
 
 from alembic import op