blob: 96fb373fdbbdf6d01627f5c6b457ff165609a2f1 [file] [log] [blame]
tierno2e215512018-11-28 09:37:52 +00001##
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##
tiernoc0e42e22018-05-11 11:36:10 +020016
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]
20global:
21 loglevel: DEBUG
tierno55064042018-10-15 18:14:12 +020022 # logfile: /app/log # or /var/log/osm/lcm.log
tierno86aa62f2018-08-20 11:57:04 +000023 # nologging: True # do no log to stdout/stderr
tiernoc0e42e22018-05-11 11:36:10 +020024
tierno744303e2020-01-13 16:46:31 +000025#[timeout]
26timeout:
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
tiernoc0e42e22018-05-11 11:36:10 +020030#[RO]
31RO:
32 host: ro # hostname or IP
33 port: 9090
34 tenant: osm
tierno17a612f2018-10-23 11:30:42 +020035 # loglevel: DEBUG
tierno86aa62f2018-08-20 11:57:04 +000036 # logfile: /var/log/osm/lcm-ro.log
tiernoc0e42e22018-05-11 11:36:10 +020037
38#[VCA]
39VCA:
40 host: vca
41 port: 17070
42 user: admin
tierno9597c292019-02-06 09:21:27 +000043 secret: secret
Dominik Fleischmann90fd5b32020-03-19 09:23:00 +010044 cloud: localhost
Dominik Fleischmanneccc2102020-06-09 11:55:08 +020045 k8s_cloud: k8scloud
tierno94f06112020-02-11 12:38:19 +000046 helmpath: /usr/local/bin/helm
lloretgalleg18ebc3a2020-10-22 09:54:51 +000047 helm3path: /usr/local/bin/helm3
tierno94f06112020-02-11 12:38:19 +000048 kubectlpath: /usr/bin/kubectl
49 jujupath: /usr/local/bin/juju
tierno9597c292019-02-06 09:21:27 +000050 # pubkey: pubkey
51 # cacert: cacert
Adam Israel78770df2019-09-04 11:55:55 -040052 # apiproxy: apiproxy
lloretgallegbc10a082021-01-26 12:12:03 +000053 #eegrpcinittimeout: 600
54 #eegrpctimeout: 30
tierno9597c292019-02-06 09:21:27 +000055
tierno17a612f2018-10-23 11:30:42 +020056 # loglevel: DEBUG
tierno86aa62f2018-08-20 11:57:04 +000057 # logfile: /var/log/osm/lcm-vca.log
tiernoc0e42e22018-05-11 11:36:10 +020058
59#[database]
60database:
61 driver: mongo # mongo or memory
62 host: mongo # hostname or IP
63 port: 27017
64 name: osm
Vijay Nag B Sa6f21922020-09-29 17:32:29 +053065 # replicaset: replicaset
tierno17a612f2018-10-23 11:30:42 +020066 # user: user
67 # password: password
tiernob6541cf2018-11-12 12:17:30 +010068 # commonkey: "XXXXXX" # password used for encryption of sensible information
tierno17a612f2018-10-23 11:30:42 +020069 # loglevel: DEBUG
tierno86aa62f2018-08-20 11:57:04 +000070 # logfile: /var/log/osm/lcm-database.log
tiernoc0e42e22018-05-11 11:36:10 +020071
72#[storage]
73storage:
74 driver: local # local filesystem
75 # for local provide file path
76 path: /app/storage
tierno17a612f2018-10-23 11:30:42 +020077 # loglevel: DEBUG
tierno86aa62f2018-08-20 11:57:04 +000078 # logfile: /var/log/osm/lcm-storage.log
tiernoc0e42e22018-05-11 11:36:10 +020079
80#[message]
81message:
Eduardo Sousaa86e6112018-12-19 13:36:58 +000082 driver: kafka # local or kafka
tiernoc0e42e22018-05-11 11:36:10 +020083 # for local provide file path
Eduardo Sousaa86e6112018-12-19 13:36:58 +000084 path: /app/storage/kafka
tiernoc0e42e22018-05-11 11:36:10 +020085 # for kafka provide host and port
Eduardo Sousaa86e6112018-12-19 13:36:58 +000086 host: kafka
87 port: 9092
tierno17a612f2018-10-23 11:30:42 +020088 # loglevel: DEBUG
tierno86aa62f2018-08-20 11:57:04 +000089 # logfile: /var/log/osm/lcm-message.log
Eduardo Sousaa86e6112018-12-19 13:36:58 +000090 group_id: lcm-server
tiernob996d942020-07-03 14:52:28 +000091
tierno991e95d2020-07-21 12:41:25 +000092tsdb: # time series database
tiernob996d942020-07-03 14:52:28 +000093 driver: prometheus
94 # local file to store the configuration
95 path: /etc/prometheus
tierno991e95d2020-07-21 12:41:25 +000096 uri: http://prometheus:9090/
tiernob996d942020-07-03 14:52:28 +000097 # loglevel: DEBUG
tierno991e95d2020-07-21 12:41:25 +000098 # logfile: /var/log/osm/lcm-tsdb.log