diff options
Diffstat (limited to 'tests/monitor/__init__.py')
-rw-r--r-- | tests/monitor/__init__.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/monitor/__init__.py b/tests/monitor/__init__.py index 51a6a65d..e268907f 100644 --- a/tests/monitor/__init__.py +++ b/tests/monitor/__init__.py @@ -12,14 +12,15 @@ from oslo_utils import importutils OPTS = [ cfg.StrOpt('type', default='sample', - choices=['sample'], + choices=['sample', 'collectd'], help='the type of doctor monitor component', required=True), ] _monitor_name_class_mapping = { - 'sample': 'monitor.sample.SampleMonitor' + 'sample': 'monitor.sample.SampleMonitor', + 'collectd': 'monitor.collectd.CollectdMonitor' } def get_monitor(conf, inspector_url, log): |