Matteo Scandolo | d2044a4 | 2017-08-07 16:08:28 -0700 | [diff] [blame] | 1 | |
| 2 | # Copyright 2017-present Open Networking Foundation |
| 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain 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, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | |
| 16 | |
Matteo Scandolo | 5687972 | 2017-05-17 21:39:54 -0700 | [diff] [blame] | 17 | DEFAULT_VALUES = { |
Matteo Scandolo | 6bc017c | 2017-05-25 18:37:42 -0700 | [diff] [blame] | 18 | 'xos_dir': '/opt/xos', |
Matteo Scandolo | 5687972 | 2017-05-17 21:39:54 -0700 | [diff] [blame] | 19 | 'logging': { |
Sapan Bhatia | 36a7169 | 2017-08-25 21:28:18 -0400 | [diff] [blame^] | 20 | 'version': 1, |
| 21 | 'handlers': { |
| 22 | 'console': { |
| 23 | 'class': 'logging.StreamHandler', |
| 24 | }, |
| 25 | 'file': { |
| 26 | 'class': 'logging.handlers.RotatingFileHandler', |
| 27 | 'filename': '/var/log/xos.log', |
| 28 | 'maxBytes': 10485760, |
| 29 | 'backupCount': 5 |
| 30 | } |
| 31 | }, |
| 32 | 'loggers': { |
| 33 | '': { |
| 34 | 'handlers': ['console', 'file'], |
| 35 | 'level': 'DEBUG' |
| 36 | } |
| 37 | } |
Matteo Scandolo | 1879ce7 | 2017-05-30 15:45:26 -0700 | [diff] [blame] | 38 | }, |
| 39 | 'accessor': { |
| 40 | 'endpoint': 'xos-core.cord.lab:50051', |
Scott Baker | aa084c8 | 2017-06-21 09:42:50 -0700 | [diff] [blame] | 41 | 'kind': 'grpcapi', |
Matteo Scandolo | 1879ce7 | 2017-05-30 15:45:26 -0700 | [diff] [blame] | 42 | }, |
| 43 | 'keep_temp_files': False, |
| 44 | 'enable_watchers': False, |
| 45 | 'dependency_graph': '/opt/xos/model-deps', |
| 46 | 'error_map_path': '/opt/xos/error_map.txt', |
| 47 | 'feefie': { |
| 48 | 'client_user': 'pl' |
| 49 | }, |
| 50 | 'proxy_ssh': { |
Sapan Bhatia | 36a7169 | 2017-08-25 21:28:18 -0400 | [diff] [blame^] | 51 | 'enabled': True, |
| 52 | 'key': '/opt/cord_profile/node_key', |
| 53 | 'user': 'root' |
Matteo Scandolo | 1879ce7 | 2017-05-30 15:45:26 -0700 | [diff] [blame] | 54 | }, |
| 55 | 'node_key': '/opt/cord_profile/node_key', |
| 56 | 'config_dir': '/etc/xos/sync', |
| 57 | 'backoff_disabled': True |
Scott Baker | aa084c8 | 2017-06-21 09:42:50 -0700 | [diff] [blame] | 58 | } |