neutron/neutron/tests/functional
Slawek Kaplonski 959af761cb [Functional tests] Test keepalived in namespaces
Functional tests for keepalived should spawn processes in namespaces
where dummy interfaces used in keepalived.conf file exists.
Otherwise keepalived 2.0.10 (this is version used currently in RHEL 8)
fails to start and tests are failing.

On older versions of keepalived, like 1.3.9 used in Ubuntu 18.04,
keepalived is logging warning about not existing interfaces but it's
starting fine thus tests are running properly.

So this patch adds creation of namespace for each test from
neutron.tests.functional.agent.linux.test_keepalived module,
creates dummy interfaces with names used in keepalived config file
and runs keepalive process in this namespace.

Change-Id: I54f45b8c52fc1ecce811b028f0f92e0d78d3157b
Closes-Bug: #1830232
2019-05-23 21:42:37 +02:00
..
agent [Functional tests] Test keepalived in namespaces 2019-05-23 21:42:37 +02:00
api Convert policy.json into policy-in-code 2018-12-13 20:37:53 +00:00
cmd Fix neutron-status upgrade check CLI tool 2019-03-21 15:01:50 +00:00
common All functional tests logs results now 2018-11-21 19:58:18 +00:00
db Add skip_if_timeout to additional MySQL migration test 2019-05-10 13:32:49 +00:00
pecan_wsgi Add logging for functional tests 2018-12-17 12:47:48 +01:00
plugins use neutron_lib's portbindings api-def 2017-03-31 09:16:22 -06:00
privileged Add TC filter functions implemented with pyroute2 2019-03-09 22:01:57 +00:00
sanity All functional tests logs results now 2018-11-21 19:58:18 +00:00
scheduler delete common_db_mixin 2019-04-17 11:25:41 -06:00
services use trunk constants from neutron-lib 2019-04-23 13:54:11 -06:00
tests make net_helpers functions work on OpenSUSE 2017-09-20 09:59:44 -07:00
__init__.py tests: removed 'retargetable' framework 2017-05-02 16:45:49 +00:00
base.py Replace git.openstack.org URLs with opendev.org URLs 2019-04-23 10:00:45 +08:00
constants.py TrunkManager for the OVS agent 2016-08-24 02:52:17 -04:00
requirements.txt Don't return null-byte separated string from ExternalProcess.cmdline() 2017-03-08 07:50:51 +00:00
test_server.py All functional tests logs results now 2018-11-21 19:58:18 +00:00
test_service.py Modify api and rpc default number of workers 2019-02-19 13:24:01 -07:00