a0cac02e3037b0bd9fdc5912c1d584a1afbb5d59
[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 #[timeout]
26 timeout:
27     # ns_deploy: 7200     # total deploy timeout for a ns 2 hours
28     # nsi_deploy: 7200     # total deploy timeout for a nsi 2 hours
29
30 #[RO]
31 RO:
32     host:   ro          # hostname or IP
33     port:   9090
34     tenant: osm
35     # loglevel: DEBUG
36     # logfile:  /var/log/osm/lcm-ro.log
37
38 #[VCA]
39 VCA:
40     host:   vca
41     port:   17070
42     user:   admin
43     secret: secret
44     # pubkey: pubkey
45     # cacert: cacert
46     # apiproxy: apiproxy
47
48     # loglevel: DEBUG
49     # logfile:  /var/log/osm/lcm-vca.log
50
51 #[database]
52 database:
53     driver: mongo       # mongo or memory
54     host:   mongo       # hostname or IP
55     port:   27017
56     name:   osm
57     # user:   user
58     # password:   password
59     # commonkey: "XXXXXX" # password used for encryption of sensible information
60     # loglevel: DEBUG
61     # logfile:  /var/log/osm/lcm-database.log
62
63 #[storage]
64 storage:
65     driver: local       # local filesystem
66     # for local provide file path
67     path:   /app/storage
68     # loglevel: DEBUG
69     # logfile:  /var/log/osm/lcm-storage.log
70
71 #[message]
72 message:
73     driver:   kafka       # local or kafka
74     # for local provide file path
75     path:     /app/storage/kafka
76     # for kafka provide host and port
77     host:     kafka
78     port:     9092
79     # loglevel: DEBUG
80     # logfile:  /var/log/osm/lcm-message.log
81     group_id: lcm-server