c6123f09ee60f23f298e84607a22f5b50b457364
[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     # loglevel: DEBUG
40     # logfile:  /var/log/osm/lcm-vca.log
41
42 #[database]
43 database:
44     driver: mongo       # mongo or memory
45     host:   mongo       # hostname or IP
46     port:   27017
47     name:   osm
48     # user:   user
49     # password:   password
50     # commonkey: "XXXXXX" # password used for encryption of sensible information
51     # loglevel: DEBUG
52     # logfile:  /var/log/osm/lcm-database.log
53
54 #[storage]
55 storage:
56     driver: local       # local filesystem
57     # for local provide file path
58     path:   /app/storage
59     # loglevel: DEBUG
60     # logfile:  /var/log/osm/lcm-storage.log
61
62 #[message]
63 message:
64     driver:   kafka       # local or kafka
65     # for local provide file path
66     path:     /app/storage/kafka
67     # for kafka provide host and port
68     host:     kafka
69     port:     9092
70     # loglevel: DEBUG
71     # logfile:  /var/log/osm/lcm-message.log
72     group_id: lcm-server