45dfb5417c
1. for centos, use @SYSCONFDIR@ to represent %{_sysconfdir} which is determined in spec file and could be different in different Linux. 2. use @PYTHONROOT@ to represent the actual %{pythonroot} which is determined in spec file or other packaging file. For example, for python2.7, %{pythonroot} could be "/usr/lib64/python2.7/site-packages" or "/usr/lib64/python3.x/site-packages" for python3.x respectively. 3. test method: 1). run "build-pkgs" and "build-iso", and then check src RPM "nfv-1.0-75.tis.src.rpm" in which related scripts are correctly set with @SYSCONFDIR@ and @PYTHONROOT@. Also check CentOS binary RPM "nfv-vim-1.0-75.tis.x86_64.rpm" to assure @SYSCONFDIR@ is correctly replaced by "/etc" for CentOS and "@PYTHON@" is actually updated to "/usr/lib64/python2.7/site-packages/" for python2.7. 2). use the newly built iso, install StarlingX system on virtual or bare metal, and check basic functionalities. Story: 2004039 Task: 27043 Depends-On: https://review.openstack.org/#/c/611725/ Change-Id: Ie6e05d24a476fe2977f1003d23f747f5a0b779a3 Signed-off-by: Yong Hu <yong.hu@intel.com>
64 lines
1.4 KiB
INI
Executable File
64 lines
1.4 KiB
INI
Executable File
#
|
|
# Copyright (c) 2015-2016 Wind River Systems, Inc.
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
[debug]
|
|
config_file=@SYSCONFDIR@/nfv/vim/debug.ini
|
|
handlers=syslog, stdout
|
|
syslog_address=/dev/log
|
|
syslog_facility=user
|
|
|
|
[database]
|
|
database_dir=/var/lib/vim
|
|
|
|
[alarm]
|
|
namespace= nfv_vim.alarm.handlers.v1
|
|
handlers=File-Storage, Fault-Management
|
|
audit_interval=30
|
|
config_file=@SYSCONFDIR@/nfv/nfv_plugins/alarm_handlers/config.ini
|
|
|
|
[event-log]
|
|
namespace=nfv_vim.event_log.handlers.v1
|
|
handlers=File-Storage, Event-Log-Management
|
|
config_file=@SYSCONFDIR@/nfv/nfv_plugins/event_log_handlers/config.ini
|
|
|
|
[nfvi]
|
|
namespace=nfv_vim.nfvi.plugins.v1
|
|
config_file=@SYSCONFDIR@/nfv/nfv_plugins/nfvi_plugins/config.ini
|
|
|
|
[host-configuration]
|
|
max_host_deleting_wait_in_secs=60
|
|
|
|
[instance-configuration]
|
|
single_hypervisor=false
|
|
max_concurrent_migrates_per_host=1
|
|
max_concurrent_evacuates_per_host=1
|
|
max_live_migrate_wait_in_secs=800
|
|
max_live_migrate_wait_in_secs_min=120
|
|
max_live_migrate_wait_in_secs_max=800
|
|
max_cold_migrate_wait_in_secs=900
|
|
max_resize_wait_in_secs=900
|
|
max_evacuate_wait_in_secs=900
|
|
max_cold_migrate_local_image_disk_gb=60
|
|
max_cold_migrate_local_lvm_disk_gb=20
|
|
max_evacuate_local_image_disk_gb=60
|
|
max_evacuate_local_lvm_disk_gb=20
|
|
|
|
[sw-mgmt-configuration]
|
|
|
|
[vim]
|
|
rpc_host=127.0.0.1
|
|
rpc_port=4343
|
|
|
|
[vim-api]
|
|
host=0.0.0.0
|
|
port=4545
|
|
rpc_host=127.0.0.1
|
|
rpc_port=0
|
|
|
|
[vim-webserver]
|
|
host=127.0.0.1
|
|
port=32323
|
|
source_dir=@PYTHONROOT@/nfv_vim/webserver
|