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