Feature 10929: LCM saga, Milestone 1.
[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     loglevel: DEBUG
21     # logfile:  /app/log  # or /var/log/osm/lcm.log
22     # nologging: True     # do no log to stdout/stderr
23
24 [timeout]
25     # ns_deploy: 7200     # total deploy timeout for a ns 2 hours
26     # nsi_deploy: 7200     # total deploy timeout for a nsi 2 hours
27
28 [RO]
29     host:   ro          # hostname or IP
30     port:   9090
31     tenant: osm
32     # loglevel: DEBUG
33     # logfile:  /var/log/osm/lcm-ro.log
34
35 [VCA]
36     host:   vca
37     port:   17070
38     user:   admin
39     secret: secret
40     cloud:  localhost
41     k8s_cloud: k8scloud
42     helmpath:    /usr/local/bin/helm
43     helm3path:    /usr/local/bin/helm3
44     kubectlpath: /usr/bin/kubectl
45     jujupath:    /usr/local/bin/juju
46     eegrpc_tls_enforce: False
47     # public_key: pubkey
48     # ca_cert: cacert
49     # api_proxy: apiproxy
50     # eegrpcinittimeout: 600
51     # eegrpctimeout: 30
52
53     # loglevel: DEBUG
54     # logfile:  /var/log/osm/lcm-vca.log
55
56 [database]
57     driver: mongo       # mongo or memory
58     host:   mongo       # hostname or IP
59     port:   27017
60     name:   osm
61     # replicaset: replicaset
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     driver: local       # local filesystem
70     # for local provide file path
71     path:   /app/storage
72     # loglevel: DEBUG
73     # logfile:  /var/log/osm/lcm-storage.log
74
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
85
86 [tsdb]    # time series database
87     driver:   prometheus
88     # local file to store the configuration
89     path:     /etc/prometheus
90     uri:      http://prometheus:9090/
91     # loglevel: DEBUG
92     # logfile:  /var/log/osm/lcm-tsdb.log