diff options
author | Tomi Juvonen <tomi.juvonen@nokia.com> | 2018-12-21 12:43:57 +0200 |
---|---|---|
committer | Tomi Juvonen <tomi.juvonen@nokia.com> | 2019-03-26 15:53:28 +0200 |
commit | 73605c5c34b97ab56306bfa9af0f5888f3c7e46d (patch) | |
tree | 7175ebaec5ed949d32ee62b7ac412729b366446e /doctor_tests/common/constants.py | |
parent | 33293e9c23a21ad3228f46d2063f18c915eb2b79 (diff) |
Support Fenix as admin tool
If ADMIN_TOOL_TYPE=fenix we run maintenance testing using Fenix
instead of sample implementation. Testing will build Fenix
Docker container from latest master and make configuration
according to controller host.
JIRA: DOCTOR-131
Change-Id: I84c566b7afc3c4e488aeed63b5cf5c75046d1427
Signed-off-by: Tomi Juvonen <tomi.juvonen@nokia.com>
Diffstat (limited to 'doctor_tests/common/constants.py')
-rw-r--r-- | doctor_tests/common/constants.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doctor_tests/common/constants.py b/doctor_tests/common/constants.py index 088ff633..201f3fc4 100644 --- a/doctor_tests/common/constants.py +++ b/doctor_tests/common/constants.py @@ -12,6 +12,10 @@ from collections import namedtuple Host = namedtuple('Host', ['name', 'ip']) +def is_fenix(conf): + return conf.admin_tool.type == 'fenix' + + class Inspector(object): CONGRESS = 'congress' SAMPLE = 'sample' |