summaryrefslogtreecommitdiffstats
path: root/doctor_tests/installer/__init__.py
diff options
context:
space:
mode:
authordongwenjuan <dong.wenjuan@zte.com.cn>2018-01-08 14:20:53 +0800
committerdongwenjuan <dong.wenjuan@zte.com.cn>2018-01-08 17:27:53 +0800
commit3e882aeb6b55ceef3bd3c20155f0014a7b8c058e (patch)
tree530549fa6e3832002fe57da5095f1f9db2ac65c9 /doctor_tests/installer/__init__.py
parentbdbd22904733af311225a3315555bb39ea12ed55 (diff)
support daisy installer
JIRA: DOCTOR-118 Change-Id: Id4d586fd2b7ca043cfd8231b9c46bdc581f039ab Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
Diffstat (limited to 'doctor_tests/installer/__init__.py')
-rw-r--r--doctor_tests/installer/__init__.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/doctor_tests/installer/__init__.py b/doctor_tests/installer/__init__.py
index 02735b11..1ee59d99 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'],
help='the type of installer',
required=True),
cfg.StrOpt('ip',
@@ -29,7 +29,8 @@ OPTS = [
_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'
}