add create alarm
[doctor.git] / tests / consumer / __init__.py
1 ##############################################################################
2 # Copyright (c) 2017 ZTE Corporation 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 from oslo_config import cfg
10
11
12 OPTS = [
13     cfg.StrOpt('type',
14                default='sample',
15                choices=['sample'],
16                help='the component of doctor consumer',
17                required=True),
18     cfg.StrOpt('ip',
19                default='127.0.0.1',
20                help='the ip of consumer',
21                required=True),
22     cfg.IntOpt('port',
23                default='12346',
24                help='the port of doctor consumer',
25                required=True),
26 ]