3bc1ba07e9e5914d856965eff90b916b34e41c70
[osm/LCM.git] / osm_lcm / lcm.cfg
1 ##
2 # Copyright 2018 Telefonica S.A.
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 # not use this file except in compliance with the License. You may obtain
6 # a copy of the License at
7 #
8 #         http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 # License for the specific language governing permissions and limitations
14 # under the License.
15 ##
16
17 # TODO currently is a pure yaml format. Consider to change it to [ini] style with yaml inside to be coherent with other modules
18
19 #[global]
20 global:
21     loglevel: DEBUG
22     # logfile:  /app/log  # or /var/log/osm/lcm.log
23     # nologging: True     # do no log to stdout/stderr
24
25 #[RO]
26 RO:
27     host:   ro          # hostname or IP
28     port:   9090
29     tenant: osm
30     # loglevel: DEBUG
31     # logfile:  /var/log/osm/lcm-ro.log
32
33 #[VCA]
34 VCA:
35     host:   vca
36     port:   17070
37     user:   admin
38     secret: secret
39     # pubkey: pubkey
40     # cacert: cacert
41     # apiproxy: apiproxy
42
43     # loglevel: DEBUG
44     # logfile:  /var/log/osm/lcm-vca.log
45
46 #[database]
47 database:
48     driver: mongo       # mongo or memory
49     host:   mongo       # hostname or IP
50     port:   27017
51     name:   osm
52     # user:   user
53     # password:   password
54     # commonkey: "XXXXXX" # password used for encryption of sensible information
55     # loglevel: DEBUG
56     # logfile:  /var/log/osm/lcm-database.log
57
58 #[storage]
59 storage:
60     driver: local       # local filesystem
61     # for local provide file path
62     path:   /app/storage
63     # loglevel: DEBUG
64     # logfile:  /var/log/osm/lcm-storage.log
65
66 #[message]
67 message:
68     driver:   kafka       # local or kafka
69     # for local provide file path
70     path:     /app/storage/kafka
71     # for kafka provide host and port
72     host:     kafka
73     port:     9092
74     # loglevel: DEBUG
75     # logfile:  /var/log/osm/lcm-message.log
76     group_id: lcm-server