blob: 845472cddfda9804bde06e876b87d37f07a494f5 [file] [log] [blame]
Zack Williams41513bf2018-07-07 20:08:35 -07001# Copyright 2017-present Open Networking Foundation
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
Zsolt Harasztic0aa8512016-09-12 23:42:26 -070014logging:
15 version: 1
16
17 formatters:
18 brief:
19 format: '%(message)s'
20 default:
Zsolt Haraszticd22adc2016-10-25 00:13:06 -070021 format: '%(asctime)s.%(msecs)03d %(levelname)-8s %(threadName)s %(module)s.%(funcName)s %(message)s'
Zsolt Harasztic0aa8512016-09-12 23:42:26 -070022 datefmt: '%Y%m%dT%H%M%S'
khenaidoo50b286d2018-03-02 17:44:30 -050023
Zsolt Harasztic0aa8512016-09-12 23:42:26 -070024 handlers:
25 console:
26 class : logging.StreamHandler
khenaidoocbff06b2017-08-22 16:26:32 -040027 level: DEBUG
Zsolt Harasztic0aa8512016-09-12 23:42:26 -070028 formatter: default
29 stream: ext://sys.stdout
khenaidoo80a7f572017-04-05 14:17:16 -050030 localRotatingFile:
31 class: logging.handlers.RotatingFileHandler
32 filename: voltha.log
33 formatter: default
34 maxBytes: 2097152
35 backupCount: 10
khenaidoocbff06b2017-08-22 16:26:32 -040036 level: DEBUG
Zsolt Harasztic0aa8512016-09-12 23:42:26 -070037 null:
38 class: logging.NullHandler
39
40 loggers:
41 amqp:
42 handlers: [null]
43 propagate: False
44 conf:
Zsolt Harasztic0aa8512016-09-12 23:42:26 -070045 propagate: False
46 '': # root logger
khenaidoo50b286d2018-03-02 17:44:30 -050047 handlers: [console, localRotatingFile]
Zsolt Haraszti1420def2016-09-18 00:07:31 -070048 level: INFO # this can be bumped up/down by -q and -v command line
49 # options
Zsolt Harasztic0aa8512016-09-12 23:42:26 -070050 propagate: False
Rouzbahan Rashidi-Tabrizi1c3eba82016-10-27 21:47:18 -040051
khenaidoo80a7f572017-04-05 14:17:16 -050052core:
53 management_vlan: 4091
54
Rouzbahan Rashidi-Tabrizi1c3eba82016-10-27 21:47:18 -040055coordinator:
56 voltha_kv_prefix: 'service/voltha'
khenaidoo032d3302017-06-09 14:50:04 -040057 core_store_key: 'data/core'
Rouzbahan Rashidi-Tabrizi1c3eba82016-10-27 21:47:18 -040058 leader_key: 'leader'
59 membership_key: 'members'
60 assignment_key: 'assignments'
61 workload_key: 'work'
62 membership_watch_relatch_delay: 0.1
khenaidoo686f7bd2017-08-11 11:41:33 -040063 membership_maintenance_loop_delay: 5
Rouzbahan Rashidi-Tabrizi1c3eba82016-10-27 21:47:18 -040064 tracking_loop_delay: 1
khenaidoo5431e4c2017-08-17 15:05:40 -040065 session_time_to_live: 60
66 session_renewal_loop_delay: 10
67 session_renewal_timeout: 10
Rouzbahan Rashidi-Tabrizi1c3eba82016-10-27 21:47:18 -040068
69worker:
70 time_to_let_leader_update: 5
71 assignments_track_error_to_avoid_flood: 1
72
73leader:
74 workload_track_error_to_prevent_flood: 1
75 members_track_error_to_prevent_flood: 1
Zsolt Haraszti99509d32016-12-10 16:41:45 -080076
77kafka-proxy:
78 event_bus_publisher:
79 topic_mappings:
80 'model-change-events':
81 kafka_topic: 'voltha.events'
82 filters: [null]
83 'alarms':
84 kafka_topic: 'voltha.alarms'
85 filters: [null]
86 'kpis':
87 kafka_topic: 'voltha.kpis'
88 filters: [null]
khenaidoo80a7f572017-04-05 14:17:16 -050089