Support general configuration file
[yardstick.git] / yardstick / dispatcher / __init__.py
1 ##############################################################################
2 # Copyright (c) 2015 Huawei Technologies Co.,Ltd and others.
3 #
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
9
10 from oslo_config import cfg
11
12 import yardstick.common.utils as utils
13
14 utils.import_modules_from_package("yardstick.dispatcher")
15
16 CONF = cfg.CONF
17 OPTS = [
18     cfg.StrOpt('dispatcher',
19                default='file',
20                help='Dispatcher to store data.'),
21 ]
22 CONF.register_opts(OPTS)