From 73605c5c34b97ab56306bfa9af0f5888f3c7e46d Mon Sep 17 00:00:00 2001 From: Tomi Juvonen Date: Fri, 21 Dec 2018 12:43:57 +0200 Subject: 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 --- doctor_tests/common/constants.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doctor_tests/common/constants.py') 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' -- cgit 1.2.3-korg