| 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 |
| tierno | 9597c29 | 2019-02-06 09:21:27 +0000 | [diff] [blame] | 38 | secret: secret |
| 39 | # pubkey: pubkey |
| 40 | # cacert: cacert |
| Adam Israel | 78770df | 2019-09-04 11:55:55 -0400 | [diff] [blame] | 41 | # apiproxy: apiproxy |
| tierno | 9597c29 | 2019-02-06 09:21:27 +0000 | [diff] [blame] | 42 | |
| tierno | 17a612f | 2018-10-23 11:30:42 +0200 | [diff] [blame] | 43 | # loglevel: DEBUG |
| tierno | 86aa62f | 2018-08-20 11:57:04 +0000 | [diff] [blame] | 44 | # logfile: /var/log/osm/lcm-vca.log |
| tierno | c0e42e2 | 2018-05-11 11:36:10 +0200 | [diff] [blame] | 45 | |
| 46 | #[database] |
| 47 | database: |
| 48 | driver: mongo # mongo or memory |
| 49 | host: mongo # hostname or IP |
| 50 | port: 27017 |
| 51 | name: osm |
| tierno | 17a612f | 2018-10-23 11:30:42 +0200 | [diff] [blame] | 52 | # user: user |
| 53 | # password: password |
| tierno | b6541cf | 2018-11-12 12:17:30 +0100 | [diff] [blame] | 54 | # commonkey: "XXXXXX" # password used for encryption of sensible information |
| tierno | 17a612f | 2018-10-23 11:30:42 +0200 | [diff] [blame] | 55 | # loglevel: DEBUG |
| tierno | 86aa62f | 2018-08-20 11:57:04 +0000 | [diff] [blame] | 56 | # logfile: /var/log/osm/lcm-database.log |
| tierno | c0e42e2 | 2018-05-11 11:36:10 +0200 | [diff] [blame] | 57 | |
| 58 | #[storage] |
| 59 | storage: |
| 60 | driver: local # local filesystem |
| 61 | # for local provide file path |
| 62 | path: /app/storage |
| tierno | 17a612f | 2018-10-23 11:30:42 +0200 | [diff] [blame] | 63 | # loglevel: DEBUG |
| tierno | 86aa62f | 2018-08-20 11:57:04 +0000 | [diff] [blame] | 64 | # logfile: /var/log/osm/lcm-storage.log |
| tierno | c0e42e2 | 2018-05-11 11:36:10 +0200 | [diff] [blame] | 65 | |
| 66 | #[message] |
| 67 | message: |
| Eduardo Sousa | a86e611 | 2018-12-19 13:36:58 +0000 | [diff] [blame] | 68 | driver: kafka # local or kafka |
| tierno | c0e42e2 | 2018-05-11 11:36:10 +0200 | [diff] [blame] | 69 | # for local provide file path |
| Eduardo Sousa | a86e611 | 2018-12-19 13:36:58 +0000 | [diff] [blame] | 70 | path: /app/storage/kafka |
| tierno | c0e42e2 | 2018-05-11 11:36:10 +0200 | [diff] [blame] | 71 | # for kafka provide host and port |
| Eduardo Sousa | a86e611 | 2018-12-19 13:36:58 +0000 | [diff] [blame] | 72 | host: kafka |
| 73 | port: 9092 |
| tierno | 17a612f | 2018-10-23 11:30:42 +0200 | [diff] [blame] | 74 | # loglevel: DEBUG |
| tierno | 86aa62f | 2018-08-20 11:57:04 +0000 | [diff] [blame] | 75 | # logfile: /var/log/osm/lcm-message.log |
| Eduardo Sousa | a86e611 | 2018-12-19 13:36:58 +0000 | [diff] [blame] | 76 | group_id: lcm-server |