You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ngcpcfg/etc/ngcp-ngcpcfg/ngcpcfg.cfg

66 lines
2.1 KiB

# Filename: /etc/ngcp-ngcpcfg/ngcpcfg.cfg
# Purpose: main configuration file for ngcpcfg tools
# Note: do not modify unless you have a really good reason to do so
# This directive applies to the entire script
# shellcheck shell=bash
# shellcheck disable=SC2034
# directory name where ngcpcfg is managed through git
NGCPCTL_BASE='/etc'
NGCPCTL_MAIN="${NGCPCTL_BASE}/ngcp-config"
NGCPCTL_CONFIG="${NGCPCTL_MAIN}/config.yml"
GLOB_CONFIG="${NGCPCTL_MAIN}/config.*.yml"
NODE_CONFIG="${NODE_FILE:+${NGCPCTL_MAIN}/config${NODE_FILE}.yml}"
PAIR_CONFIG="${PAIR_FILE:+${NGCPCTL_MAIN}/config${PAIR_FILE}.yml}"
HOST_CONFIG="${NGCPCTL_MAIN}/config.$(ngcp-hostname).yml"
LOCAL_CONFIG="${NGCPCTL_MAIN}/config.local.yml"
CONSTANTS_CONFIG="${NGCPCTL_MAIN}/constants.yml"
MAINTENANCE_CONFIG="${NGCPCTL_MAIN}/maintenance.yml"
NETWORK_CONFIG="${NGCPCTL_MAIN}/network.yml"
RTP_INTERFACES_CONFIG="/etc/ngcp-rtpengine-daemon/interfaces.yml"
EXTRA_CONFIG_DIR="${NGCPCTL_MAIN}/config.d/"
# configuration dirs that should be managed
CONFIG_POOL='/etc /var'
# location of templates
TEMPLATE_POOL_BASE="${NGCPCTL_MAIN}/templates"
# location of service definitions
SERVICES_POOL_BASE="${NGCPCTL_MAIN}/templates"
# location of sites info for templates
SITES_DIR="${NGCPCTL_MAIN}/sites"
SITES_CONFIG="${NGCPCTL_MAIN}/sites.yml"
# location of instances info for templates
TEMPLATE_INSTANCES="${NGCPCTL_MAIN}/instances.yml"
# timestamp format for console output
TIME_FORMAT="+%F %T"
# Run-time state directory
RUN_DIR='/run'
# directory holding files for internal state of ngcpcfg
STATE_FILES_DIR='/var/lib/ngcpcfg/state/'
# validate configs using kwalify schema
VALIDATE_SCHEMA="true"
# file ownership and permissions for YML files
CONFIG_USER="root"
CONFIG_GROUP="_ngcp-admin"
CONFIG_CHMOD="0660"
CONSTANTS_CONFIG_USER="root"
CONSTANTS_CONFIG_GROUP="root"
CONSTANTS_CONFIG_CHMOD="0600"
MAINTENANCE_CONFIG_USER="root"
MAINTENANCE_CONFIG_GROUP="_ngcp-admin"
MAINTENANCE_CONFIG_CHMOD="0660"
NETWORK_CONFIG_USER="root"
NETWORK_CONFIG_GROUP="_ngcp-admin"
NETWORK_CONFIG_CHMOD="0660"
## END OF FILE #################################################################