neutron/neutron/tests/unit
Carl Baldwin 7336f3bd27 Optionally delete namespaces when they are no longer needed
Adds a configuration option to tell the network agents to delete
namespaces when they are no longer in use.  The option defaults to
False so that the agent will not attempt to delete namespaces in
environments where this is not safe.

This has been working well in deployments where iproute2 has been
patched with commit 58a3e8270fe72f8ed92687d3a3132c2a708582dd or it is
new enough to include it without being patched.

Change-Id: Ice5242c6f0446d16aaaa7ee353d674310297ef72
Closes-Bug: #1250596
Related-Bug: #1052535
2013-11-19 21:05:57 +00:00
..
agent Add the option to minimize ovs l2 polling 2013-10-14 22:24:15 +00: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 "Fix incorrect indentations found by Pep 1.4.6+" 2013-10-28 22:04:19 +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 Adds support for L3 routing/NAT as a service plugin 2013-09-11 12:12:10 +02:00
midonet Add port bindings to ports created in Midonet 2013-10-15 08:26:38 +00:00
ml2 Merge "Fix incorrect indentations found by Pep 1.4.6+" 2013-10-28 22:04:19 +00:00
mlnx Merge "Utilizes assertIsNone and assertIsNotNone" 2013-10-26 01:37:25 +00:00
nec Merge "Utilizes assertIsNone and assertIsNotNone" 2013-10-26 01:37:25 +00:00
nicira Removes unused nvp plugin config param 2013-11-13 18:22:53 -08:00
openvswitch Merge "Do not run "ovs-ofctl add-flow" with an invalid in_port" 2013-11-18 06:18:48 +00: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 Add support for managing async processes 2013-10-14 07:20:02 +00: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.py Enable Quota DB driver by default 2013-10-07 08:52:45 +09:00
test_api_v2_resource.py Utilizes assertIsNone and assertIsNotNone 2013-10-23 10:59:16 +08: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 Merge "Fix incorrect indentations found by Pep 1.4.6+" 2013-10-28 22:04:19 +00:00
test_db_rpc_base.py Avoid dhcp agent race condition on subnet and network delete 2013-10-26 17:36:05 +00: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 "Fix incorrect indentations found by Pep 1.4.6+" 2013-10-28 22:04:19 +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 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 Utilizes assertNotIn 2013-10-09 08:25:13 +08:00
test_l3_agent.py Optionally delete namespaces when they are no longer needed 2013-11-19 21:05:57 +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 Optionally delete namespaces when they are no longer needed 2013-11-19 21:05:57 +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 Merge "Fix incorrect indentations found by Pep 1.4.6+" 2013-10-28 22:04:19 +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 Merge "Fix incorrect indentations found by Pep 1.4.6+" 2013-10-28 22:04:19 +00: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