vmware-nsx/neutron
Akihiro Motoki aada19391a nec plugin: Avoid long transaction in delete_ports
db_plugin.delete_ports() can lead to long transaction
if plugin.deleete_port talks with external system.
This commit removes a transaction in delete_ports and
allows NEC plugin to use more granular db transactions
in delete_port. It greatly helps db race conditions and
timeouts in delete_port operations.

To avoid to impact other plugins/drivers by changing
db_plugin.delete_ports directly and to land this patch soon,
this commit overrides delete_ports() in NEC plugin.
Further disssion on transaction in delete_ports will be
discussed under bug 1282925.

Closes-Bug: #1282922
Related-Bug: #1282925

Change-Id: I2c00694ad34eb2058bf7a0ff1c920ceded327d43
2014-03-02 09:04:13 +00:00
..
agent Merge "Fix get_vif_port_by_id to only return relevant ports" 2014-03-01 23:56:10 +00:00
api Lower log level of errors due to user requests to INFO 2014-02-25 19:43:14 +09:00
cmd remove binaries under bin 2013-08-16 10:10:30 +08:00
common Update License Headers to replace Nicira with VMware 2014-02-27 08:11:15 +00:00
db Merge "BigSwitch: Add agent to support neutron sec groups" 2014-03-01 22:19:46 +00:00
debug options: consolidate options definitions 2014-02-24 13:25:11 +09:00
extensions Merge "LBaaS: check for associations before deleting health monitor" 2014-02-28 10:39:35 +00:00
locale Imported Translations from Transifex 2014-03-01 06:29:47 +00:00
openstack Merge "Add user-supplied arguments in log_handler" 2014-03-01 12:35:31 +00:00
plugins nec plugin: Avoid long transaction in delete_ports 2014-03-02 09:04:13 +00:00
scheduler Fix race condition in network scheduling to dhcp agent 2014-02-06 15:40:54 +04:00
server Update License Headers to replace Nicira with VMware 2014-02-27 08:11:15 +00:00
services Merge "Change firewall to DOWN when admin state down" 2014-03-01 13:11:23 +00:00
tests nec plugin: Avoid long transaction in delete_ports 2014-03-02 09:04:13 +00:00
__init__.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
auth.py Return request-id in API response 2014-02-10 04:58:38 +09:00
context.py Stop logging unnecessary warning on context create 2013-11-28 09:17:18 +00:00
hooks.py Fixes Windows setup dependency bug 2013-08-15 22:58:14 +03:00
manager.py Fixes spelling error 2014-02-28 11:34:19 -08:00
neutron_plugin_base_v2.py Update License Headers to replace Nicira with VMware 2014-02-27 08:11:15 +00:00
policy.py Replace binding:capabilities with binding:vif_details 2014-02-23 22:56:45 -05:00
quota.py Add missing quota flags in the config file sample 2013-12-02 19:14:06 +01:00
service.py Update License Headers to replace Nicira with VMware 2014-02-27 08:11:15 +00:00
version.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
wsgi.py Merge "Raise max header size to accommodate large tokens" 2014-02-23 21:26:48 +00:00