From 5a1c7a939cef64609c398779d83e4c0bdae83083 Mon Sep 17 00:00:00 2001 From: dongwenjuan Date: Mon, 7 Aug 2017 10:19:23 +0800 Subject: refactor apex installer JIRA: DOCTOR-100 Change-Id: I684071d35aac99ad1f5b65ae74e0a98ac726af35 Signed-off-by: dongwenjuan --- tests/installer/__init__.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests/installer/__init__.py') diff --git a/tests/installer/__init__.py b/tests/installer/__init__.py index 491543c8..bb0e452d 100644 --- a/tests/installer/__init__.py +++ b/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'], + choices=['local', 'apex'], help='the type of installer', required=True), cfg.StrOpt('ip', @@ -28,7 +28,8 @@ OPTS = [ _installer_name_class_mapping = { - 'local': 'installer.local.LocalInstaller' + 'local': 'installer.local.LocalInstaller', + 'apex': 'installer.apex.ApexInstaller' } -- cgit 1.2.3-korg