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-config/ngcpcfg.cfg

59 lines
1.9 KiB

# Filename: /etc/ngcp-config/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"
# HA_CONFIG is deprecated, only for backwards compatibility.
HA_CONFIG="${NODE_FILE:+${NGCPCTL_MAIN}/config${NODE_FILE}.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"
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 instances info for templates
TEMPLATE_INSTANCES="${NGCPCTL_MAIN}/ngcpcfg.instances"
# 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"
NETWORK_CONFIG_USER="root"
NETWORK_CONFIG_GROUP="_ngcp-admin"
NETWORK_CONFIG_CHMOD="0660"
## END OF FILE #################################################################