neutron/neutron/tests/functional/agent/linux
Slawek Kaplonski abd4e84925 Add 'keepalived_use_no_track' config option
Patch [1] added option "no_track" to the keepalived's config file which
is generated by L3 agent in HA mode.
This was added to handle properly keepalived 2.x and interfaces which
are in DOWN state in the backup nodes.
But this "no_track" option is not compatible with keepalived 1.x series
which is available e.g. on Ubuntu 18.04.

As there is no easy way to check automatically if keepalived supports or
not this config flag, this patch introduces new config option
"keepalived_use_no_track".
If this config option will be set to False, neutron L3 agent will not
add "no_track" to the keepalived's config.

As master branch is moving to gate on Ubuntu 20.04 where keepalived 2.x
is already available, this new config option default value is set to
True.

[1] https://review.opendev.org/#/c/721799/

Conflicts:
    neutron/conf/agent/l3/config.py

Change-Id: I2dfdb9f56de28d56ca0f240ff34fa7c3a12e339b
Closes-Bug: #1890400
(cherry picked from commit 7abe0ee34c)
2020-08-25 07:58:35 +00:00
..
bin Adopt hacking 1.1.0 2018-07-05 11:31:40 +09:00
openvswitch_firewall use EGRESS_DIRECTION and INGRESS_DIRECTION from neutron-lib 2018-02-23 10:36:36 -07:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
base.py Remove deprecated vsctl ovsdb_interface api 2018-10-11 14:59:34 -04:00
helpers.py Fix flake8 H404 errors 2018-10-05 21:48:41 +00:00
simple_daemon.py Remove translation of help messages from tests 2017-09-25 09:49:38 +00:00
test_async_process.py All functional tests logs results now 2018-11-21 19:58:18 +00:00
test_bridge_lib.py LinuxBridge: Use ifindex for logical 'timestamp' 2016-09-14 17:02:46 +00:00
test_dhcp.py Use constant IP_VERSION_4/6 in functional tests 2018-08-27 21:45:56 +00:00
test_interface.py remove neutron.common.exceptions 2019-02-01 14:35:00 -07:00
test_ip_lib.py Check the namespace is ready in test_mtu_update tests 2019-09-13 09:35:01 +00:00
test_ip_monitor.py Trivial: Move platform independent modules to common dir 2018-08-14 09:54:01 +03:00
test_ipset.py Forbid importing neutron.tests.* from outside tests subtree 2016-09-15 18:42:45 +00:00
test_iptables.py Use constants from neutron-lib 2016-04-23 21:23:56 -04:00
test_keepalived.py Add 'keepalived_use_no_track' config option 2020-08-25 07:58:35 +00:00
test_l3_tc_lib.py remove neutron.common.exceptions 2019-02-01 14:35:00 -07:00
test_linuxbridge_arp_protect.py use neutron_lib's get_random_mac 2017-03-07 09:13:47 -06:00
test_netlink_lib.py [Functional tests] Change way how conntrack entries are checked 2019-03-02 09:07:07 +00:00
test_ovsdb_monitor.py Trivial: Move platform independent modules to common dir 2018-08-14 09:54:01 +03:00
test_process_monitor.py All functional tests logs results now 2018-11-21 19:58:18 +00:00
test_tc_lib.py Implement add_tc_qdisc and list_tc_qdiscs using pyroute2 2019-02-07 11:12:35 +00:00
test_utils.py Trivial: Move platform independent modules to common dir 2018-08-14 09:54:01 +03:00