neutron-lbaas/neutron/plugins/nec
Ihar Hrachyshka 9c94d96031 Avoid notifying while inside transaction opened in delete_port()
delete_port() calls to disassociate_floatingips() while in transaction.
The latter method sends RPC notification which may result in eventlet
yield. If yield switches a thread to another one that tries to access
the same floating IP object in db as disassociate_floatingips() method
does, we're locked and get db timeout.

We should avoid calling to notifier while under transaction.

To achieve this, I introduce a do_notify argument that controls whether
notification is done by disassociate_floatingips() itself or delegated
to caller. Callers that call to disassociate_floatingips() from under
transactions should handle notifications on their own. For this,
disassociate_floatingips() returns a set of routers that require
notification.

Updated drivers to reflect new behaviour. Added unit test.

Conflicts:
	neutron/db/l3_db.py
	neutron/plugins/bigswitch/plugin.py
	neutron/plugins/nuage/plugin.py

Change-Id: I2411f2aa778ea088be416d062c4816c16f49d2bf
Closes-Bug: 1330955
(cherry picked from commit 876c2c25e1)
2014-07-26 11:19:15 +02:00
..
agent Update License Headers to replace Nicira with VMware 2014-02-27 08:11:15 +00:00
common Replace HTTPSConnection in NEC plugin 2014-04-04 16:09:14 -04:00
db NEC plugin: Rename quantum_id column to neutron_id 2014-03-22 06:30:13 +09:00
drivers Replace HTTPSConnection in NEC plugin 2014-04-04 16:09:14 -04:00
extensions NEC plugin: PFC packet fitler support 2014-03-04 09:08:29 +09:00
__init__.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
nec_plugin.py Avoid notifying while inside transaction opened in delete_port() 2014-07-26 11:19:15 +02:00
nec_router.py Use save_and_reraise_exception when reraise exception 2014-03-21 21:31:55 +09:00
ofc_driver_base.py NEC plugin: delete old OFC ID mapping tables 2014-03-06 08:29:52 +00:00
ofc_manager.py NEC plugin: delete old OFC ID mapping tables 2014-03-06 08:29:52 +00:00
packet_filter.py nec plugin: allow to delete resource with ERROR status 2014-03-27 00:34:06 +09:00
README Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
router_drivers.py nec plugin: allow to delete resource with ERROR status 2014-03-27 00:34:06 +09:00

Quantum NEC OpenFlow Plugin


# -- What's this?

http://wiki.openstack.org/Quantum-NEC-OpenFlow-Plugin


# -- Installation

Use QuickStart Script for this plugin.  This provides you auto installation and
configuration of Nova, Neutron and Trema.
https://github.com/nec-openstack/quantum-openflow-plugin/tree/folsom