| tierno | 7edb675 | 2016-03-21 17:37:52 +0100 | [diff] [blame] | 1 | ## |
| 2 | # Copyright 2015 Telefónica Investigación y Desarrollo, S.A.U. |
| 3 | # This file is part of openmano |
| 4 | # All Rights Reserved. |
| 5 | # |
| 6 | # Licensed under the Apache License, Version 2.0 (the "License"); you may |
| 7 | # not use this file except in compliance with the License. You may obtain |
| 8 | # a copy of the License at |
| 9 | # |
| 10 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | # |
| 12 | # Unless required by applicable law or agreed to in writing, software |
| 13 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
| 14 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
| 15 | # License for the specific language governing permissions and limitations |
| 16 | # under the License. |
| 17 | # |
| 18 | # For those usages not covered by the Apache License, Version 2.0 please |
| 19 | # contact with: nfvlabs@tid.es |
| 20 | ## |
| 21 | |
| 22 | #HTTP Server parameters (MANO API). IP address and port where openmanod listens |
| 23 | # IPtables/firewalld must allow this port |
| 24 | # for CentOS/Redhad firewalld is configured at '/etc/firewalld/services/openmanod.xml' |
| 25 | # edit this file and reload firewalld with 'firewall-cmd --reload' if port is changed |
| 26 | http_host: 0.0.0.0 # IP address, (by default, 0.0.0.0 means that it will listen in all interfaces) |
| 27 | http_port: 9090 # General port (by default, 9090) |
| 28 | #http_admin_port: 9095 # Admin port where openmano is listening (when missing, no administration server is launched) |
| 29 | # Not used in current version! |
| 30 | |
| tierno | 20fc2a2 | 2016-08-19 17:02:35 +0200 | [diff] [blame] | 31 | #Parameters for a VIM console access. Can be directly the VIM URL or a proxy to offer the openmano IP address |
| tierno | 00bdd8b | 2017-01-12 18:25:24 +0100 | [diff] [blame] | 32 | http_console_proxy: False #by default True. If False proxy is not implemented and VIM URL is offered. It is |
| tierno | 20fc2a2 | 2016-08-19 17:02:35 +0200 | [diff] [blame] | 33 | #assumed then, that client can access directly to the VIMs |
| 34 | #http_console_host: <ip> #by default the same as 'http_host'. However is openmano server is behind a NAT/proxy |
| 35 | #you should specify the public IP used to access the server. Also when 'http_host' is |
| 36 | #0.0.0.0 you should specify the concrete IP address (or name) the server is accessed |
| tierno | 7edb675 | 2016-03-21 17:37:52 +0100 | [diff] [blame] | 37 | # Ports to be used. Comma separated list. Can contain a {"from":<port>, "to":<port>} entry |
| 38 | #e.g. from 9000 to 9005: [{"from":9000, "to":9005}], or also [9000,9001,9002,9003,9004,9005] |
| 39 | #e.g. from 9000 to 9100 apart from 9050,9053: [{"from":9000, "to":9049},9051,9052,{"from":9054, "to":9099}] |
| 40 | http_console_ports: [{"from":9096, "to":9110}] |
| 41 | |
| 42 | #Database parameters |
| 43 | db_host: localhost # by default localhost |
| 44 | db_user: mano # DB user |
| 45 | db_passwd: manopw # DB password |
| 46 | db_name: mano_db # Name of the MANO DB |
| tierno | 639520f | 2017-04-05 19:55:36 +0200 | [diff] [blame] | 47 | # Database ovim parameters |
| 48 | db_ovim_host: localhost # by default localhost |
| 49 | db_ovim_user: mano # DB user |
| 50 | db_ovim_passwd: manopw # DB password |
| 51 | db_ovim_name: mano_vim_db # Name of the OVIM MANO DB |
| 52 | |
| tierno | 7edb675 | 2016-03-21 17:37:52 +0100 | [diff] [blame] | 53 | |
| 54 | #other MANO parameters |
| 55 | # Folder where the VNF descriptors will be stored |
| 56 | # The folder will be created in the execution folder if it does not exist |
| tierno | d29b1d3 | 2017-01-25 11:02:52 +0100 | [diff] [blame] | 57 | #vnf_repository: "./vnfrepo" # Use an absolute path to avoid misunderstandings |
| tierno | 7edb675 | 2016-03-21 17:37:52 +0100 | [diff] [blame] | 58 | |
| tierno | d29b1d3 | 2017-01-25 11:02:52 +0100 | [diff] [blame] | 59 | # Indicates if at VNF onboarding, flavors and images are loaded at all related VIMs, |
| 60 | # in order to speed up the later instantiation. |
| 61 | auto_push_VNF_to_VIMs: False # by default True |
| tierno | ae4a8d1 | 2016-07-08 12:30:39 +0200 | [diff] [blame] | 62 | |
| tierno | b13f3cc | 2016-09-26 10:14:44 +0200 | [diff] [blame] | 63 | #general logging parameters |
| tierno | 72f35a5 | 2016-07-15 13:18:30 +0200 | [diff] [blame] | 64 | #choose among: DEBUG, INFO, WARNING, ERROR, CRITICAL |
| 65 | log_level: DEBUG #general log levels for internal logging |
| tierno | 72f35a5 | 2016-07-15 13:18:30 +0200 | [diff] [blame] | 66 | #standard output is used unless 'log_file' is specify |
| 67 | #log_file: /var/log/openmano/openmano.log |
| tierno | f97fd27 | 2016-07-11 14:32:37 +0200 | [diff] [blame] | 68 | |
| tierno | b13f3cc | 2016-09-26 10:14:44 +0200 | [diff] [blame] | 69 | #individual logging settings |
| tierno | 73ad9e4 | 2016-09-12 18:11:11 +0200 | [diff] [blame] | 70 | #log_level_db: DEBUG #database log levels |
| tierno | b13f3cc | 2016-09-26 10:14:44 +0200 | [diff] [blame] | 71 | #log_file_db: /opt/openmano/logs/openmano_db.log |
| tierno | 73ad9e4 | 2016-09-12 18:11:11 +0200 | [diff] [blame] | 72 | #log_level_vim: DEBUG #VIM connection log levels |
| tierno | b13f3cc | 2016-09-26 10:14:44 +0200 | [diff] [blame] | 73 | #log_file_vim: /opt/openmano/logs/openmano_vimconn.log |
| tierno | 73ad9e4 | 2016-09-12 18:11:11 +0200 | [diff] [blame] | 74 | #log_level_nfvo: DEBUG #Main engine log levels |
| tierno | 1ae5134 | 2017-01-16 12:48:30 +0000 | [diff] [blame] | 75 | #log_file_nfvo: /opt/openmano/logs/openmano_nfvo.log |
| tierno | 73ad9e4 | 2016-09-12 18:11:11 +0200 | [diff] [blame] | 76 | #log_level_http: DEBUG #Main engine log levels |
| tierno | 1ae5134 | 2017-01-16 12:48:30 +0000 | [diff] [blame] | 77 | #log_file_http: /opt/openmano/logs/openmano_http.log |
| 78 | #log_level_console: DEBUG #proxy console log levels |
| 79 | #log_file_console: /opt/openmano/logs/openmano_console.log |
| tierno | 639520f | 2017-04-05 19:55:36 +0200 | [diff] [blame] | 80 | #log_level_ovim: DEBUG #ovim library log levels |
| 81 | #log_file_ovim: /opt/openmano/logs/openmano_ovim.log |
| tierno | 73ad9e4 | 2016-09-12 18:11:11 +0200 | [diff] [blame] | 82 | |
| tierno | f97fd27 | 2016-07-11 14:32:37 +0200 | [diff] [blame] | 83 | #Uncomment to send logs via IP to an external host |
| tierno | 72f35a5 | 2016-07-15 13:18:30 +0200 | [diff] [blame] | 84 | #log_socket_host: localhost |
| 85 | log_socket_port: 9022 |
| 86 | log_socket_level: DEBUG #general log levels for socket logging |