vmware-nsx/neutron/db
Aaron Rosen a1f750a2a0 Fix Migration 50e86cb2637a and 38335592a0dc
When the rename of quantum->neutron occurred here ee3fe4e8 it also renamed
the the table creation from quantum_nvp_port_mapping to
neutron_nvp_port_mapping. This went undetected for a long time because
when neutron-server starts up it pushes down the scheme for tables that
are not there so the table would be created.

Because of this the following migration 50e86cb2637a called
op.rename_table('neutron_nvp_port_mapping', 'neutron_nsx_port_mappings')
though the table name being used was quantum_nvp_port_mapping. Because of this
the quantum_id->nvp_id mapping was never migrated over to the new table and
you would be left with a quantum_nvp_port_mapping table hanging around.

In addition, the downgrade would rename the table to neutron_nvp_port_mapping
instead of quantum_nvp_port_mapping. This patch addresses this issues.

Change-Id: I4f80b7b9dc56996ecd83826ee65918f5311c7c4f
Closes-bug: #1267619
2014-01-09 15:19:38 -08:00
..
firewall FWaaS - fix reordering of rules in policy 2013-09-17 23:46:56 -07:00
loadbalancer Fix misspells 2013-12-03 15:03:47 -08:00
metering Fix MeteringLabel model to not clear router's tenant id on deletion 2013-11-12 19:09:29 +04:00
migration Fix Migration 50e86cb2637a and 38335592a0dc 2014-01-09 15:19:38 -08:00
vpn update error msg for invalid state to update vpn resources 2013-12-03 06:06:02 +08:00
__init__.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
agents_db.py Send DHCP notifications regardless of agent status 2013-12-19 07:08:19 +00:00
agentschedulers_db.py Remove the warning for Scheduling Network 2013-11-12 15:56:30 +08:00
allowedaddresspairs_db.py Rebind allowed address pairs only if they changed 2013-11-26 08:25:49 -08:00
api.py Remove global DB_ENGINE from Neutron 2013-08-05 08:51:16 -07:00
db_base_plugin_v2.py Fix empty network deletion in db_base_plugin for postgresql 2014-01-01 22:35:57 +04:00
dhcp_rpc_base.py Handle failures on update_dhcp_port 2013-12-04 03:39:22 -08:00
external_net_db.py Adds support for L3 routing/NAT as a service plugin 2013-09-11 12:12:10 +02:00
extradhcpopt_db.py Adds delete of a extra_dhcp_opt on a port 2013-11-14 14:36:01 -07:00
extraroute_db.py ExtraRoute: fix _get_extra_routes_by_router_id() 2013-11-08 10:16:19 +04:00
l3_agentschedulers_db.py Add LeastRouters Scheduler to Neutron L3 Agent 2013-12-09 13:25:59 +01:00
l3_db.py Remove redundant codes 2013-12-31 16:09:31 +08:00
l3_gwmode_db.py change seld into self 2013-10-21 23:19:39 +08:00
l3_rpc_base.py Adds support for L3 routing/NAT as a service plugin 2013-09-11 12:12:10 +02:00
model_base.py Apply Oslo ModelBase to NeutronBase 2013-07-08 10:14:26 +08:00
models_v2.py Remove DHCP lease logic 2013-08-12 16:55:48 -07:00
portbindings_base.py refactor port binding codes 2013-07-26 23:04:51 +08:00
portbindings_db.py allow subclasses to modify the parents model hooks 2013-08-09 00:53:33 -04:00
portsecurity_db.py Allow subclasses to modify dict_extend hooks 2013-09-02 17:37:22 -07:00
quota_db.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
routedserviceinsertion_db.py Support for NVP advanced FwaaS service 2013-09-17 10:18:22 -07:00
routerservicetype_db.py Service Type Framework refactoring 2013-07-25 21:47:30 +04:00
securitygroups_db.py Fix unable to add allow all IPv4/6 security group rule 2013-12-01 10:44:39 -08:00
securitygroups_rpc_base.py Merge "Rebind security groups only when they're updated" 2013-11-27 19:32:14 +00:00
servicetype_db.py LBaaS integration with service type framework 2013-09-03 23:05:33 +04:00
sqlalchemyutils.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00