| tierno | 2e21551 | 2018-11-28 09:37:52 +0000 | [diff] [blame^] | 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 | ## |
| tierno | c0e42e2 | 2018-05-11 11:36:10 +0200 | [diff] [blame] | 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 |
| tierno | 5506404 | 2018-10-15 18:14:12 +0200 | [diff] [blame] | 22 | # logfile: /app/log # or /var/log/osm/lcm.log |
| tierno | 86aa62f | 2018-08-20 11:57:04 +0000 | [diff] [blame] | 23 | # nologging: True # do no log to stdout/stderr |
| tierno | c0e42e2 | 2018-05-11 11:36:10 +0200 | [diff] [blame] | 24 | |
| 25 | #[RO] |
| 26 | RO: |
| 27 | host: ro # hostname or IP |
| 28 | port: 9090 |
| 29 | tenant: osm |
| tierno | 17a612f | 2018-10-23 11:30:42 +0200 | [diff] [blame] | 30 | # loglevel: DEBUG |
| tierno | 86aa62f | 2018-08-20 11:57:04 +0000 | [diff] [blame] | 31 | # logfile: /var/log/osm/lcm-ro.log |
| tierno | c0e42e2 | 2018-05-11 11:36:10 +0200 | [diff] [blame] | 32 | |
| 33 | #[VCA] |
| 34 | VCA: |
| 35 | host: vca |
| 36 | port: 17070 |
| 37 | user: admin |
| 38 | secret: secret |
| tierno | 17a612f | 2018-10-23 11:30:42 +0200 | [diff] [blame] | 39 | # loglevel: DEBUG |
| tierno | 86aa62f | 2018-08-20 11:57:04 +0000 | [diff] [blame] | 40 | # logfile: /var/log/osm/lcm-vca.log |
| tierno | c0e42e2 | 2018-05-11 11:36:10 +0200 | [diff] [blame] | 41 | |
| 42 | #[database] |
| 43 | database: |
| 44 | driver: mongo # mongo or memory |
| 45 | host: mongo # hostname or IP |
| 46 | port: 27017 |
| 47 | name: osm |
| tierno | 17a612f | 2018-10-23 11:30:42 +0200 | [diff] [blame] | 48 | # user: user |
| 49 | # password: password |
| tierno | b6541cf | 2018-11-12 12:17:30 +0100 | [diff] [blame] | 50 | # commonkey: "XXXXXX" # password used for encryption of sensible information |
| tierno | 17a612f | 2018-10-23 11:30:42 +0200 | [diff] [blame] | 51 | # loglevel: DEBUG |
| tierno | 86aa62f | 2018-08-20 11:57:04 +0000 | [diff] [blame] | 52 | # logfile: /var/log/osm/lcm-database.log |
| tierno | c0e42e2 | 2018-05-11 11:36:10 +0200 | [diff] [blame] | 53 | |
| 54 | #[storage] |
| 55 | storage: |
| 56 | driver: local # local filesystem |
| 57 | # for local provide file path |
| 58 | path: /app/storage |
| tierno | 17a612f | 2018-10-23 11:30:42 +0200 | [diff] [blame] | 59 | # loglevel: DEBUG |
| tierno | 86aa62f | 2018-08-20 11:57:04 +0000 | [diff] [blame] | 60 | # logfile: /var/log/osm/lcm-storage.log |
| tierno | c0e42e2 | 2018-05-11 11:36:10 +0200 | [diff] [blame] | 61 | |
| 62 | #[message] |
| 63 | message: |
| 64 | driver: kafka # local or kafka |
| 65 | # for local provide file path |
| 66 | path: /app/storage/kafka |
| 67 | # for kafka provide host and port |
| 68 | host: kafka |
| 69 | port: 9092 |
| tierno | 17a612f | 2018-10-23 11:30:42 +0200 | [diff] [blame] | 70 | # loglevel: DEBUG |
| tierno | 86aa62f | 2018-08-20 11:57:04 +0000 | [diff] [blame] | 71 | # logfile: /var/log/osm/lcm-message.log |