neutron-fwaas/neutron/tests/unit/ml2
Kevin Benton 36e8cbb34e ML2: move L3 cleanup out of network transaction
Move _process_l3_delete out of the delete_network
transaction to eliminate the semaphore deadlock that
occurs when it tries to delete the ports associated
with existing floating IPs.

It makes more sense to live outside of the transaction
anyway because the operations it performs cannot be
rolled back only in the database if the L3 plugin makes
external calls for floating IP creation/deletion.
e.g. if delete_floatingip is successful, it may have
deleted external resources and restoring the DB records
would make things inconsistent.

If a failure to delete the network does occur, any cleanup
done by _process_l3_delete will not be reversed.

Closes-Bug: #1374573
Change-Id: I3ae7bb269df9b9dcef94f48f13f1bde1e4106a80
2014-09-30 08:38:53 -07:00
..
db Remove auto-generation of db schema from models at startup 2014-08-15 17:21:17 -04:00
drivers Remove unnecessary _make_port function in BSN UTs 2014-09-22 03:06:03 +00:00
extensions Support for extensions in ML2 2014-08-31 05:43:01 -07:00
__init__.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
_test_mech_agent.py ML2 Type Driver refactor part 2 2014-08-31 13:30:54 -07:00
test_agent_scheduler.py Adds support for L3 routing/NAT as a service plugin 2013-09-11 12:12:10 +02:00
test_driver_context.py Fix to enable L2pop to serve DVR 2014-08-06 23:04:00 +00:00
test_extension_driver_api.py Support for extensions in ML2 2014-08-31 05:43:01 -07:00
test_helpers.py Remove auto-generation of db schema from models at startup 2014-08-15 17:21:17 -04:00
test_mech_hyperv.py Implement ML2 port binding 2013-09-03 18:05:20 -04:00
test_mech_linuxbridge.py Vxlan / L2population support to Linuxbridge Agent 2013-09-12 02:51:37 +02:00
test_mech_openvswitch.py Implement ML2 port binding 2013-09-03 18:05:20 -04:00
test_mechanism_ncs.py Remove individual cfg.CONF.resets from tests 2014-03-17 12:34:56 -04:00
test_mechanism_odl.py Merge "Add unit tests covering single operations to ODL" 2014-09-27 15:20:17 +00:00
test_ml2_plugin.py ML2: move L3 cleanup out of network transaction 2014-09-30 08:38:53 -07:00
test_port_binding.py ML2: Make get_device_details report mac address as well 2014-08-14 08:35:31 +09:00
test_rpcapi.py Add the unit tests for ml2.rpc module 2014-09-08 20:05:17 +02:00
test_security_group.py Make SecurityGroupsRpcCallback a separate callback class 2014-08-30 10:19:42 +08:00
test_type_flat.py Remove auto-generation of db schema from models at startup 2014-08-15 17:21:17 -04:00
test_type_gre.py Refactor test_type_gre/vxlan to reduce duplicate code 2014-08-26 12:15:19 +02:00
test_type_local.py Add partial specs support in ML2 for multiprovider extension 2014-07-21 20:02:14 +00:00
test_type_vlan.py Remove auto-generation of db schema from models at startup 2014-08-15 17:21:17 -04:00
test_type_vxlan.py Remove @author(s) from copyright statements 2014-09-15 21:40:09 +09:00