ee842f2c83
Designate is using oslo.messaging so it should be using 'messaging' as its notification driver and not the now deprecated full python path to the oslo-incubator notification driver. Change-Id: Ic6896ce2606dd8d86a4c96ff570c51f3db4ac399
99 lines
2.5 KiB
Plaintext
99 lines
2.5 KiB
Plaintext
[DEFAULT]
|
|
########################
|
|
## General Configuration
|
|
########################
|
|
# Show more verbose log output (sets INFO log level output)
|
|
verbose = True
|
|
|
|
# Show debugging output in logs (sets DEBUG log level output)
|
|
debug = True
|
|
|
|
# Top-level directory for maintaining designate's state
|
|
state_path = /var/lib/designate
|
|
|
|
# Log directory #Make sure and create this directory, or set it to some other directory that exists
|
|
logdir = /var/log/designate
|
|
|
|
# Driver used for issuing notifications
|
|
notification_driver = messaging
|
|
|
|
# Use "sudo designate-rootwrap /etc/designate/rootwrap.conf" to use the real
|
|
# root filter facility.
|
|
# Change to "sudo" to skip the filtering and just run the comand directly
|
|
# root_helper = sudo
|
|
|
|
########################
|
|
## Service Configuration
|
|
########################
|
|
#-----------------------
|
|
# Central Service
|
|
#-----------------------
|
|
[service:central]
|
|
# Driver used for backend communication (e.g. fake, rpc, bind9, powerdns)
|
|
backend_driver = powerdns
|
|
|
|
# Maximum domain name length
|
|
max_domain_name_len = 255
|
|
|
|
# Maximum record name length
|
|
max_record_name_len = 255
|
|
|
|
#-----------------------
|
|
# API Service
|
|
#-----------------------
|
|
[service:api]
|
|
# Address to bind the API server
|
|
api_host = 0.0.0.0
|
|
|
|
# Port the bind the API server to
|
|
api_port = 9001
|
|
|
|
# Authentication strategy to use - can be either "noauth" or "keystone"
|
|
auth_strategy = keystone
|
|
|
|
# Enabled API Version 1 extensions
|
|
enabled_extensions_v1 = diagnostics, quotas, reports, sync
|
|
|
|
#-----------------------
|
|
# Keystone Middleware
|
|
#-----------------------
|
|
[keystone_authtoken]
|
|
auth_host = 127.0.0.1
|
|
auth_port = 35357
|
|
auth_protocol = http
|
|
admin_tenant_name = service
|
|
admin_user = designate
|
|
admin_password = designate
|
|
|
|
########################
|
|
## Storage Configuration
|
|
########################
|
|
#-----------------------
|
|
# SQLAlchemy Storage
|
|
#-----------------------
|
|
[storage:sqlalchemy]
|
|
# Database connection string - to configure options for a given implementation
|
|
# like sqlalchemy or other see below
|
|
connection = mysql://designate:designate@localhost/designate
|
|
#connection_debug = 100
|
|
#connection_trace = True
|
|
#sqlite_synchronous = True
|
|
idle_timeout = 3600
|
|
max_retries = 10
|
|
retry_interval = 10
|
|
|
|
########################
|
|
## Backend Configuration
|
|
########################
|
|
#-----------------------
|
|
# PowerDNS Backend
|
|
#-----------------------
|
|
[backend:powerdns]
|
|
connection = mysql://powerdns:powerdns@localhost/powerdns
|
|
#connection_debug = 100
|
|
#connection_trace = True
|
|
#sqlite_synchronous = True
|
|
idle_timeout = 3600
|
|
max_retries = 10
|
|
retry_interval = 10
|