# turn on all the vitrage services by default
# API service
enable_service vitrage-api
# Graph
enable_service vitrage-graph
# Notifier
enable_service vitrage-notifier
# machine_learning
enable_service vitrage-ml
# Persistor
enable_service vitrage-persistor
# snmp_parsing
enable_service vitrage-snmp-parsing

# Default directories
VITRAGE_DIR=$DEST/vitrage
VITRAGE_CONF_DIR=/etc/vitrage
VITRAGE_CONF=$VITRAGE_CONF_DIR/vitrage.conf
VITRAGE_AUTH_CACHE_DIR=${VITRAGE_AUTH_CACHE_DIR:-/var/cache/vitrage}
VITRAGE_WSGI_DIR=${VITRAGE_WSGI_DIR:-/var/www/vitrage}
VITRAGE_UWSGI_FILE=$VITRAGE_CONF_DIR/vitrage-uwsgi.ini
VITRAGE_PUBLIC_UWSGI=$VITRAGE_DIR/vitrage/api/app.wsgi

# Set up database backend
VITRAGE_DATABASE=${VITRAGE_DATABASE:-mysql}

# Vitrage connection info.
VITRAGE_SERVICE_PROTOCOL=$SERVICE_PROTOCOL
VITRAGE_SERVICE_HOST=$SERVICE_HOST
VITRAGE_SERVICE_PORT=${VITRAGE_SERVICE_PORT:-8999}

# Toggle for deploying Vitrage with/without nagios
VITRAGE_USE_NAGIOS=$(trueorfalse False VITRAGE_USE_NAGIOS)

VITRAGE_USE_STATIC=$(trueorfalse False VITRAGE_USE_STATIC)
VITRAGE_USE_DOCTOR=$(trueorfalse False VITRAGE_USE_DOCTOR)
VITRAGE_USE_PROMETHEUS=$(trueorfalse False VITRAGE_USE_PROMETHEUS)

VITRAGE_DEFAULT_DATASOURCES=${VITRAGE_DEFAULT_DATASOURCES:-nova.host,nova.instance,nova.zone,nagios,static,aodh,cinder.volume,neutron.network,neutron.port,heat.stack,doctor,prometheus,trove.instance,trove.cluster,monasca}

# admin details
admin_project_name=${ADMIN_TENANT_NAME:-admin}
admin_domain_name=${ADMIN_DOMAIN_NAME:-Default}
