neutron/neutron/tests/unit
Maru Newby 2e9f5a7a31 Add support for managing async processes
Interacting with a long-running asynchronous process requires the
use of non-blocking io.  This change adds a helper class that can
launch a long-running process and read stdout and stderr in a
non-blocking fashion via eventlet.

This functionality is intended to support monitoring ovsdb via
a long-running and root-privileged invocation of ovsdb-client.

The complexity of the system interaction in this patch suggested
the addition of a functional test that validated actual behaviour.
The test was added under the neutron/tests/functional path which
is now included in the testr search path.

Partial-Bug: #1177973

Change-Id: I9969e556acecf7a9e77d873371cc2ec2647be011
(cherry picked from commit acf0209b28)
2014-01-09 15:35:21 -06:00
..
agent Add support for managing async processes 2014-01-09 15:35:21 -06:00
bigswitch BigSwitch plugin: allow 'external' keyword in router rules 2013-09-17 13:44:45 -07:00
brocade Neutron network delete fails with brocade plugin 2013-09-24 01:32:00 +00:00
cisco Add clear_db to cleanup for TestCiscoNexusPlugin 2013-10-09 10:23:25 -04:00
db Fix access to lifetime dict in update_ipsecpolicy method 2013-10-22 17:16:48 -07: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 port status hanging to build status 2013-10-11 10:10:20 +02:00
linuxbridge Fix TypeError: <MagicMock name='LinuxBridgeManager().local_ip' 2013-11-25 06:12:34 -08:00
metaplugin Adds support for L3 routing/NAT as a service plugin 2013-09-11 12:12:10 +02:00
midonet Disassociate floating IPs from port on terminate 2013-10-10 01:37:17 +00:00
ml2 Merge "Fix to not send fdb updates when no port changes" into stable/havana 2013-11-01 05:51:03 +00:00
mlnx Change default eswitchd port to avoid conflict 2013-12-24 11:42:26 +02:00
nec NEC plugin: Fix nec-agent unexpected exit due to RPC exception 2013-10-08 21:01:55 +00:00
nicira NVP: propagate net-gw update to backend 2013-12-17 00:38:27 -08:00
openvswitch Fix OVS agent reclaims local VLAN 2013-11-22 10:19:30 +00: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-12-06 00:55:53 +09:00
services Use L3 api from vpn ipsec driver via service plugin 2013-10-11 22:39:18 -04:00
__init__.py Remove last vestiges of nose 2013-08-11 11:15:28 -03:00
_test_extension_portbindings.py Allow None for binding:profile attribute 2013-09-05 01:16:52 +09: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 2014-01-09 15:35:21 -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.py Enable Quota DB driver by default 2013-10-08 11:00:56 -04:00
test_api_v2_resource.py Send proper exception info as expected by the neutron client 2013-09-19 17:32:30 +04:00
test_attributes.py Support uncompressed ipv6 address and abbreviated ipv4 address 2013-11-27 22:09:00 +08:00
test_auth.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04: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 Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
test_config.py Remove DHCP lease logic 2013-08-12 16:55:48 -07: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 Fix IP recycling on exhausted pool 2013-10-16 10:40:03 -04:00
test_db_rpc_base.py Catch PortNotFound exception during get_dhcp_port 2013-12-19 05:03:43 -08:00
test_debug_commands.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
test_dhcp_agent.py Reduce the severity of dhcp related log traces 2013-12-18 12:06:41 -08:00
test_extension_allowedaddresspairs.py Use built-in print() instead of print statement 2013-09-21 07:30:33 -07:00
test_extension_ext_gw_mode.py Adds support for L3 routing/NAT as a service plugin 2013-09-11 12:12:10 +02: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-08 11:00:56 -04:00
test_extension_extradhcpopts.py bp: pxeboot-port, provide pxeboot on ports 2013-09-11 14:51:55 -06:00
test_extension_extraroute.py Adds support for L3 routing/NAT as a service plugin 2013-09-11 12:12:10 +02:00
test_extension_firewall.py Support uncompressed ipv6 address and abbreviated ipv4 address 2013-11-27 22:09:00 +08:00
test_extension_pnet.py Enable Quota DB driver by default 2013-10-08 11:00:56 -04:00
test_extension_portsecurity.py Avoid performing extra query for fetching port security binding 2013-07-31 02:10:35 -07:00
test_extension_security_group.py Fix unable to add allow all IPv4/6 security group rule 2013-12-13 18:45:25 +00:00
test_extensions.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
test_iptables_firewall.py Implement Allowed Address Pairs 2013-09-05 03:53:59 -07:00
test_iptables_manager.py Replace assertEquals with assertEqual 2013-09-06 16:19:07 +08:00
test_l3_agent.py Refactor configuring of floating ips on a router 2013-10-25 16:49:53 +00:00
test_l3_plugin.py Enable Quota DB driver by default 2013-10-08 11:00:56 -04: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 "Change daemon Pidfile class to not use root_helper" 2013-09-19 21:21:12 +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 Improve dhcp agent structure to support multiple dhcp models 2013-08-23 13:41:31 -07:00
test_linux_ip_lib.py Linux device name can have '@' or ':' characters 2013-11-22 09:33:03 +01:00
test_metadata_agent.py Add X-Tenant-ID to metadata request 2013-12-11 14:47:16 +00:00
test_metadata_namespace_proxy.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
test_neutron_context.py Flip to pythonic method names for context unit tests 2013-09-21 18:37:31 -07: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-11 19:59:59 -04:00
test_routerserviceinsertion.py Support for NVP advanced FwaaS service 2013-09-17 10:18:22 -07:00
test_security_groups_rpc.py Change hard coded numbers to constants in security group tests 2013-09-23 10:21:24 -04:00
test_servicetype.py Service Type Framework refactoring 2013-07-25 21:47:30 +04:00
test_wsgi.py Creates multiple worker processes for API server 2013-12-04 21:35:39 +00:00
testlib_api.py add portbinding host into vip port 2013-09-25 14:41:31 +08:00