vmware-nsx/neutron/tests/unit
Oleg Bondarev 6c86eee680 ML2 plugin should not delete ports on subnet deletion
On subnet deletion ports are deleted asynchronously by dhcp agent
so plugin doesn't need to delete them itself.
Instead Ml2Plugin.delete_subnet() method should call update_port()
for each allocation to remove the IP from the port and call the MechanismDrivers.
The patch also adds subnets test suite from test_db_plugin to test_ml2_plugin.

Closes-Bug: #1246737
Change-Id: I7cf0461e9a3cfec4921e2de41fb1ab3fc119fddc
2013-11-22 10:41:03 +04:00
..
agent Ensure get_pid_to_kill works with rootwrap script 2013-11-20 09:57:23 -06:00
bigswitch DHCP agent scheduler support for BigSwitch plugin 2013-11-04 19:11:08 -08:00
brocade Neutron network delete fails with brocade plugin 2013-09-24 01:32:00 +00:00
cisco Round-robin SVI switch selection fails on Cisco Nexus plugin 2013-11-14 12:19:54 -05:00
db Merge "LBaaS: when returning VIP include session_persistence even if None" 2013-11-21 11:25:40 +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 Merge "Fixes port status hanging to build status" 2013-10-10 22:13:30 +00:00
linuxbridge Merge "Ensure OVS plugin is loaded in OVS plugin test" 2013-10-26 21:44:12 +00:00
metaplugin Replace mox in unit tests with mock 2013-11-18 22:17:14 +09:00
midonet Use correct device_manager member in dhcp driver 2013-10-30 05:01:52 +00:00
ml2 ML2 plugin should not delete ports on subnet deletion 2013-11-22 10:41:03 +04:00
mlnx Merge "Utilizes assertIsNone and assertIsNotNone" 2013-10-26 01:37:25 +00:00
nec Replace mox in unit tests with mock 2013-11-18 22:17:14 +09:00
nicira Removes unused nvp plugin config param 2013-11-13 18:22:53 -08:00
openvswitch Enable polling minimization 2013-11-20 15:31:49 -06:00
plumgrid Enable authentication between PLUMgrid Director and Plugin 2013-08-26 16:39:38 -07:00
ryu Merge "Utilizes assertIsNone and assertIsNotNone" 2013-10-26 01:37:25 +00:00
services Removing workflows from the Radware driver code 2013-10-24 15:14:47 +02: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 Add agent scheduling for LBaaS namespace agent 2013-07-19 13:25:04 +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 Merge "Support uncompressed ipv6 address and abbreviated ipv4 address" 2013-11-08 09:56:46 +00:00
test_auth.py Remove deprecated fields in keystone auth middleware 2013-10-26 15:22:45 +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 Utilizes assertIsNone and assertIsNotNone 2013-10-23 10:59:16 +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 ML2 plugin should not delete ports on subnet deletion 2013-11-22 10:41:03 +04:00
test_db_rpc_base.py Catch PortNotFound exception during get_dhcp_port 2013-11-18 14:58:28 -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 Reduce the severity of dhcp related log traces 2013-11-18 11:34:21 -08: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 Utilizes assertIsNone and assertIsNotNone 2013-10-23 10:59:16 +08: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 bp: pxeboot-port, provide pxeboot on ports 2013-09-11 14:51:55 -06: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 incorrect indentations found by Pep 1.4.6+" 2013-10-28 22:04:19 +00:00
test_extensions.py Utilizes assertIn 2013-10-09 10:02:51 +08:00
test_iptables_firewall.py Fix incorrect indentations found by Pep 1.4.6+ 2013-10-19 10:50:16 +02:00
test_iptables_manager.py Replace mox in unit tests with mock 2013-11-18 22:17:14 +09:00
test_l3_agent.py Refactor configuring of floating ips on a router 2013-11-06 08:24:30 +00:00
test_l3_plugin.py Utilizes assertIsNone and assertIsNotNone 2013-10-23 10:59:16 +08: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 "Correct handling mock.patch.stop method" 2013-11-22 02:21:44 +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 Utilize assertIsInstance 2013-10-03 23:02:23 +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 Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
test_metadata_namespace_proxy.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
test_neutron_context.py Utilizes assertNotIn 2013-10-09 08:25:13 +08: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_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 Replace mox in unit tests with mock 2013-11-18 22:17:14 +09:00
test_servicetype.py Utilizes assertIn 2013-10-09 10:02:51 +08:00
test_wsgi.py Creates multiple worker processes for API server 2013-09-19 18:52:13 +00:00
testlib_api.py add portbinding host into vip port 2013-09-25 14:41:31 +08:00