From da1da22101463722012b483b122f3ff60437b36e Mon Sep 17 00:00:00 2001 From: Kevin Benton Date: Mon, 31 Mar 2014 19:58:31 -0700 Subject: [PATCH] Add missing DB migrations for BSN ML2 plugin Adds missing database migrations for the Big Switch ML2 driver and plugin. Closes-Bug: #1298459 Change-Id: I6a46a53e069353501d85c4c8400f98514d6f0162 (cherry picked from commit d3be7b040eaa61a4d0ac617026cf5c9132d3831e) --- .../versions/1c33fa3cd1a1_extra_route_config.py | 3 ++- .../versions/4692d074d587_agent_scheduler.py | 1 + .../versions/53bbd27ec841_extra_dhcp_opts_supp.py | 4 +++- .../versions/81c553f3776c_bsn_consistencyhashes.py | 3 ++- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/neutron/db/migration/alembic_migrations/versions/1c33fa3cd1a1_extra_route_config.py b/neutron/db/migration/alembic_migrations/versions/1c33fa3cd1a1_extra_route_config.py index 8f0abd5b6..bc5b78215 100644 --- a/neutron/db/migration/alembic_migrations/versions/1c33fa3cd1a1_extra_route_config.py +++ b/neutron/db/migration/alembic_migrations/versions/1c33fa3cd1a1_extra_route_config.py @@ -41,7 +41,8 @@ migration_for_plugins = [ 'neutron.plugins.vmware.plugin.NsxPlugin', 'neutron.plugins.vmware.plugin.NsxServicePlugin', 'neutron.plugins.oneconvergence.plugin.OneConvergencePluginV2', - 'neutron.plugins.cisco.network_plugin.PluginV2' + 'neutron.plugins.cisco.network_plugin.PluginV2', + 'neutron.plugins.bigswitch.plugin.NeutronRestProxyV2' ] from alembic import op diff --git a/neutron/db/migration/alembic_migrations/versions/4692d074d587_agent_scheduler.py b/neutron/db/migration/alembic_migrations/versions/4692d074d587_agent_scheduler.py index 4683b0958..9338b0890 100644 --- a/neutron/db/migration/alembic_migrations/versions/4692d074d587_agent_scheduler.py +++ b/neutron/db/migration/alembic_migrations/versions/4692d074d587_agent_scheduler.py @@ -40,6 +40,7 @@ migration_for_plugins = [ 'neutron.plugins.vmware.plugin.NsxServicePlugin', 'neutron.plugins.oneconvergence.plugin.OneConvergencePluginV2', 'neutron.plugins.ml2.plugin.Ml2Plugin', + 'neutron.plugins.bigswitch.plugin.NeutronRestProxyV2' ] from alembic import op diff --git a/neutron/db/migration/alembic_migrations/versions/53bbd27ec841_extra_dhcp_opts_supp.py b/neutron/db/migration/alembic_migrations/versions/53bbd27ec841_extra_dhcp_opts_supp.py index e44d7daee..ef903425d 100644 --- a/neutron/db/migration/alembic_migrations/versions/53bbd27ec841_extra_dhcp_opts_supp.py +++ b/neutron/db/migration/alembic_migrations/versions/53bbd27ec841_extra_dhcp_opts_supp.py @@ -30,7 +30,9 @@ down_revision = '40dffbf4b549' # Change to ['*'] if this migration applies to all plugins migration_for_plugins = [ - 'neutron.plugins.openvswitch.ovs_neutron_plugin.OVSNeutronPluginV2' + 'neutron.plugins.openvswitch.ovs_neutron_plugin.OVSNeutronPluginV2', + 'neutron.plugins.ml2.plugin.Ml2Plugin', + 'neutron.plugins.bigswitch.plugin.NeutronRestProxyV2' ] from alembic import op diff --git a/neutron/db/migration/alembic_migrations/versions/81c553f3776c_bsn_consistencyhashes.py b/neutron/db/migration/alembic_migrations/versions/81c553f3776c_bsn_consistencyhashes.py index 4b14bb1af..0300c2475 100644 --- a/neutron/db/migration/alembic_migrations/versions/81c553f3776c_bsn_consistencyhashes.py +++ b/neutron/db/migration/alembic_migrations/versions/81c553f3776c_bsn_consistencyhashes.py @@ -28,7 +28,8 @@ down_revision = '24c7ea5160d7' # Change to ['*'] if this migration applies to all plugins migration_for_plugins = [ - 'neutron.plugins.bigswitch.plugin.NeutronRestProxyV2' + 'neutron.plugins.bigswitch.plugin.NeutronRestProxyV2', + 'neutron.plugins.ml2.plugin.Ml2Plugin' ] from alembic import op -- 2.45.2