refactor apex installer
[doctor.git] / tests / installer / __init__.py
index 491543c..bb0e452 100644 (file)
@@ -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'
 }