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

50 lines
2.4 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.spce.yml"
[ -n "${LOCAL_CONFIG:-}" ] || LOCAL_CONFIG="${NGCPCTL_MAIN}/constants_local_ce.yml"
[ -n "${CONSTANTS_CONFIG:-}" ] || CONSTANTS_CONFIG="${NGCPCTL_MAIN}/constants.yml"
[ -n "${NETWORK_CONFIG:-}" ] || NETWORK_CONFIG="${NGCPCTL_MAIN}/network.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='/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"
# file ownership and permissions for YML files
[ -n "${CONFIG_USER:-}" ] || CONFIG_USER="root"
[ -n "${CONFIG_GROUP:-}" ] || CONFIG_GROUP="_ngcp-admin"
[ -n "${CONFIG_CHMOD:-}" ] || CONFIG_CHMOD="0660"
[ -n "${CONSTANTS_CONFIG_USER:-}" ] || CONSTANTS_CONFIG_USER="root"
[ -n "${CONSTANTS_CONFIG_GROUP:-}" ] || CONSTANTS_CONFIG_GROUP="root"
[ -n "${CONSTANTS_CONFIG_CHMOD:-}" ] || CONSTANTS_CONFIG_CHMOD="0600"
[ -n "${NETWORK_CONFIG_USER:-}" ] || NETWORK_CONFIG_USER="root"
[ -n "${NETWORK_CONFIG_GROUP:-}" ] || NETWORK_CONFIG_GROUP="_ngcp-admin"
[ -n "${NETWORK_CONFIG_CHMOD:-}" ] || NETWORK_CONFIG_CHMOD="0660"
## END OF FILE #################################################################