vmware-nsx/neutron/tests/unit
Akihiro MOTOKI 5932096f21 OpenFlow distributed router support in NEC plugin
Implements blueprint nec-distribute-router

Two types of neutron router will be supported: l3-agent and distributed.
A type can be specified through "provider" attribute of a router.
The naming of the attribute "provider" is intentional since I plan to
support the service provider framework for router in the future and
would like to make it easy to migrate.

distributed router in NEC OpenFLow controller now does not support NAT,
so l3-agent and distributed router coexists. To achieve it, l3-agent
scheudler logic is modified in NEC plugin to exclude distributed routers
from candidates of floating IP hosting routers.

To support the above feature, the following related changes are done:
- Adds a new driver to PFC driver which supports OpenFlow based router
  support in NEC OpenFlow products in PFlow v5.
- Update ofc_client to extract detail error message
  from OpenFlow controller

This commit also changes the following outside of NEC plugin:
- Makes L3 agent notifiers configurable.
  l3-agent router and OpenFlow distributed router can coexist.
  Notication to l3-agent should be done only when routers are
  hosted by l3-agent, so we need custom L3 agent notifiers
  to filter non l3-agent routers.
- Split test_agent_scheduler base class (in OVS plugin) into
  the base setup and testcases. By doing so we can implement
  custom testcases related to agent scheduler.

Change-Id: I538201742950a61b92fb05c49a9256bc96ae9014
2013-09-04 17:15:59 +09:00
..
bigswitch Refactor BigSwitch error handling to use db rollbacks 2013-08-27 05:39:10 -07:00
brocade Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
cisco Multi-segment and trunk support for the Cisco N1Kv Plugin 2013-08-26 18:43:49 -07:00
db Verify MTU is valid for ipsec_site_connection 2013-09-03 22:36:28 -04:00
extensions Fix H102, H103 Apache 2.0 license hacking check error 2013-08-08 12:46:18 +09:00
hyperv Adds metrics collection support in Hyper-V 2013-08-28 18:12:35 +03:00
linuxbridge Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
metaplugin Support for NVP distributed router 2013-08-29 09:56:08 -07:00
midonet Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
ml2 Implement ML2 port binding 2013-09-03 18:05:20 -04:00
mlnx Add recent neutron extentions and IB support 2013-08-22 15:01:21 +03:00
nec OpenFlow distributed router support in NEC plugin 2013-09-04 17:15:59 +09:00
nicira Refactoring for nicira plugin to support NVP DHCP/Metadata services 2013-09-03 15:04:32 -07:00
openvswitch OpenFlow distributed router support in NEC plugin 2013-09-04 17:15:59 +09:00
plumgrid Enable authentication between PLUMgrid Director and Plugin 2013-08-26 16:39:38 -07:00
ryu remove netifaces dependency of ryu-agent 2013-07-24 20:18:23 +09:00
services LBaaS integration with service type framework 2013-09-03 23:05:33 +04:00
__init__.py Remove last vestiges of nose 2013-08-11 11:15:28 -03:00
_test_extension_portbindings.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
_test_rootwrap_exec.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
database_stubs.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04: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 Deal with intermittent OverflowError in gate-neutron-python26 2013-07-25 17:53:12 -07: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 Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
test_api_api_common.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
test_api_v2_resource.py Use system locale when Accept-Language header is not provided 2013-08-20 19:16:22 +00:00
test_api_v2.py Fix unsuitable assertTrue/assertFalse in api ut 2013-08-30 05:38:54 +08:00
test_attributes.py Correct VPNaaS limit checks in extension 2013-08-29 20:35:08 -04:00
test_auth.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04: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 Forbid update of subnet gateway ip when in use by a port 2013-08-28 14:34:17 -07:00
test_db_rpc_base.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
test_debug_commands.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
test_dhcp_agent.py Improve dhcp agent structure to support multiple dhcp models 2013-08-23 13:41:31 -07:00
test_extension_ext_gw_mode.py Support for NVP distributed router 2013-08-29 09:56:08 -07:00
test_extension_extended_attribute.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
test_extension_extradhcpopts.py bp: pxeboot-port, provide pxeboot on ports 2013-08-31 10:40:56 -06:00
test_extension_extraroute.py OpenFlow distributed router support in NEC plugin 2013-09-04 17:15:59 +09:00
test_extension_firewall.py Fix H102, H103 Apache 2.0 license hacking check error 2013-08-08 12:46:18 +09:00
test_extension_pnet.py Rename Quantum to Neutron 2013-07-06 15:02:43 -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 500 error on invalid security-group-rule creation for NVP 2013-08-21 17:00:38 -07:00
test_extensions.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
test_iptables_firewall.py defer firewall updates to iptables data structures 2013-07-29 14:23:19 +00:00
test_iptables_manager.py Add wrap_name param to the iptables_manager class 2013-08-12 13:11:24 +02:00
test_l3_agent.py Fix incorrect usage of assertTrue() 2013-08-27 17:47:07 -04:00
test_l3_plugin.py OpenFlow distributed router support in NEC plugin 2013-09-04 17:15:59 +09:00
test_legacy.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
test_linux_daemon.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
test_linux_dhcp.py bp: pxeboot-port, provide pxeboot on ports 2013-08-31 10:40:56 -06:00
test_linux_external_process.py Rename Quantum to Neutron 2013-07-06 15:02:43 -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 Import Oslo's common rootwrap to Neutron 2013-07-08 18:25:44 +02: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 Allow for skipping admin roles loading on context creation 2013-08-28 14:06:43 +04:00
test_neutron_manager.py Add agent scheduling for LBaaS namespace agent 2013-07-19 13:25:04 +04:00
test_policy.py Enable policy control over external_gateway_info sub-attributes 2013-07-16 17:52:27 +02:00
test_provider_configuration.py Service Type Framework refactoring 2013-07-25 21:47:30 +04:00
test_quota_ext.py Correct spelling mistake 2013-08-28 21:37:21 +08:00
test_routerserviceinsertion.py Service Type Framework refactoring 2013-07-25 21:47:30 +04:00
test_security_groups_rpc.py Fix test fail in neutron.tests.unit.test_security_groups_rpc 2013-07-30 15:38:23 -07:00
test_servicetype.py Service Type Framework refactoring 2013-07-25 21:47:30 +04:00
test_wsgi.py Remove last of assertEquals 2013-07-30 18:31:00 -07:00
testlib_api.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00