neutron/neutron/tests/unit
Cedric Brandily bc4965080c Remove SELECT FOR UPDATE use in ML2 tunnel driver add_endpoint
SELECT FOR UPDATE expression, which is triggered with the use of the
SQLAlchemy Query object's with_lockmode('update') method, is
detrimental to performance and scalability of the database
performance code in Neutron due to the lock contention it produces.

SELECT FOR UPDATE can be entirely avoided in add_endpoint methods
with the use of single-shot SELECT and INSERT expressions and the
correction of VxlanEndpoint primary key: indeed previously it was not
possible to create multiple endpoints with the same ip, now the model
primary key constraint ensures it.

Change-Id: Id69fbc15c8f51b4b275cd742312e6ff6802d8c0f
Partial-Bug: #1330562
2014-08-13 16:50:13 +02:00
..
agent DeferredBridge to allow add_tunnel_port passthru 2014-08-07 08:53:43 -07:00
api Do not schedule network when creating reserved DHCP port 2014-07-30 07:42:20 +09:00
bigswitch Big Switch: Only update hash header on success 2014-08-04 20:16:54 +00:00
brocade Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
cisco Merge "Raise exception for network delete with subnets presents" 2014-08-13 01:36:44 +00:00
db Merge "Proper validation for inserting firewall rule" 2014-08-09 01:07:37 +00:00
embrane Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
extensions Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
hyperv Remove redundant topic from rpc calls 2014-08-05 10:14:20 +00:00
ibm Merge "Fixes bugs for requests sent to SDN-VE controller" 2014-05-27 00:07:11 +00:00
linuxbridge Remove redundant topic from rpc calls 2014-08-05 10:14:20 +00:00
metaplugin Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
midonet Implement Midonet Juno Network Api calls 2014-07-31 15:51:10 +09:00
ml2 Remove SELECT FOR UPDATE use in ML2 tunnel driver add_endpoint 2014-08-13 16:50:13 +02:00
mlnx MLNX Agent: ensure removed ports get treated on resyncs 2014-08-11 17:59:52 +00:00
nec Return 403 instead of 404 on attr policy failures 2014-08-06 07:40:39 -07:00
notifiers Replace loopingcall in notifier with a delayed send 2014-04-22 16:22:02 +00:00
nuage Merge "Make sure that gateway is in CIDR range by default" 2014-08-05 07:54:22 +00:00
ofagent ofagent: Remove network_delete method 2014-08-08 15:38:41 +00:00
oneconvergence Merge "Make sure that gateway is in CIDR range by default" 2014-08-05 07:54:22 +00:00
openvswitch Merge "OVS flows apply concurrently using a deferred OVSBridge" 2014-08-05 23:56:43 +00:00
plumgrid Security groups extension for PLUMgrid plugin 2014-07-13 23:48:27 -07:00
ryu Remove redundant topic from rpc calls 2014-08-05 10:14:20 +00:00
services Merge "Return 403 instead of 404 on attr policy failures" 2014-08-07 22:01:41 +00:00
sriovnicagent Do not assume order of pci slot list 2014-08-07 16:41:57 +00:00
vmware Merge "NSX: unify the two distributed routing extensions" 2014-08-13 12:40:54 +00:00
__init__.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
_test_extension_portbindings.py Return 403 instead of 404 on attr policy failures 2014-08-06 07:40:39 -07:00
_test_rootwrap_exec.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
database_stubs.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
dummy_plugin.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
extension_stubs.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
test_agent_config.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
test_agent_ext_plugin.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
test_agent_linux_utils.py Make linux.utils.execute log error on return codes 2014-05-28 18:49:53 -07:00
test_agent_netns_cleanup.py Call config_parse in base test setup 2014-07-27 13:31:12 -07:00
test_agent_ovs_cleanup.py Call config_parse in base test setup 2014-07-27 13:31:12 -07:00
test_agent_rpc.py Remove redundant topic from rpc calls 2014-08-05 10:14:20 +00:00
test_api_api_common.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
test_api_v2.py Removes extra indents from TestSubresourcePlugin 2014-08-11 11:01:27 +01:00
test_api_v2_extension.py tests/unit: refactor reading neutron.conf.test 2014-05-01 11:20:18 +09:00
test_api_v2_resource.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
test_attributes.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
test_auth.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
test_common_log.py Use method's logger in log decorator 2014-07-15 11:08:33 +02:00
test_common_utils.py Common decorator for caching methods 2014-05-22 13:17:51 +02:00
test_config.py Call config_parse in base test setup 2014-07-27 13:31:12 -07:00
test_db_migration.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
test_db_plugin.py Merge "Return 403 instead of 404 on attr policy failures" 2014-08-07 22:01:41 +00:00
test_db_plugin_level.py Allow unsharing a network used as gateway/floatingip 2014-07-13 20:09:50 +03:00
test_db_rpc_base.py Switch to using of oslo.db 2014-06-30 14:07:59 +03:00
test_debug_commands.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
test_dhcp_agent.py Call config_parse in base test setup 2014-07-27 13:31:12 -07:00
test_dhcp_scheduler.py Fix auto_schedule_networks to resist DBDuplicateEntry 2014-06-20 13:20:20 +04:00
test_extension_allowedaddresspairs.py no quota for allowed address pair 2014-07-17 23:06:10 +08:00
test_extension_ext_gw_mode.py Add L3 Scheduler Changes for Distributed Routers 2014-07-29 23:10:17 -07:00
test_extension_ext_net.py Return 403 instead of 404 on attr policy failures 2014-08-06 07:40:39 -07:00
test_extension_extended_attribute.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
test_extension_extradhcpopts.py extra_dhcp_opt add checks for empty strings 2013-12-13 08:40:28 -07:00
test_extension_extraroute.py Change all occurences of no_delete to do_delete 2014-07-13 14:09:26 +03:00
test_extension_firewall.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
test_extension_pnet.py Fix to throw correct error code for bad attribute 2014-08-08 10:30:23 +05:30
test_extension_portsecurity.py Return 403 instead of 404 on attr policy failures 2014-08-06 07:40:39 -07:00
test_extension_security_group.py Change all occurences of no_delete to do_delete 2014-07-13 14:09:26 +03:00
test_extensions.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
test_hacking.py Add missing translation support 2014-05-19 12:16:56 +02:00
test_iptables_firewall.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
test_iptables_manager.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
test_ipv6.py Calculate stateless IPv6 address 2014-03-17 15:48:46 -04:00
test_l3_agent.py Fixes an issue with FIP re-association 2014-08-11 19:12:14 -07:00
test_l3_plugin.py Merge "test_l3_plugin: L3AgentDbInteTestCase L3AgentDbSepTestCase fails" 2014-08-08 06:30:00 +00:00
test_l3_schedulers.py Fix 500 error during router-update for dvr routers 2014-08-05 08:56:37 -07:00
test_linux_daemon.py Make pid file locking non-blocking 2014-05-21 13:29:01 -07:00
test_linux_dhcp.py Do not assume order of network_uuid's 2014-08-04 21:13:50 +00:00
test_linux_external_process.py Support Router Advertisement Daemon (radvd) for IPv6 2014-07-20 22:32:19 -04:00
test_linux_interface.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
test_linux_ip_lib.py Fixes an issue with FIP re-association 2014-08-11 19:12:14 -07:00
test_metadata_agent.py Avoid RequestURITooLong exception in metadata agent 2014-07-24 15:27:54 +04:00
test_metadata_namespace_proxy.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
test_neutron_context.py Remove mock.patch.stop from tests that inherit from BaseTestCase 2014-04-10 11:40:56 +00:00
test_neutron_manager.py Fix isinstance assertions 2014-07-02 12:25:00 +02:00
test_policy.py Consistently use jsonutils instead of specific implementation 2014-06-16 09:18:52 +02:00
test_post_mortem_debug.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
test_provider_configuration.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
test_quota_ext.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
test_routerserviceinsertion.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
test_security_groups_rpc.py Remove redundant topic from rpc calls 2014-08-05 10:14:20 +00:00
test_servicetype.py Move from Python logging to Openstack logging 2014-08-02 04:04:33 -07:00
test_wsgi.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
testlib_api.py add portbinding host into vip port 2013-09-25 14:41:31 +08:00