blob: 6328bdfdd0537654ca376ab7b9c6e1e03df415a0 [file] [log] [blame]
tierno7edb6752016-03-21 17:37:52 +01001##
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
26http_host: 0.0.0.0 # IP address, (by default, 0.0.0.0 means that it will listen in all interfaces)
27http_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
31# Ports to be used. Comma separated list. Can contain a {"from":<port>, "to":<port>} entry
32#e.g. from 9000 to 9005: [{"from":9000, "to":9005}], or also [9000,9001,9002,9003,9004,9005]
33#e.g. from 9000 to 9100 apart from 9050,9053: [{"from":9000, "to":9049},9051,9052,{"from":9054, "to":9099}]
34http_console_ports: [{"from":9096, "to":9110}]
35
36#Database parameters
37db_host: localhost # by default localhost
38db_user: mano # DB user
39db_passwd: manopw # DB password
40db_name: mano_db # Name of the MANO DB
41
42#other MANO parameters
43# Folder where the VNF descriptors will be stored
44# The folder will be created in the execution folder if it does not exist
tierno72f35a52016-07-15 13:18:30 +020045#vnf_repository: "./vnfrepo" # Use an absolute path to avoid misunderstandings
tierno7edb6752016-03-21 17:37:52 +010046
tiernoae4a8d12016-07-08 12:30:39 +020047
tierno72f35a52016-07-15 13:18:30 +020048#logging parameters for internal file stororage
49 #choose among: DEBUG, INFO, WARNING, ERROR, CRITICAL
50log_level: DEBUG #general log levels for internal logging
tiernof97fd272016-07-11 14:32:37 +020051log_level_db: DEBUG #database log levels
52log_level_vimconn: DEBUG #VIM connection log levels
53log_level_nfvo: DEBUG #Main engine log levels
tierno72f35a52016-07-15 13:18:30 +020054#standard output is used unless 'log_file' is specify
55#log_file: /var/log/openmano/openmano.log
tiernof97fd272016-07-11 14:32:37 +020056
57#Uncomment to send logs via IP to an external host
tierno72f35a52016-07-15 13:18:30 +020058#log_socket_host: localhost
59log_socket_port: 9022
60log_socket_level: DEBUG #general log levels for socket logging