summaryrefslogtreecommitdiffstats
path: root/tests/installer/__init__.py
diff options
context:
space:
mode:
authordongwenjuan <dong.wenjuan@zte.com.cn>2017-08-07 10:19:23 +0800
committerdongwenjuan <dong.wenjuan@zte.com.cn>2017-08-07 15:18:35 +0800
commit5a1c7a939cef64609c398779d83e4c0bdae83083 (patch)
tree47bc1452c0ae6cd065f7bb42b07335b44d01285f /tests/installer/__init__.py
parent9549a92ad62fbbad00e355b707809e6409b9e085 (diff)
refactor apex installer
JIRA: DOCTOR-100 Change-Id: I684071d35aac99ad1f5b65ae74e0a98ac726af35 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
Diffstat (limited to 'tests/installer/__init__.py')
-rw-r--r--tests/installer/__init__.py5
1 files changed, 3 insertions, 2 deletions
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'
}