blob: afed38755855e425b4f8570836534d0c2a331bc8 [file] [log] [blame]
Matteo Scandolod2044a42017-08-07 16:08:28 -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.
14
Matteo Scandolo56879722017-05-17 21:39:54 -070015DEFAULT_VALUES = {
Zack Williams045b63d2019-01-22 16:30:57 -070016 "xos_dir": "/opt/xos",
Sapan Bhatia06de76b2017-08-22 16:53:50 -040017 # The configuration below inherits from the standard config of the Python logging module
18 # See: https://docs.python.org/2/library/logging.config.html
19 # multistructlog supports this config in all of its generality
20 # So for instance, you can add new handlers. Note that all handlers will
21 # receive logs simultaneously.
Zack Williams045b63d2019-01-22 16:30:57 -070022 "blueprints": {},
23 "logging": {
24 "version": 1,
25 "handlers": {
26 "console": {"class": "logging.StreamHandler"},
27 "file": {
28 "class": "logging.handlers.RotatingFileHandler",
29 "filename": "/var/log/xos.log",
30 "maxBytes": 10485760,
31 "backupCount": 5,
Sapan Bhatia36a71692017-08-25 21:28:18 -040032 },
Sapan Bhatia36a71692017-08-25 21:28:18 -040033 },
Zack Williams045b63d2019-01-22 16:30:57 -070034 "loggers": {"": {"handlers": ["console", "file"], "level": "DEBUG"}},
Matteo Scandolo1879ce72017-05-30 15:45:26 -070035 },
Zack Williams045b63d2019-01-22 16:30:57 -070036 "accessor": {"endpoint": "xos-core.cord.lab:50051", "kind": "grpcapi"},
37 "keep_temp_files": False,
38 "dependency_graph": None,
39 "error_map_path": "/opt/xos/error_map.txt",
40 "feefie": {"client_user": "pl"},
41 "proxy_ssh": {"enabled": True, "key": "/opt/cord_profile/node_key", "user": "root"},
42 "node_key": "/opt/cord_profile/node_key",
43 "config_dir": "/etc/xos/sync",
44 "backoff_disabled": True,
45 "kafka_bootstrap_servers": ["cord-kafka:9092"],
Scott Bakeraa084c82017-06-21 09:42:50 -070046}