Advertisement
Guest User

Untitled

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