diff options
author | dongwenjuan <dong.wenjuan@zte.com.cn> | 2018-03-19 17:12:03 +0800 |
---|---|---|
committer | dongwenjuan <dong.wenjuan@zte.com.cn> | 2018-03-20 10:33:46 +0800 |
commit | 6bd4e026fca92b281382a3f6b46f7ab7eeb31f45 (patch) | |
tree | 6284dfdbcd651476d72895e8b09d5e420b9b2fa2 /doctor_tests/installer/__init__.py | |
parent | 8dc884e35c1cbfb2181f2bf803e3dc0171cbdbe6 (diff) |
support MCP installer
1.support MCP installer
2.optimize the installer code
JIRA: DOCTOR-121
Change-Id: I8675c2652944575a8f73d0d1e2dafaad5a3e88e3
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
Diffstat (limited to 'doctor_tests/installer/__init__.py')
-rw-r--r-- | doctor_tests/installer/__init__.py | 5 |
1 files changed, 3 insertions, 2 deletions
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' } |