neutron/neutron/tests/unit/db
Sylvain Afchain ab8f2771a1 Moves the HA resource creations outside of transaction
Currently the HA resources are created in the
_create_router_db which includes calls to
the plugin and generates RPC calls. Even if the
resource creations are outside of any transaction
from the _create_router_db point of view, this
method is  called in a transaction from the
create_router method.
This patch moves the resource creations to the
create_router method outside the transaction.
The failures are handled as previously with
a try/expect.

Conflicts:
	neutron/tests/unit/db/test_l3_ha_db.py

Change-Id: If8fcfd012f8e992175e49bbefb2ae667881a620a
Closes-bug: #1374461
(cherry picked from commit ccd6507327)
2014-12-25 10:37:43 +02:00
..
firewall Stop admin using other tenants unshared rules 2014-09-22 22:14:51 -07:00
loadbalancer Remove auto-generation of db schema from models at startup 2014-08-15 17:21:17 -04:00
metering Remove @author(s) from copyright statements 2014-09-15 21:40:09 +09:00
vpn Remove @author(s) from copyright statements 2014-09-15 21:40:09 +09:00
__init__.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
test_agent_db.py Minor refactoring of auto_schedule_routers 2014-08-22 08:16:38 -07:00
test_dvr_mac_db.py Remove auto-generation of db schema from models at startup 2014-08-15 17:21:17 -04:00
test_l3_dvr_db.py Merge "Do not lookup l3-agent for floating IP if host=None, dvr issue" 2014-09-24 16:28:41 +00:00
test_l3_ha_db.py Moves the HA resource creations outside of transaction 2014-12-25 10:37:43 +02:00
test_quota_db.py Remove @author(s) from copyright statements 2014-09-15 21:40:09 +09:00