fix 1015. move health check to other module to avoid import unneeded libraries
[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     helmpath:    /usr/local/bin/helm
45     kubectlpath: /usr/bin/kubectl
46     jujupath:    /usr/local/bin/juju
47     # pubkey: pubkey
48     # cacert: cacert
49     # apiproxy: apiproxy
50
51     # loglevel: DEBUG
52     # logfile:  /var/log/osm/lcm-vca.log
53
54 #[database]
55 database:
56     driver: mongo       # mongo or memory
57     host:   mongo       # hostname or IP
58     port:   27017
59     name:   osm
60     # user:   user
61     # password:   password
62     # commonkey: "XXXXXX" # password used for encryption of sensible information
63     # loglevel: DEBUG
64     # logfile:  /var/log/osm/lcm-database.log
65
66 #[storage]
67 storage:
68     driver: local       # local filesystem
69     # for local provide file path
70     path:   /app/storage
71     # loglevel: DEBUG
72     # logfile:  /var/log/osm/lcm-storage.log
73
74 #[message]
75 message:
76     driver:   kafka       # local or kafka
77     # for local provide file path
78     path:     /app/storage/kafka
79     # for kafka provide host and port
80     host:     kafka
81     port:     9092
82     # loglevel: DEBUG
83     # logfile:  /var/log/osm/lcm-message.log
84     group_id: lcm-server