46de766e51
A few minor issues I noticed as I was going through the development environment setup. Fixes a typo and replaces deprecated config opt references with the new ones. Change-Id: Ib094595153e9b74706304f8328de74d07649b817
131 lines
3.0 KiB
Plaintext
131 lines
3.0 KiB
Plaintext
[DEFAULT]
|
|
########################
|
|
## General Configuration
|
|
########################
|
|
# Show debugging output in logs (sets DEBUG log level output)
|
|
debug = True
|
|
|
|
# Top-level directory for maintaining designate's state.
|
|
state_path = $pybasedir/state
|
|
|
|
# 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 command directly
|
|
# root_helper = sudo
|
|
|
|
# Supported record types
|
|
#supported_record_type = A, AAAA, CNAME, MX, SRV, TXT, SPF, NS, PTR, SSHFP, SOA
|
|
|
|
# RabbitMQ Config
|
|
transport_url = rabbit://designate:designate@127.0.0.1//
|
|
|
|
[oslo_messaging_notifications]
|
|
# Driver used for issuing notifications
|
|
driver = messaging
|
|
|
|
########################
|
|
## Service Configuration
|
|
########################
|
|
#-----------------------
|
|
# Central Service
|
|
#-----------------------
|
|
[service:central]
|
|
# Maximum domain name length
|
|
#max_domain_name_len = 255
|
|
|
|
# Maximum record name length
|
|
#max_record_name_len = 255
|
|
|
|
#-----------------------
|
|
# API Service
|
|
#-----------------------
|
|
[service:api]
|
|
# API host:port pairs to listen on
|
|
listen = 0.0.0.0:9001
|
|
|
|
# Authentication strategy to use - can be either "noauth" or "keystone"
|
|
auth_strategy = noauth
|
|
|
|
# Enable API Version 1
|
|
enable_api_v1 = True
|
|
|
|
# Enabled API Version 1 extensions
|
|
enabled_extensions_v1 = diagnostics, quotas, reports, sync, touch
|
|
|
|
# Enable API Version 2
|
|
enable_api_v2 = True
|
|
|
|
# Enabled API Version 2 extensions
|
|
enabled_extensions_v2 = quotas, reports
|
|
|
|
#-----------------------
|
|
# mDNS Service
|
|
#-----------------------
|
|
[service:mdns]
|
|
#workers = None
|
|
#host = 0.0.0.0
|
|
#port = 5354
|
|
#tcp_backlog = 100
|
|
|
|
#-----------------------
|
|
# Worker Service
|
|
#-----------------------
|
|
[service:worker]
|
|
# Whether to send events to worker instead of Pool Manager
|
|
enabled = True
|
|
#workers = None
|
|
#threads = 1000
|
|
#threshold_percentage = 100
|
|
#poll_timeout = 30
|
|
#poll_retry_interval = 15
|
|
#poll_max_retries = 10
|
|
#poll_delay = 5
|
|
#notify = True
|
|
|
|
#-----------------------
|
|
# Producer Service
|
|
#-----------------------
|
|
[service:producer]
|
|
#workers = None
|
|
#threads = 1000
|
|
#enabled_tasks = None
|
|
#export_synchronous = True
|
|
|
|
#------------------------
|
|
# Deleted domains purging
|
|
#------------------------
|
|
[producer_task:domain_purge]
|
|
#interval = 3600 # 1h
|
|
#batch_size = 100
|
|
#time_threshold = 604800 # 7 days
|
|
|
|
#------------------------
|
|
# Delayed zones NOTIFY
|
|
#------------------------
|
|
[producer_task:delayed_notify]
|
|
#interval = 5
|
|
|
|
#------------------------
|
|
# Worker Periodic Recovery
|
|
#------------------------
|
|
[producer_task:worker_periodic_recovery]
|
|
#interval = 120
|
|
|
|
########################
|
|
## Storage Configuration
|
|
########################
|
|
#-----------------------
|
|
# SQLAlchemy Storage
|
|
#-----------------------
|
|
[storage:sqlalchemy]
|
|
# Database connection string - to configure options for a given implementation
|
|
# like sqlalchemy or other see below
|
|
connection = mysql+pymysql://root:password@127.0.0.1/designate?charset=utf8
|
|
#connection_debug = 100
|
|
#connection_trace = True
|
|
#sqlite_synchronous = True
|
|
#idle_timeout = 3600
|
|
#max_retries = 10
|
|
#retry_interval = 10
|
|
|