tobiko/tobiko/common
Slawek Kaplonski 4ee3dced06 Fix looking for ovs agent based on compute node name
In neutron agents faults tests module, there is test which looks
for neutron-ovs-agent which runs on same host as VM is spawned to
stop this neutron-ovs-agent.
This usually worked fine, but in case e.g. of TripleO hostname
given in neutron agents list contained full domain name and
hostname from nova's output containes short name.
Because of this missmatch there was no neutron-ovs-agent found to
stop and test was failing.
This patch fixes this issue by changing comparison of hostnames
of vm's host and agent's host.

Additionally this patch adds proper handling of the case when
neutron-ovs-agent isn't found.

Change-Id: If240188392feb6067af4f9a4a82e8ed95b4b99ee
2020-04-27 13:50:16 +02:00
..
managers Remove unused integrations: os_faults and ansible 2020-02-19 17:35:09 +00:00
__init__.py Remove copyrigth notices from empty __init__.py files 2018-11-27 09:45:36 +01:00
_asserts.py Refactor exceptions message formatting on top of format method 2019-04-29 10:45:45 +02:00
_config.py Use tobiko.conf directory as starting directory for relative paths 2020-01-30 14:28:15 +01:00
_detail.py Use tobiko gather_details function in fixtures library 2019-11-01 10:49:35 +01:00
_exception.py Pass mypy type verifications 2019-11-04 13:46:52 +01:00
_fixture.py Override fixture context methods with setup/cleanup functions 2020-01-28 11:04:58 +01:00
_logging.py Write to log the begin and the end of every test case. 2019-09-28 07:43:08 +00:00
_operation.py Add API for defining cloud operations 2020-01-17 15:07:25 +01:00
_os.py Create temporary files on the same directory of target file 2019-11-12 18:45:10 +01:00
_select.py Find an external network when no one is provided 2020-02-20 08:23:19 +01:00
_skip.py Pass mypy type verifications 2019-11-04 13:46:52 +01:00
_utils.py Fix looking for ovs agent based on compute node name 2020-04-27 13:50:16 +02:00