X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=doctor_tests%2Fcommon%2Fconstants.py;h=201f3fc4a05bc4744df837706589979e70a51144;hb=73605c5c34b97ab56306bfa9af0f5888f3c7e46d;hp=72d037aff4ee0fbb7e2b45600ff11d4881f2cf0d;hpb=079ac9a481fcc1baa53cb5ab2896bbe037585f3b;p=doctor.git diff --git a/doctor_tests/common/constants.py b/doctor_tests/common/constants.py index 72d037af..201f3fc4 100644 --- a/doctor_tests/common/constants.py +++ b/doctor_tests/common/constants.py @@ -10,3 +10,13 @@ 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' + VITRAGE = 'vitrage'