vmware-nsx/neutron/tests/unit
armando-migliaccio 44e4493313 nicira: fix db integrity error during port deletion
Due to the fact that plugin port operations are not
transactional (as they involve non synchronized DB
and Controller operations), concurrent (interleaved)
port requests may accidentally cause the insertion
of the mapping entry (neutron-port-id, nvp-port-id)
more than once. In case this occurs, it's safe to
expect the failure and continue the normal process
of the operation being requested.

Closes-bug: #1265081

Change-Id: Ifcf5b453fa08145df844c2de3cbb08bf2f4baa59
2013-12-31 09:30:37 -08:00
..
agent Ensure get_pid_to_kill works with rootwrap script 2013-11-20 09:57:23 -06:00
api Send DHCP notifications regardless of agent status 2013-12-19 07:08:19 +00:00
bigswitch BigSwitch: Fixes floating IP backend updates 2013-12-20 06:46:04 +00:00
brocade Neutron network delete fails with brocade plugin 2013-09-24 01:32:00 +00:00
cisco Merge "Improve unit test coverage for Cisco plugin common code" 2013-12-06 19:28:08 +00:00
db Merge "Fix a race condition in agents status update code" 2013-12-11 20:09:38 +00:00
embrane Adds support for L3 routing/NAT as a service plugin 2013-09-11 12:12:10 +02:00
extensions Fix H102, H103 Apache 2.0 license hacking check error 2013-08-08 12:46:18 +09:00
hyperv Fixes missing method in Hyper-V Utils (Metering) 2013-11-28 08:47:16 -08:00
linuxbridge Update common network type consts to same origin 2013-12-10 19:29:12 +00:00
metaplugin Replace mox in unit tests with mock 2013-11-18 22:17:14 +09:00
midonet Midonet plugin: Fix source NAT 2013-12-18 04:04:14 +00:00
ml2 Merge "Do not trigger agent notification if bindings do not change" 2013-12-19 23:18:16 +00:00
mlnx Change default eswitchd port to avoid conflict 2013-12-18 07:56:20 +02:00
nec Replace mox in unit tests with mock 2013-11-18 22:17:14 +09:00
nicira nicira: fix db integrity error during port deletion 2013-12-31 09:30:37 -08:00
openvswitch Revert "move rpc_setup to the last step of __init__" 2013-12-13 16:53:51 -05:00
plumgrid Enable authentication between PLUMgrid Director and Plugin 2013-08-26 16:39:38 -07:00
ryu Mocking ryu plugin notifier in ryu plugin test 2013-11-27 21:02:23 +09:00
services Merge "Remove start index 0 in range()" 2013-12-19 22:46:27 +00:00
__init__.py Remove last vestiges of nose 2013-08-11 11:15:28 -03:00
_test_extension_portbindings.py Utilizes assertIn 2013-10-09 10:02:51 +08:00
_test_rootwrap_exec.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
database_stubs.py Use built-in print() instead of print statement 2013-09-21 07:30:33 -07:00
dummy_plugin.py Service Type Framework refactoring 2013-07-25 21:47:30 +04:00
extension_stubs.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
test_agent_config.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
test_agent_ext_plugin.py LBaaS: unify haproxy-on-host plugin driver and agent 2013-12-10 12:08:03 +04:00
test_agent_linux_utils.py Ensure get_pid_to_kill works with rootwrap script 2013-11-20 09:57:23 -06:00
test_agent_netns_cleanup.py Improve dhcp agent structure to support multiple dhcp models 2013-08-23 13:41:31 -07:00
test_agent_ovs_cleanup.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
test_agent_rpc.py Add l2 population base classes 2013-09-12 01:06:51 +02:00
test_api_api_common.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
test_api_v2_resource.py Utilizes assertIsNone and assertIsNotNone 2013-10-23 10:59:16 +08:00
test_api_v2.py Enable Quota DB driver by default 2013-10-07 08:52:45 +09:00
test_attributes.py extra_dhcp_opt add checks for empty strings 2013-12-13 08:40:28 -07:00
test_auth.py Add request-id to log messages 2013-11-21 17:01:33 +09:00
test_common_log.py Make neutron.common.log.log print module path 2013-09-07 02:10:57 +09:00
test_common_utils.py Fix str2dict and dict2str's incorrect behavior 2013-12-06 08:32:28 +08:00
test_config.py Utilizes assertIsNone and assertIsNotNone 2013-10-23 10:59:16 +08:00
test_db_migration.py Add support for service plugins to the migration framework 2013-08-09 14:08:27 +04:00
test_db_plugin.py Remove start index 0 in range() 2013-12-10 22:03:42 +08:00
test_db_rpc_base.py Handle failures on update_dhcp_port 2013-12-04 03:39:22 -08:00
test_debug_commands.py Fix incorrect indentations found by Pep 1.4.6+ 2013-10-19 10:50:16 +02:00
test_dhcp_agent.py Merge "Handle failures on update_dhcp_port" 2013-12-06 13:26:09 +00:00
test_extension_allowedaddresspairs.py Updating address pairs with xml doesn't work 2013-10-15 14:03:10 +08:00
test_extension_ext_gw_mode.py Replace stubout with fixtures 2013-11-24 10:46:08 -05:00
test_extension_ext_net.py Adds support for L3 routing/NAT as a service plugin 2013-09-11 12:12:10 +02:00
test_extension_extended_attribute.py Enable Quota DB driver by default 2013-10-07 08:52:45 +09: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 ExtraRoute: fix _get_extra_routes_by_router_id() 2013-11-08 10:16:19 +04:00
test_extension_firewall.py Support uncompressed ipv6 address and abbreviated ipv4 address 2013-10-23 09:28:52 +08:00
test_extension_pnet.py Enable Quota DB driver by default 2013-10-07 08:52:45 +09:00
test_extension_portsecurity.py Fix incorrect indentations found by Pep 1.4.6+ 2013-10-19 10:50:16 +02:00
test_extension_security_group.py Merge "Fix unable to add allow all IPv4/6 security group rule" 2013-12-06 19:14:07 +00:00
test_extensions.py Added check on plugin.supported_extension_aliases 2013-11-19 12:51:21 -06:00
test_iptables_firewall.py Merge "Pass in certain ICMPv6 types by default" 2013-12-02 07:45:58 +00:00
test_iptables_manager.py Replace mox in unit tests with mock 2013-11-18 22:17:14 +09:00
test_l3_agent.py Remove start index 0 in range() 2013-12-10 22:03:42 +08:00
test_l3_plugin.py Utilizes assertIsNone and assertIsNotNone 2013-10-23 10:59:16 +08:00
test_l3_schedulers.py Add LeastRouters Scheduler to Neutron L3 Agent 2013-12-09 13:25:59 +01:00
test_legacy.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
test_linux_daemon.py Merge "Change daemon Pidfile class to not use root_helper" 2013-09-19 21:21:12 +00:00
test_linux_dhcp.py Merge "Optionally delete namespaces when they are no longer needed" 2013-11-28 13:56:45 +00:00
test_linux_external_process.py Change daemon Pidfile class to not use root_helper 2013-09-10 13:04:14 -04:00
test_linux_interface.py Merge "Preserve floating ips when initializing l3 gateway interface" 2013-12-07 23:05:30 +00:00
test_linux_ip_lib.py Linux device name can have '@' or ':' characters 2013-11-12 10:27:31 +00:00
test_metadata_agent.py Add X-Tenant-ID to metadata request 2013-12-11 14:45:50 +00:00
test_metadata_namespace_proxy.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
test_neutron_context.py Stop logging unnecessary warning on context create 2013-11-28 09:17:18 +00:00
test_neutron_manager.py Add agent scheduling for LBaaS namespace agent 2013-07-19 13:25:04 +04:00
test_policy.py Allow sharing of firewall rules and policies in policy.json 2013-09-13 07:26:22 -07:00
test_post_mortem_debug.py Add post-mortem debug option for tests 2013-12-10 03:56:50 +00:00
test_provider_configuration.py Fix usage of _fields method in provider_configuration.py 2013-09-23 08:07:16 +04:00
test_quota_ext.py Fallback to Quota Conf Driver if Quotas table is not defined 2013-10-09 22:28:03 +09:00
test_routerserviceinsertion.py Utilizes assertIsNone and assertIsNotNone 2013-10-23 10:59:16 +08:00
test_security_groups_rpc.py Merge "Pass in certain ICMPv6 types by default" 2013-12-02 07:45:58 +00:00
test_servicetype.py Utilizes assertIn 2013-10-09 10:02:51 +08:00
test_wsgi.py Fix misspells 2013-12-03 15:03:47 -08:00
testlib_api.py add portbinding host into vip port 2013-09-25 14:41:31 +08:00