Advertisement
Guest User

Untitled

a guest
Jan 21st, 2015
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.68 KB | None | 0 0
  1. [DEFAULT]
  2. ########################
  3. ## General Configuration
  4. ########################
  5. # Show more verbose log output (sets INFO log level output)
  6. verbose = True
  7.  
  8. # Show debugging output in logs (sets DEBUG log level output)
  9. debug = True
  10.  
  11. # Top-level directory for maintaining designate's state
  12. state_path = /root/designate-stable-icehouse
  13.  
  14. # Log Configuration
  15. #log_config = None
  16.  
  17. # Log directory
  18. logdir = /var/log/designate
  19.  
  20. # Driver used for issuing notifications
  21. #notification_driver = designate.openstack.common.notifier.rpc_notifier
  22.  
  23. # Notification Topics
  24. notification_topics = notifications
  25.  
  26. # Use "sudo designate-rootwrap /etc/designate/rootwrap.conf" to use the real
  27. # root filter facility.
  28. # Change to "sudo" to skip the filtering and just run the comand directly
  29. root_helper = sudo
  30.  
  31. # Which networking API to use, Defaults to neutron
  32. #network_api = neutron
  33.  
  34. # RabbitMQ Config
  35. rabbit_userid = designate
  36. rabbit_password = designate
  37. rabbit_virtual_host = /
  38. rabbit_use_ssl = False
  39. rabbit_hosts = 10.140.230.167:5672
  40.  
  41. ########################
  42. ## Service Configuration
  43. ########################
  44. #-----------------------
  45. # Central Service
  46. #-----------------------
  47. [service:central]
  48. # Driver used for backend communication (e.g. fake, rpc, bind9, powerdns)
  49. backend_driver = powerdns
  50.  
  51. # Maximum domain name length
  52. max_domain_name_len = 255
  53.  
  54. # Maximum record name length
  55. max_record_name_len = 255
  56.  
  57.  
  58. ## Managed resources settings
  59.  
  60. # Email to use for managed resources like domains created by the FloatingIP API
  61. #managed_resource_email = root@example.io.
  62.  
  63. # Tenant ID to own all managed resources - like auto-created records etc.
  64. #managed_resource_tenant_id = 123456
  65.  
  66. #-----------------------
  67. # API Service
  68. #-----------------------
  69. [service:api]
  70. # Address to bind the API server
  71. api_host = 0.0.0.0
  72.  
  73. # Port the bind the API server to
  74. api_port = 9001
  75.  
  76. # Authentication strategy to use - can be either "noauth" or "keystone"
  77. auth_strategy = noauth
  78.  
  79. # Enable Version 1 API
  80. #enable_api_v1 = True
  81.  
  82. # Enable Version 2 API (experimental)
  83. #enable_api_v2 = False
  84.  
  85. # Show the pecan HTML based debug interface (v2 only)
  86. #pecan_debug = False
  87.  
  88. # Enabled API Version 1 extensions
  89. enabled_extensions_v1 = diagnostics, quotas, reports, sync, touch
  90.  
  91. #-----------------------
  92. # Keystone Middleware
  93. #-----------------------
  94. [keystone_authtoken]
  95. auth_host = 127.0.0.1
  96. auth_port = 35357
  97. auth_protocol = http
  98. admin_tenant_name = service
  99. admin_user = designate
  100. admin_password = designate
  101.  
  102. #-----------------------
  103. # Agent Service
  104. #-----------------------
  105. [service:agent]
  106. # Driver used for backend communication (e.g. bind9, powerdns)
  107. #backend_driver = bind9
  108.  
  109. #-----------------------
  110. # Sink Service
  111. #-----------------------
  112. [service:sink]
  113. # List of notification handlers to enable, configuration of these needs to
  114. # correspond to a [handler:my_driver] section below or else in the config
  115. enabled_notification_handlers = nova_fixed
  116.  
  117. ##############
  118. ## Network API
  119. ##############
  120. [network_api:neutron]
  121. #endpoints = RegionOne|http://localhost:9696
  122. #endpoint_type = publicURL
  123. #timeout = 30
  124. #admin_username = designate
  125. #admin_password = designate
  126. #admin_tenant_name = admin
  127. #auth_url = http://localhost:35357/v2.0
  128. #insecure = False
  129. #auth_strategy = keystone
  130. #ca_certificates_file = /etc/path/to/ca.pem
  131.  
  132. ########################
  133. ## Storage Configuration
  134. ########################
  135. #-----------------------
  136. # SQLAlchemy Storage
  137. #-----------------------
  138. [storage:sqlalchemy]
  139. # Database connection string - to configure options for a given implementation
  140. # like sqlalchemy or other see below
  141. database_connection = mysql://designate:password@127.0.0.1/designate
  142. connection_debug = 100
  143. connection_trace = True
  144. #sqlite_synchronous = True
  145. idle_timeout = 3600
  146. max_retries = 10
  147. retry_interval = 10
  148.  
  149. ########################
  150. ## Handler Configuration
  151. ########################
  152. #-----------------------
  153. # Nova Fixed Handler
  154. #-----------------------
  155. [handler:nova_fixed]
  156. domain_id = b3ab72e7-fb04-44e4-ab9c-347e706c636c
  157. notification_topics = notifications-designate
  158. control_exchange = 'openstack'
  159. #format = '%(octet0)s-%(octet1)s-%(octet2)s-%(octet3)s.%(domain)s'
  160. format = '%(display_name)s.%(domain)s'
  161.  
  162. #------------------------
  163. # Neutron Floating Handler
  164. #------------------------
  165. [handler:neutron_floatingip]
  166. #domain_id = <random uuid>
  167. #notification_topics = monitor
  168. #control_exchange = 'neutron'
  169. #format = '%(octet0)s-%(octet1)s-%(octet2)s-%(octet3)s.%(domain)s'
  170.  
  171.  
  172. ########################
  173. ## Backend Configuration
  174. ########################
  175. #-----------------------
  176. # Bind9 Backend
  177. #-----------------------
  178. [backend:bind9]
  179. #rndc_host = 127.0.0.1
  180. #rndc_port = 953
  181. #rndc_config_file = /etc/rndc.conf
  182. #rndc_key_file = /etc/rndc.key
  183.  
  184. #-----------------------
  185. # Bind9+MySQL Backend
  186. #-----------------------
  187. [backend:mysqlbind9]
  188. #database_connection = mysql://user:password@host/schema
  189. #rndc_host = 127.0.0.1
  190. #rndc_port = 953
  191. #rndc_config_file = /etc/rndc.conf
  192. #rndc_key_file = /etc/rndc.key
  193. #write_database = True
  194. #dns_server_type = master
  195.  
  196. #-----------------------
  197. # PowerDNS Backend
  198. #-----------------------
  199. [backend:powerdns]
  200. database_connection = mysql://pdns:password@127.0.0.1/pdns
  201. connection_debug = 100
  202. connection_trace = False
  203. sqlite_synchronous = True
  204. idle_timeout = 3600
  205. max_retries = 10
  206. retry_interval = 10
  207.  
  208. #-----------------------
  209. # NSD4Slave Backend
  210. #-----------------------
  211. [backend:nsd4slave]
  212. #keyfile =/etc/nsd/nsd_control.key
  213. #certfile = /etc/nsd/nsd_control.pem
  214. #servers = 127.0.0.1,127.0.1.1:4242
  215. #pattern = slave
  216.  
  217. #-----------------------
  218. # Multi Backend
  219. #-----------------------
  220. [backend:multi]
  221. #master = fake
  222. #slave = fake
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement