neutron/neutron/tests/unit
Slawek Kaplonski 6c9a282bcd Enable ipv6_forwarding in HA router's namespace
When HA router is created in "stanby" mode, ipv6 forwarding is
disabled by default in its namespace.
But when router is transitioned to be "master" on node, ipv6
forwarding should be enabled. This was fine for routers with
configured gateway but we somehow missed the case when router don't
have gateway configured.
Because of that missing ipv6 forwarding setting in such case, IPv6
W-E traffic between 2 subnets was not working fine in L3 HA case.

This patch fixes it by adding configuring ipv6_forwarding on
"all" interface in router's namespace always, even if it don't have
gateway configured.

Conflicts:
    neutron/tests/functional/agent/l3/framework.py
    neutron/tests/unit/agent/l3/test_agent.py

Change-Id: I8b1b2b426f7a26a4b2407a83f9bf29dd6e9ba7b0
CLoses-Bug: #1818224
(cherry picked from commit b119247bea)
(cherry picked from commit 270912a8c7)
2019-03-18 12:58:19 +00:00
..
agent Enable ipv6_forwarding in HA router's namespace 2019-03-18 12:58:19 +00:00
api Block port update from unbound DHCP agent 2019-02-05 13:39:00 +01:00
cmd More efficiently clean up OVS ports 2018-01-25 15:29:49 +00:00
common Allow Ipv6 addresses for nova_metadata_host 2018-10-25 14:34:07 +00:00
conf/agent Agent common config 2017-03-15 09:52:18 -06:00
core_extensions Fix default qos policy when creating network 2017-08-24 14:35:38 +00:00
db Fix notification about arp entries for dvr routers 2019-02-15 16:03:53 +00:00
debug use neutron_lib's portbindings api-def 2017-03-31 09:16:22 -06:00
extensions Fix performance regression adding rules to security groups 2019-02-01 21:10:21 -07:00
hacking Use flake8-import-order plugin 2017-07-05 03:15:27 +00:00
ipam New enginefacade for networks, subnets. 2017-03-30 01:26:45 -07:00
notifiers use service type constants from neutron_lib plugins 2017-06-27 15:16:05 -06:00
objects Fix Port OVO filtering based on security groups 2018-06-08 13:25:16 +00:00
plugins Do state report after setting start_flag on OVS restart 2018-12-20 11:00:41 +00: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-12 16:23:22 +00:00
scheduler Merge "DVR: Centralized FloatingIPs are not cleared after migration." into stable/pike 2018-11-21 02:00:06 +00:00
services Do not delete trunk bridges if service port attached 2018-12-17 12:19:38 +00: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 neutron_lib's portbindings api-def 2017-03-31 09:16:22 -06:00
dummy_plugin.py Consume ServicePluginBase from neutron-lib 2017-03-17 12:06:57 -06: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 service type constants from neutron_lib plugins 2017-06-27 15:16:05 -06:00
test_opts.py Fix the sriov agent config group name 2016-05-05 16:16:08 +08:00
test_policy.py Remove neutron-fwaas specific policies 2017-07-16 17:56:25 +00:00
test_service.py use neutron-lib.callback.events.AFTER_SPAWN 2017-07-27 05:57:34 +00: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