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