Fix the migration adding a UC to agents table

The migration script mistakenly assumes that all core
plugins use agents extension, which is not true (e.g.
plumgrid and bigswitch don't).

Apply this migration script only for plugins that are
stated in the original migration script adding agents
table (511471cc46b_agent_ext_model_supp.py).

Related-Bug: #1254246

Change-Id: I7915ef8d183782eb5d46ac47f45014aa9e9640fb
This commit is contained in:
Roman Podoliaka 2013-12-12 08:20:15 +02:00 committed by Itzik Brown
parent ab1f474ace
commit 8b67ee3d94

View File

@ -28,7 +28,12 @@ revision = '1fcfc149aca4'
down_revision = 'e197124d4b9' down_revision = 'e197124d4b9'
migration_for_plugins = [ migration_for_plugins = [
'*' 'neutron.plugins.openvswitch.ovs_neutron_plugin.OVSNeutronPluginV2',
'neutron.plugins.linuxbridge.lb_neutron_plugin.LinuxBridgePluginV2',
'neutron.plugins.nicira.NeutronPlugin.NvpPluginV2',
'neutron.plugins.nec.nec_plugin.NECPluginV2',
'neutron.plugins.brocade.NeutronPlugin.BrocadePluginV2',
'neutron.services.loadbalancer.plugin.LoadBalancerPlugin',
] ]
from alembic import op from alembic import op