neutron/neutron/tests/unit
Brian Haley bc2a4a4032 Correctly call is_distributed_router()
A recent change to _notify_l3_agent_port_update() was
making a call to is_distributed_router() via the l3plugin,
but since that method lives in l3_dvr_db.py it was
failing.  This was not caught by the unit test since it
was mocking the return value.

Had to modify things to get the router first since the
object is required for the check.

Change-Id: I2289f882b692b375d1b40d7a50d206d72da66155
Closes-bug: #1785848
2018-08-08 10:52:51 -04:00
..
agent Move MAX_CHAIN_LEN constants to constants file 2018-08-03 09:32:39 +02:00
api Implement filter validation 2018-07-19 04:13:43 +00:00
cmd Fix exception in neutron-sanity-check 2018-06-13 18:21:14 +00:00
common use get_port_binding_by_status_and_host from lib 2018-07-30 07:10:23 -06:00
conf/agent Agent common config 2017-03-15 09:52:18 -06:00
core_extensions Refactor duplicated implementation of _get_policy_obj 2018-06-20 09:51:02 +08:00
db Merge "use sqla functions from neutron-lib" 2018-07-26 07:52:42 +00:00
debug Change ip_lib network namespace code to use pyroute2 2017-10-04 21:09:28 +00:00
extensions [server side] Expose port forwardings in FIP API 2018-07-27 17:25:10 +08:00
hacking Adopt hacking 1.1.0 2018-07-05 11:31:40 +09:00
ipam Removed unnecessary setUp calls in tests 2017-07-31 17:16:01 +02:00
notifiers Fix W503 pep8 warnings 2018-04-17 14:22:58 +00:00
objects Merge "[server side] Floating IP port forwarding OVO and db script" 2018-07-18 23:44:37 +00:00
pecan_wsgi Removing deprecated module neutron.api.versions 2018-03-28 14:15:50 +07:00
plugins use get_port_binding_by_status_and_host from lib 2018-07-30 07:10:23 -06:00
privileged python3: fix netlink_lib delete_entries 2018-06-29 00:30:19 +02:00
quota use get reader/writer session from neutron-lib 2018-07-06 14:43:31 -06:00
scheduler Correctly call is_distributed_router() 2018-08-08 10:52:51 -04:00
services Adding resources callback handler 2018-08-01 17:20:04 -05:00
tests Replaced assertTrue(False) with fail() 2017-06-22 19:31:00 +02:00
__init__.py Don't set use_stderr to False for tests 2017-04-15 01:41:29 +00:00
_test_extension_portbindings.py Remove the unit test 'test_ports_vnic_type_list' 2018-06-15 15:12:10 +00:00
dummy_plugin.py use neutron-lib servicetype api def 2018-03-27 14:32:44 -06:00
extension_stubs.py Consume ServicePluginBase from neutron-lib 2017-03-17 12:06:57 -06:00
test_auth.py Fix context deprecation warnings 2018-02-13 15:02:49 -05:00
test_manager.py Implement filter validation 2018-07-19 04:13:43 +00:00
test_neutron_plugin_base_v2.py Add unit test to validate non DB base core plugin can be loaded 2017-11-15 21:21:35 +00:00
test_opts.py Fix the sriov agent config group name 2016-05-05 16:16:08 +08:00
test_policy.py Add ext_parent policy check 2018-08-01 02:45:42 +08:00
test_service.py use callback payloads for _SPAWN events 2017-12-21 11:03:36 -07:00
test_worker.py Move AgentStatusCheckWorker to PeriodicWorker 2016-11-17 15:31:19 -08:00
test_wsgi.py [Unit tests] Skip TestWSGIServer with IPv6 if no IPv6 enabled 2018-06-28 12:42:48 +02:00
testlib_api.py Adopt hacking 1.1.0 2018-07-05 11:31:40 +09:00