e2e34d458ada0a3cae6dca37444dd1e8af4e2fd5
[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     cloud:  localhost
45     k8s_cloud: k8scloud
46     helmpath:    /usr/local/bin/helm
47     kubectlpath: /usr/bin/kubectl
48     jujupath:    /usr/local/bin/juju
49     # pubkey: pubkey
50     # cacert: cacert
51     # apiproxy: apiproxy
52
53     # loglevel: DEBUG
54     # logfile:  /var/log/osm/lcm-vca.log
55
56 #[database]
57 database:
58     driver: mongo       # mongo or memory
59     host:   mongo       # hostname or IP
60     port:   27017
61     name:   osm
62     # user:   user
63     # password:   password
64     # commonkey: "XXXXXX" # password used for encryption of sensible information
65     # loglevel: DEBUG
66     # logfile:  /var/log/osm/lcm-database.log
67
68 #[storage]
69 storage:
70     driver: local       # local filesystem
71     # for local provide file path
72     path:   /app/storage
73     # loglevel: DEBUG
74     # logfile:  /var/log/osm/lcm-storage.log
75
76 #[message]
77 message:
78     driver:   kafka       # local or kafka
79     # for local provide file path
80     path:     /app/storage/kafka
81     # for kafka provide host and port
82     host:     kafka
83     port:     9092
84     # loglevel: DEBUG
85     # logfile:  /var/log/osm/lcm-message.log
86     group_id: lcm-server
87
88 tsdb:    # time series database
89     driver:   prometheus
90     # local file to store the configuration
91     path:     /etc/prometheus
92     uri:      http://prometheus:9090/
93     # loglevel: DEBUG
94     # logfile:  /var/log/osm/lcm-tsdb.log