mirror of https://github.com/sipwise/ngcpcfg.git
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.
38 lines
1.8 KiB
38 lines
1.8 KiB
# directory name where ngcpcfg is managed through git
|
|
[ -n "${NGCPCTL_BASE:-}" ] || NGCPCTL_BASE="$(pwd)/"
|
|
[ -n "${NGCPCTL_MAIN:-}" ] || NGCPCTL_MAIN="${NGCPCTL_BASE}/fixtures/repos/"
|
|
[ -n "${NGCPCTL_CONFIG:-}" ] || NGCPCTL_CONFIG="${NGCPCTL_MAIN}/config.yml"
|
|
[ -n "${HOST_CONFIG:-}" ] || HOST_CONFIG="${NGCPCTL_MAIN}/config.$(hostname).yml"
|
|
[ -n "${LOCAL_CONFIG:-}" ] || LOCAL_CONFIG="${NGCPCTL_MAIN}/config.local.yml"
|
|
[ -n "${CONSTANTS_CONFIG:-}" ] || CONSTANTS_CONFIG="${NGCPCTL_MAIN}/constants.yml"
|
|
[ -n "${NETWORK_CONFIG:-}" ] || NETWORK_CONFIG="${NGCPCTL_MAIN}/network_pro.yml"
|
|
[ -n "${RTP_INTERFACES_CONFIG:-}" ] || RTP_INTERFACES_CONFIG="/etc/ngcp-rtpengine-daemon/interfaces.yml"
|
|
[ -n "${EXTRA_CONFIG_DIR:-}" ] || EXTRA_CONFIG_DIR="${NGCPCTL_MAIN}/config.d/"
|
|
|
|
# configuration dirs that should be managed
|
|
[ -n "${CONFIG_POOL:-}" ] || CONFIG_POOL='/etc /var'
|
|
|
|
# location of templates
|
|
[ -n "${TEMPLATE_POOL_BASE:-}" ] || TEMPLATE_POOL_BASE="${NGCPCTL_MAIN}/templates"
|
|
|
|
# location of service definitions
|
|
[ -n "${SERVICES_POOL_BASE:-}" ] || SERVICES_POOL_BASE="${NGCPCTL_MAIN}/templates"
|
|
|
|
# Backward compatibility config for upgrade mr3.4*->mr3.5*
|
|
# it can be removed when the next LTS is released:
|
|
[ -n "${TEMPLATE_POOL:-}" ] || TEMPLATE_POOL="${TEMPLATE_POOL_BASE}/etc"
|
|
[ -n "${SERVICES_POOL:-}" ] || SERVICES_POOL="${SERVICES_POOL_BASE}/etc"
|
|
|
|
# timestamp format for console output
|
|
[ -n "${TIME_FORMAT:-}" ] || TIME_FORMAT="+%F %T"
|
|
|
|
# Run-time state directory
|
|
[ -n "${RUN_DIR:-}" ] || RUN_DIR='/var/run'
|
|
|
|
# directory holding files for internal state of ngcpcfg
|
|
[ -n "${STATE_FILES_DIR:-}" ] || STATE_FILES_DIR='/var/lib/ngcpcfg/state/'
|
|
|
|
# validate configs using kwalify schema
|
|
[ -n "${VALIDATE_SCHEMA:-}" ] || VALIDATE_SCHEMA="false"
|
|
## END OF FILE #################################################################
|