From 6bd4e026fca92b281382a3f6b46f7ab7eeb31f45 Mon Sep 17 00:00:00 2001 From: dongwenjuan Date: Mon, 19 Mar 2018 17:12:03 +0800 Subject: support MCP installer 1.support MCP installer 2.optimize the installer code JIRA: DOCTOR-121 Change-Id: I8675c2652944575a8f73d0d1e2dafaad5a3e88e3 Signed-off-by: dongwenjuan --- doctor_tests/installer/__init__.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'doctor_tests/installer/__init__.py') diff --git a/doctor_tests/installer/__init__.py b/doctor_tests/installer/__init__.py index 1ee59d99..31fce754 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', 'daisy'], + choices=['local', 'apex', 'daisy', 'fuel'], help='the type of installer', required=True), cfg.StrOpt('ip', @@ -30,7 +30,8 @@ OPTS = [ _installer_name_class_mapping = { 'local': 'doctor_tests.installer.local.LocalInstaller', 'apex': 'doctor_tests.installer.apex.ApexInstaller', - 'daisy': 'doctor_tests.installer.daisy.DaisyInstaller' + 'daisy': 'doctor_tests.installer.daisy.DaisyInstaller', + 'fuel': 'doctor_tests.installer.mcp.McpInstaller' } -- cgit 1.2.3-korg