summaryrefslogtreecommitdiffstats
path: root/utils/dispatcher/__init__.py
blob: ccf4db9f9f5d030c31c29aa6dba3f78a9abd6ad9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
##############################################################################
# Copyright (c) 2015 Huawei Technologies Co.,Ltd and others.
# liangqi1@huawei.com matthew.lijun@huawei.com
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################

from oslo_config import cfg

import utils.dispatcher.func as func

func.import_modules_from_package("utils.dispatcher")

CONF = cfg.CONF
opts = [
    cfg.StrOpt('dispatcher',
               default='file',
               help='Dispatcher to store data.'),
]
CONF.register_opts(opts)