neutron/neutron/tests/unit
Paul Michali d264666bba L3 Agent restructure - observer hierarchy
This commit creates the basic observer hierarchy for advanced
services, as part of a multi-step refactoring effort of the L3 agent.

The change set has these modifications:

- Device drivers for VPN and FW services are loaded.
- AdvancedService child instances are created for VPN and FW.
- L3EventObservers is created by the L3 agent and the VPN and FW
  service objects are registered for notifications of events.
- VPN device driver event handlers moved to VPN service instance.
- VPN device driver callbacks to VPN agent, moved to VPN service.
  to service from the VPN device driver.
- Test cases updated and moved related to these changes.
- UT updated to test new methods and refactoring changes.

Future commits will massage the event notification points in the
L3 agent, and implement handlers.

Please keep these things in mind, when reviewing:
- The goal is to refactor the code and not 'improve/change'
  functionality (other than broken tests).
- This is one step of a series of steps to move to the 'final'
  restructuring.
- Because we're incrementally changing the code, there may be
  temporary changes to allow existing code to continue to work.

Co-Authored-By: Assaf Muller

Change-Id: I674c72e37b56aa1f729110310e6f697297c47c09
Partially-implements: blueprint restructure-l3-agent
2014-12-12 17:55:35 -05:00
..
agent L3 Agent restructure - observer hierarchy 2014-12-12 17:55:35 -05:00
api Migrate to oslo.utils 2014-11-26 10:31:03 +01:00
bigswitch Get rid of py26 references: OrderedDict, httplib, xml testing 2014-12-04 12:34:05 +02:00
brocade Migrate to oslo.utils 2014-11-26 10:31:03 +01:00
cisco Merge "CSCO:Tenants not to access unshared n/w profiles" 2014-11-28 23:11:04 +00:00
db Split services code out of Neutron, pass 1 2014-12-08 16:38:56 -07:00
embrane Merge "Remove some duplicate unit tests" 2014-11-05 14:10:31 +00:00
extensions switch to oslo.serialization 2014-11-14 09:28:12 +00:00
hyperv Drop RpcProxy usage from hyperv plugin 2014-11-24 21:01:42 +00:00
ibm Remove @author(s) from copyright statements 2014-09-15 21:40:09 +09:00
linuxbridge Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
metaplugin Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
midonet Merge "Empty files should not contain copyright or license" 2014-10-20 23:13:52 +00:00
ml2 return the dict of port when no sec-group involved 2014-12-05 06:16:34 +00:00
mlnx Drop RpcProxy usage from mlnx plugin 2014-11-24 21:01:42 +00:00
nec Drop RpcProxy usage from neutron.agent.rpc.PluginApi 2014-11-19 17:18:34 +00:00
notifiers fix event_send for re-assign floating ip 2014-11-10 18:20:10 -08:00
nuage enable F811 check for flake8 2014-11-14 12:33:00 -05:00
ofagent Migrate to oslo.utils 2014-11-26 10:31:03 +01:00
oneconvergence switch to oslo.serialization 2014-11-14 09:28:12 +00:00
opencontrail switch to oslo.serialization 2014-11-14 09:28:12 +00:00
openvswitch Drop RpcProxy usage from DhcpAgentNotifyAPI 2014-12-02 21:33:50 +00:00
plumgrid Migrate to oslo.utils 2014-11-26 10:31:03 +01:00
services L3 Agent restructure - observer hierarchy 2014-12-12 17:55:35 -05:00
sriovnicagent Adds macvtap support 2014-10-21 11:57:44 +03:00
vmware Split services code out of Neutron, pass 1 2014-12-08 16:38:56 -07:00
__init__.py Fix state_path in tests 2014-08-29 17:42:07 +03:00
_test_extension_portbindings.py Set vif_details to reflect enable_security_group 2014-09-21 17:41:38 +09:00
_test_rootwrap_exec.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
database_stubs.py Remove @author(s) from copyright statements 2014-09-15 21:40:09 +09:00
dummy_plugin.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
extension_stubs.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
test_agent_config.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
test_agent_ext_plugin.py Migrate to oslo.utils 2014-11-26 10:31:03 +01:00
test_agent_linux_utils.py Make log level in linux.utils.execute configurable 2014-08-26 13:19:34 +04:00
test_agent_netns_cleanup.py Migrate to oslo.utils 2014-11-26 10:31:03 +01:00
test_agent_ovs_cleanup.py Call config_parse in base test setup 2014-07-27 13:31:12 -07:00
test_agent_rpc.py Drop RpcProxy usage from neutron.agent.rpc.PluginApi 2014-11-19 17:18:34 +00:00
test_api_api_common.py Remove @author(s) from copyright statements 2014-09-15 21:40:09 +09:00
test_api_v2.py Updated policy module from oslo-incubator 2014-11-13 13:55:19 +03:00
test_api_v2_extension.py Remove @author(s) from copyright statements 2014-09-15 21:40:09 +09:00
test_api_v2_resource.py Migrate to oslo.i18n 2014-11-26 22:19:24 +01:00
test_attributes.py Fix hostname validation for nameservers 2014-11-28 11:37:09 -08:00
test_auth.py Migrate to oslo.middleware 2014-11-26 22:12:21 +01:00
test_basetestcase.py Prevent SystemExits when running tests 2014-09-01 15:05:16 -07:00
test_common_log.py Use method's logger in log decorator 2014-07-15 11:08:33 +02:00
test_common_utils.py Validate network config (vlan) 2014-10-22 10:29:33 -07:00
test_config.py Fix state_path in tests 2014-08-29 17:42:07 +03:00
test_db_migration.py Remove @author(s) from copyright statements 2014-09-15 21:40:09 +09:00
test_db_plugin.py Migrate to oslo.utils 2014-11-26 10:31:03 +01:00
test_db_plugin_level.py Refactor plugin setup helpers out of test.base 2014-08-25 14:44:27 +02:00
test_debug_commands.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
test_dhcp_agent.py test_dhcp_agent: Fix no-op tests 2014-12-02 12:13:08 +09:00
test_dhcp_rpc.py Fix KeyError in dhcp_rpc when plugin.port_update raise exception 2014-10-15 13:14:40 +05:30
test_dhcp_scheduler.py Migrate to oslo.utils 2014-11-26 10:31:03 +01:00
test_extension_allowedaddresspairs.py Remove XML support 2014-10-24 15:18:49 +00:00
test_extension_ext_gw_mode.py Allow reading a tenant router's external IP 2014-10-01 06:55:27 -07:00
test_extension_ext_net.py Remove XML support 2014-10-24 15:18:49 +00:00
test_extension_extended_attribute.py remove openvswitch plugin 2014-10-01 21:16:27 -07:00
test_extension_extradhcpopts.py Remove @author(s) from copyright statements 2014-09-15 21:40:09 +09:00
test_extension_extraroute.py Remove XML support 2014-10-24 15:18:49 +00:00
test_extension_firewall.py Remove XML support 2014-10-24 15:18:49 +00:00
test_extension_pnet.py Remove @author(s) from copyright statements 2014-09-15 21:40:09 +09:00
test_extension_portsecurity.py UTs: Disable auto deletion of ports/subnets/nets 2014-09-09 07:09:02 -07:00
test_extension_security_group.py Change description of default security group 2014-11-27 07:27:51 +00:00
test_extensions.py switch to oslo.serialization 2014-11-14 09:28:12 +00:00
test_hacking.py Merge "test_dhcp_agent: Fix no-op tests" 2014-12-03 09:38:13 +00:00
test_iptables_firewall.py Merge "Fix L2 agent does not remove unused ipset set" 2014-11-18 00:35:35 +00:00
test_iptables_manager.py iptables_manager: Fix get_binary_name for eventlet 2014-12-02 12:40:03 +09:00
test_ipv6.py Reset IPv6 detection flag after IPv6 tests 2014-09-04 22:02:28 -07:00
test_l3_agent.py Move classes out of l3_agent.py 2014-12-10 15:19:28 -07:00
test_l3_dvr.py Move classes out of l3_agent.py 2014-12-10 15:19:28 -07:00
test_l3_plugin.py Migrate to oslo.utils 2014-11-26 10:31:03 +01:00
test_l3_schedulers.py Migrate to oslo.utils 2014-11-26 10:31:03 +01:00
test_linux_daemon.py Remove @author(s) from copyright statements 2014-09-15 21:40:09 +09:00
test_linux_dhcp.py Fix enable_metadata_network flag 2014-12-03 22:08:03 -08:00
test_linux_external_process.py Fix pid file location to avoid I->J changes that break metadata 2014-10-01 16:31:27 -07:00
test_linux_interface.py Remove ovs-vsctl call from OVSInterfaceDriver 2014-12-03 15:48:55 +00:00
test_linux_ip_lib.py Make sudo check in ip_lib.IpNetnsCommand.execute optional 2014-12-07 17:25:40 +02:00
test_metadata_agent.py Migrate to oslo.utils 2014-11-26 10:31:03 +01:00
test_metadata_namespace_proxy.py Fix 500 error on retrieving metadata by invalid URI 2014-09-18 12:03:08 -07:00
test_neutron_context.py add auth token to context 2014-08-12 11:17:21 +09:00
test_neutron_manager.py Refactor plugin setup helpers out of test.base 2014-08-25 14:44:27 +02:00
test_policy.py Migrate to oslo.utils 2014-11-26 10:31:03 +01:00
test_post_mortem_debug.py Cleanup recent generalization in post mortem debugger 2014-12-04 15:28:11 +01:00
test_provider_configuration.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
test_quota_ext.py Remove XML support 2014-10-24 15:18:49 +00:00
test_router_processing_queue.py Move classes out of l3_agent.py 2014-12-10 15:19:28 -07:00
test_routerserviceinsertion.py.skip Split services code out of Neutron, pass 1 2014-12-08 16:38:56 -07:00
test_security_groups_rpc.py Get rid of py26 references: OrderedDict, httplib, xml testing 2014-12-04 12:34:05 +02:00
test_servicetype.py Remove XML support 2014-10-24 15:18:49 +00:00
test_wsgi.py Remove XML support 2014-10-24 15:18:49 +00:00
testlib_api.py Remove XML support 2014-10-24 15:18:49 +00:00
testlib_plugin.py Use oslo function for parsing bool from env var 2014-12-02 14:40:07 +00:00