neutron/neutron/tests/unit
Slawek Kaplonski c801dd8ea1 Fix connection between 2 dvr routers
In case when 2 dvr routers are connected to each other with
tenant network, those routers needs to be always deployed
on same compute nodes.
So this patch changes dvr routers scheduler that it will create
dvr router on each host on which there are vms or other dvr routers
connected to same subnets.

Co-Authored-By: Swaminathan Vasudevan <SVasudevan@suse.com>

Closes-Bug: #1786272

Conflicts:
    neutron/agent/l3/agent.py
    neutron/db/l3_dvr_db.py
    neutron/tests/unit/agent/l3/test_agent.py

Change-Id: I579c2522f8aed2b4388afacba34d9ffdc26708e3
(cherry picked from commit 5018d70241)
(cherry picked from commit b127433f38)
2018-11-14 20:48:56 +00:00
..
agent Fix connection between 2 dvr routers 2018-11-14 20:48:56 +00:00
api Revert "DVR: Inter Tenant Traffic between networks not possible with shared net" 2018-08-28 23:41:29 +00:00
cmd More efficiently clean up OVS ports 2018-01-22 14:07:42 -06:00
common Allow Ipv6 addresses for nova_metadata_host 2018-10-13 07:16:55 +00:00
conf/agent Agent common config 2017-03-15 09:52:18 -06:00
core_extensions use qos constants from neutron-lib 2017-10-26 19:57:19 +00:00
db Fix dvr ha router gateway goes wrong host 2018-10-22 17:22:14 +00:00
debug Change ip_lib network namespace code to use pyroute2 2017-10-04 21:09:28 +00:00
extensions Merge "use callback payloads for PRECOMMIT_UPDATE events" into stable/queens 2018-08-14 12:25:51 +00:00
hacking Use flake8-import-order plugin 2017-07-05 03:15:27 +00:00
ipam Removed unnecessary setUp calls in tests 2017-07-31 17:16:01 +02:00
notifiers Use port object in notifiers/test_nova.py 2017-10-03 20:59:01 +00:00
objects Mark unit test test_get_objects_queries_constant as unstable 2018-06-29 20:40:01 +00:00
plugins Make port binding attempt after agent is revived 2018-10-23 11:00:50 +02:00
privileged Add netlink-lib to manage conntrack entries 2017-07-27 13:56:40 +07:00
quota CountableResource: try count/get functions for all plugins 2017-09-08 10:50:12 -07:00
scheduler Fix connection between 2 dvr routers 2018-11-14 20:48:56 +00:00
services ovs fw: apply the NORMAL action on egress traffic in a single table 2018-09-07 10:11:38 +07: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 use plugin constants from neutron-lib 2017-10-16 09:32:20 -06:00
dummy_plugin.py Add unit test to validate non DB base core plugin can be loaded 2017-11-15 21:21:35 +00:00
extension_stubs.py Consume ServicePluginBase from neutron-lib 2017-03-17 12:06:57 -06:00
test_auth.py Use oslo.context class method to construct context object 2017-03-23 09:02:46 +00:00
test_manager.py use plugin constants from neutron-lib 2017-10-16 09:32:20 -06: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 cleanup unit test usage of api extension maps 2017-10-24 10:38:52 -06: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 Pass parameters when create eventlet.wsgi server 2017-03-17 14:14:25 +08:00
testlib_api.py API compare-and-swap updates based on revision_number 2017-06-29 22:50:12 +00:00