X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=doctor_tests%2Finstaller%2F__init__.py;h=ee44018c39a0f0485053e106dab6c35447354b83;hb=9bc09d1d18d4777438515393a9427fc0733e6f09;hp=02735b118ec5b90c6397fc166207dc93c2433049;hpb=44d1e135eced7afe13b8772a610ae5cdae310b68;p=doctor.git diff --git a/doctor_tests/installer/__init__.py b/doctor_tests/installer/__init__.py index 02735b11..ee44018c 100644 --- a/doctor_tests/installer/__init__.py +++ b/doctor_tests/installer/__init__.py @@ -14,7 +14,7 @@ from oslo_utils import importutils OPTS = [ cfg.StrOpt('type', default=os.environ.get('INSTALLER_TYPE', 'local'), - choices=['local', 'apex'], + choices=['local', 'apex', 'daisy', 'fuel'], help='the type of installer', required=True), cfg.StrOpt('ip', @@ -24,12 +24,18 @@ OPTS = [ default='root', help='the user name for login installer server', required=True), + cfg.StrOpt('key_file', + default=os.environ.get('SSH_KEY', None), + help='the key for user to login installer server', + required=False), ] _installer_name_class_mapping = { 'local': 'doctor_tests.installer.local.LocalInstaller', - 'apex': 'doctor_tests.installer.apex.ApexInstaller' + 'apex': 'doctor_tests.installer.apex.ApexInstaller', + 'daisy': 'doctor_tests.installer.daisy.DaisyInstaller', + 'fuel': 'doctor_tests.installer.mcp.McpInstaller' }