diff options
author | Tomi Juvonen <tomi.juvonen@nokia.com> | 2019-12-19 13:12:32 +0200 |
---|---|---|
committer | Tomi Juvonen <tomi.juvonen@nokia.com> | 2020-02-03 11:57:44 +0200 |
commit | 34b4083b4d2d579f6dbd334df06fe9394453680a (patch) | |
tree | 3a8e5c8fa447dee8fa4abfdf82f40a3d48e4f112 /doctor_tests/app_manager/__init__.py | |
parent | d8eb12f4200c21f569df5bc01d378a846b4c0db0 (diff) |
New VNFM supporting ETSI changes
JIRA: DOCTOR-137
Signed-off-by: Tomi Juvonen <tomi.juvonen@nokia.com>
Change-Id: I6e632b24efb6728c171dd93979e3b1de5333251b
Diffstat (limited to 'doctor_tests/app_manager/__init__.py')
-rw-r--r-- | doctor_tests/app_manager/__init__.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/doctor_tests/app_manager/__init__.py b/doctor_tests/app_manager/__init__.py index 717d6587..c2f75918 100644 --- a/doctor_tests/app_manager/__init__.py +++ b/doctor_tests/app_manager/__init__.py @@ -8,12 +8,13 @@ ############################################################################## from oslo_config import cfg from oslo_utils import importutils +import os OPTS = [ cfg.StrOpt('type', - default='sample', - choices=['sample'], + default=os.environ.get('APP_MANAGER_TYPE', 'sample'), + choices=['sample', 'vnfm'], help='the component of doctor app manager', required=True), cfg.StrOpt('ip', @@ -28,7 +29,8 @@ OPTS = [ _app_manager_name_class_mapping = { - 'sample': 'doctor_tests.app_manager.sample.SampleAppManager' + 'sample': 'doctor_tests.app_manager.sample.SampleAppManager', + 'vnfm': 'doctor_tests.app_manager.vnfm.VNFM', } |