blob: 67d3ac95ed2088e5c5e748bc0e770b4ff5b98250 [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
25#[RO]
26RO:
27 host: ro # hostname or IP
28 port: 9090
29 tenant: osm
tierno17a612f2018-10-23 11:30:42 +020030 # loglevel: DEBUG
tierno86aa62f2018-08-20 11:57:04 +000031 # logfile: /var/log/osm/lcm-ro.log
tiernoc0e42e22018-05-11 11:36:10 +020032
33#[VCA]
34VCA:
35 host: vca
36 port: 17070
37 user: admin
tierno9597c292019-02-06 09:21:27 +000038 secret: secret
39 # pubkey: pubkey
40 # cacert: cacert
41
tierno17a612f2018-10-23 11:30:42 +020042 # loglevel: DEBUG
tierno86aa62f2018-08-20 11:57:04 +000043 # logfile: /var/log/osm/lcm-vca.log
tiernoc0e42e22018-05-11 11:36:10 +020044
45#[database]
46database:
47 driver: mongo # mongo or memory
48 host: mongo # hostname or IP
49 port: 27017
50 name: osm
tierno17a612f2018-10-23 11:30:42 +020051 # user: user
52 # password: password
tiernob6541cf2018-11-12 12:17:30 +010053 # commonkey: "XXXXXX" # password used for encryption of sensible information
tierno17a612f2018-10-23 11:30:42 +020054 # loglevel: DEBUG
tierno86aa62f2018-08-20 11:57:04 +000055 # logfile: /var/log/osm/lcm-database.log
tiernoc0e42e22018-05-11 11:36:10 +020056
57#[storage]
58storage:
59 driver: local # local filesystem
60 # for local provide file path
61 path: /app/storage
tierno17a612f2018-10-23 11:30:42 +020062 # loglevel: DEBUG
tierno86aa62f2018-08-20 11:57:04 +000063 # logfile: /var/log/osm/lcm-storage.log
tiernoc0e42e22018-05-11 11:36:10 +020064
65#[message]
66message:
Eduardo Sousaa86e6112018-12-19 13:36:58 +000067 driver: kafka # local or kafka
tiernoc0e42e22018-05-11 11:36:10 +020068 # for local provide file path
Eduardo Sousaa86e6112018-12-19 13:36:58 +000069 path: /app/storage/kafka
tiernoc0e42e22018-05-11 11:36:10 +020070 # for kafka provide host and port
Eduardo Sousaa86e6112018-12-19 13:36:58 +000071 host: kafka
72 port: 9092
tierno17a612f2018-10-23 11:30:42 +020073 # loglevel: DEBUG
tierno86aa62f2018-08-20 11:57:04 +000074 # logfile: /var/log/osm/lcm-message.log
Eduardo Sousaa86e6112018-12-19 13:36:58 +000075 group_id: lcm-server