Advertisement
Guest User

Untitled

a guest
Sep 2nd, 2015
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.50 KB | None | 0 0
  1. [DEFAULT]
  2. # Where an option is commented out, but filled in this shows the default
  3. # value of that option
  4.  
  5. ########################
  6. ## General Configuration
  7. ########################
  8. # Show more verbose log output (sets INFO log level output)
  9. verbose = True
  10.  
  11. # Show debugging output in logs (sets DEBUG log level output)
  12. debug = True
  13. notification_driver = messaging
  14. notification_topics = notifications_designate
  15.  
  16. # Top-level directory for maintaining designate's state
  17. #state_path = /var/lib/designate
  18.  
  19. # Log Configuration
  20. #log_config = None
  21.  
  22. # Log directory
  23. #logdir = /var/log/designate
  24.  
  25. # Driver used for issuing notifications
  26. #notification_driver = messaging
  27.  
  28. # Notification Topics
  29. #notification_topics = notifications
  30.  
  31. # Use "sudo designate-rootwrap /etc/designate/rootwrap.conf" to use the real
  32. # root filter facility.
  33. # Change to "sudo" to skip the filtering and just run the comand directly
  34. #root_helper = sudo designate-rootwrap /etc/designate/rootwrap.conf
  35.  
  36. # Which networking API to use, Defaults to neutron
  37. #network_api = neutron
  38.  
  39. # RabbitMQ Config
  40. #rabbit_userid = guest
  41. #rabbit_password = guest
  42. #rabbit_virtual_host = /
  43. #rabbit_use_ssl = False
  44. #rabbit_hosts = 127.0.0.1:5672
  45.  
  46. ########################
  47. ## Service Configuration
  48. ########################
  49. #-----------------------
  50. # Central Service
  51. #-----------------------
  52. [service:central]
  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. # Minimum TTL
  60. #min_ttl = None
  61.  
  62. ## Managed resources settings
  63.  
  64. # Email to use for managed resources like domains created by the FloatingIP API
  65. #managed_resource_email = hostmaster@example.com.
  66.  
  67. # Tenant ID to own all managed resources - like auto-created records etc.
  68. #managed_resource_tenant_id = 123456
  69.  
  70. #-----------------------
  71. # API Service
  72. #-----------------------
  73. [service:api]
  74. api_host = 0.0.0.0
  75. api_port = 9001
  76. auth_strategy = keystone
  77. enable_api_v1 = True
  78. enabled_extensions_v1 = diagnostics, quotas, reports, sync, touch
  79. enable_api_v2 = True
  80. enabled_extensions_v2 = quotas, reports
  81. # Address to bind the API server
  82. #api_host = 0.0.0.0
  83.  
  84. # Port the bind the API server to
  85. #api_port = 9001
  86.  
  87. # Authentication strategy to use - can be either "noauth" or "keystone"
  88. #auth_strategy = keystone
  89.  
  90. # Enable Version 1 API
  91. #enable_api_v1 = True
  92.  
  93. # Enabled API Version 1 extensions
  94. # Can be one or more of : diagnostics, quotas, reports, sync, touch
  95. #enabled_extensions_v1 =
  96.  
  97. # Enable Version 2 API (experimental)
  98. #enable_api_v2 = False
  99.  
  100. # Enabled API Version 2 extensions
  101. #enabled_extensions_v2 =
  102.  
  103. # Default page size in the V2 API
  104. #default_limit_v2 = 20
  105.  
  106. # Max page size in the V2 API
  107. #max_limit_v2 = 1000
  108.  
  109. # Enable Admin API (experimental)
  110. #enable_api_admin = False
  111.  
  112. # Enabled Admin API extensions
  113. # Can be one or more of : reports, quotas, counts, tenants, zones
  114. # zone import / export is in zones extension
  115. #enabled_extensions_admin =
  116.  
  117. # Show the pecan HTML based debug interface (v2 only)
  118. # This is only useful for development, and WILL break python-designateclient
  119. # if an error occurs
  120. #pecan_debug = False
  121.  
  122. #-----------------------
  123. # Keystone Middleware
  124. #-----------------------
  125. [keystone_authtoken]
  126. auth_uri = http://10.35.187.138:5000/v2.0
  127. identity_uri = http://10.35.187.138:35357
  128. admin_tenant_name = services
  129. admin_user = designate
  130. admin_password = ComplexAlphanumericPassword
  131. #auth_host = 127.0.0.1
  132. #auth_port = 35357
  133. #auth_protocol = http
  134. #admin_tenant_name = service
  135. #admin_user = designate
  136. #admin_password = designate
  137.  
  138. #-----------------------
  139. # Sink Service
  140. #-----------------------
  141. [service:sink]
  142. enabled_notification_handlers = nova_fixed, neutron_floatingip
  143. # List of notification handlers to enable, configuration of these needs to
  144. # correspond to a [handler:my_driver] section below or else in the config
  145. # Can be one or more of : nova_fixed, neutron_floatingip
  146. #enabled_notification_handlers =
  147.  
  148. #-----------------------
  149. # mDNS Service
  150. #-----------------------
  151. [service:mdns]
  152. #workers = None
  153. #host = 0.0.0.0
  154. #port = 5354
  155. #tcp_backlog = 100
  156. #all_tcp = False
  157.  
  158. #-----------------------
  159. # Agent Service
  160. #-----------------------
  161. [service:agent]
  162. #workers = None
  163. #host = 0.0.0.0
  164. #port = 5358
  165. #tcp_backlog = 100
  166. #allow_notify = 127.0.0.1
  167. #masters = 127.0.0.1:5354
  168. #backend_driver = fake
  169. #transfer_source = None
  170.  
  171.  
  172. #-----------------------
  173. # Pool Manager Service
  174. #-----------------------
  175. [service:pool_manager]
  176. pool_id = 794ccc2c-d751-44fe-b57f-8894c9f5c842
  177. #workers = None
  178. #pool_id = 794ccc2c-d751-44fe-b57f-8894c9f5c842
  179. #threshold_percentage = 100
  180. #poll_timeout = 30
  181. #poll_retry_interval = 2
  182. #poll_max_retries = 3
  183. #poll_delay = 1
  184. #periodic_recovery_interval = 120
  185. #periodic_sync_interval = 1800
  186. #periodic_sync_seconds = None
  187. #cache_driver = sqlalchemy
  188.  
  189. ##############
  190. ## Network API
  191. ##############
  192. [network_api:neutron]
  193. # Comma separated list of values, formatted "<name>|<neutron_uri>"
  194. #endpoints = RegionOne|http://localhost:9696
  195. #endpoint_type = publicURL
  196. #timeout = 30
  197. #admin_username = designate
  198. #admin_password = designate
  199. #admin_tenant_name = designate
  200. #auth_url = http://localhost:35357/v2.0
  201. #insecure = False
  202. #auth_strategy = keystone
  203. #ca_certificates_file =
  204.  
  205. ########################
  206. ## Storage Configuration
  207. ########################
  208. #-----------------------
  209. # SQLAlchemy Storage
  210. #-----------------------
  211. [storage:sqlalchemy]
  212. connection = mysql://designate:ComplexAlphanumericPassword@10.35.187.138/designate
  213. max_retries = -1
  214. # Database connection string - to configure options for a given implementation
  215. # like sqlalchemy or other see below
  216. #connection = sqlite:///$state_path/designate.sqlite
  217. #connection_debug = 0
  218. #connection_trace = False
  219. #sqlite_synchronous = True
  220. #idle_timeout = 3600
  221. #max_retries = 10
  222. #retry_interval = 10
  223.  
  224. ########################
  225. ## Handler Configuration
  226. ########################
  227. #-----------------------
  228. # Nova Fixed Handler
  229. #-----------------------
  230. [handler:nova_fixed]
  231. notification_topics = notifications_designate
  232. control_exchange = nova
  233. format = %(display_name)s.%(domain)s
  234. domain_id = de641237-8e3f-4479-9b60-376122c43dbe
  235. # Domain ID of domain to create records in. Should be pre-created
  236. #domain_id =
  237. #notification_topics = notifications
  238. #control_exchange = 'nova'
  239. #format = '%(octet0)s-%(octet1)s-%(octet2)s-%(octet3)s.%(domain)s'
  240.  
  241. #------------------------
  242. # Neutron Floating Handler
  243. #------------------------
  244. [handler:neutron_floatingip]
  245. notification_topics = notifications_designate
  246. control_exchange = neutron
  247. format = %(octet0)s-%(octet1)s-%(octet2)s-%(octet3)s.%(domain)s
  248. domain_id = de641237-8e3f-4479-9b60-376122c43dbe
  249. # Domain ID of domain to create records in. Should be pre-created
  250. #domain_id =
  251. #notification_topics = notifications
  252. #control_exchange = 'neutron'
  253. #format = '%(octet0)s-%(octet1)s-%(octet2)s-%(octet3)s.%(domain)s'
  254.  
  255. ###################################
  256. ## Pool Manager Cache Configuration
  257. ###################################
  258. #-----------------------
  259. # SQLAlchemy Pool Manager Cache
  260. #-----------------------
  261. [pool_manager_cache:sqlalchemy]
  262. connection = mysql://designate:ComplexAlphanumericPassword@10.35.187.138/designate_pool_manager
  263. max_retries = -1
  264. #connection = sqlite:///$state_path/designate_pool_manager.sqlite
  265. #connection_debug = 100
  266. #connection_trace = False
  267. #sqlite_synchronous = True
  268. #idle_timeout = 3600
  269. #max_retries = 10
  270. #retry_interval = 10
  271.  
  272. #-----------------------
  273. # Memcache Pool Manager Cache
  274. #-----------------------
  275. [pool_manager_cache:memcache]
  276. #memcached_servers = None
  277. #expiration = 3600
  278.  
  279. #####################
  280. ## Pool Configuration
  281. #####################
  282.  
  283. # This section does not have the defaults filled in but demonstrates an
  284. # example pool / server set up. Different backends will have different options.
  285.  
  286. #[pool:794ccc2c-d751-44fe-b57f-8894c9f5c842]
  287. #nameservers = 0f66b842-96c2-4189-93fc-1dc95a08b012
  288. #targets = f26e0b32-736f-4f0a-831b-039a415c481e
  289. #also_notifies = 192.0.2.1:53, 192.0.2.2:53
  290.  
  291. #[pool_nameserver:0f66b842-96c2-4189-93fc-1dc95a08b012]
  292. #port = 53
  293. #host = 192.168.27.100
  294.  
  295. #[pool_target:f26e0b32-736f-4f0a-831b-039a415c481e]
  296. #options = rndc_host: 192.168.27.100, rndc_port: 953, rndc_config_file: /etc/bind/rndc.conf, rndc_key_file: /etc/bind/rndc.key
  297. #masters = 192.168.27.100:5354
  298. #type = bind9
  299. #port = 53
  300. #host = 192.168.27.100
  301.  
  302. #############################
  303. ## Agent Backend Configuration
  304. #############################
  305. [backend:agent:bind9]
  306. #rndc_host = 127.0.0.1
  307. #rndc_port = 953
  308. #rndc_config_file = /etc/rndc.conf
  309. #rndc_key_file = /etc/rndc.key
  310. #zone_file_path = $state_path/zones
  311. #query_destination = 127.0.0.1
  312.  
  313. ########################
  314. ## Library Configuration
  315. ########################
  316. [oslo_concurrency]
  317. # Path for Oslo Concurrency to store lock files, defaults to the value
  318. # of the state_path setting.
  319. #lock_path = $state_path
  320.  
  321.  
  322. [oslo_messaging_rabbit]
  323. rabbit_hosts = 10.35.187.138:5672
  324. rabbit_ha_queues = False
  325. rabbit_host = 10.35.187.138
  326. rabbit_port = 5672
  327. rabbit_userid = amqp_user
  328. rabbit_password = ComplexAlphanumericPassword
  329. rabbit_virtual_host = /
  330.  
  331.  
  332. [pool:794ccc2c-d751-44fe-b57f-8894c9f5c842]
  333. nameservers = 1638aca4-bfa5-4fbd-9bc6-8eb4709bb038
  334. targets = 0f6f6f03-d76e-4e23-a914-e94376895785
  335.  
  336.  
  337. #[pool_target:d69ad665-bc3a-4c97-a88d-d62f11f39022]
  338. #type = powerdns
  339. #options =
  340.  
  341.  
  342. [pool_target:0f6f6f03-d76e-4e23-a914-e94376895785]
  343. type = powerdns
  344. options = connection: mysql://designate:ComplexAlphanumericPassword@10.35.187.138/designate_pdns?charset=utf8
  345. masters = 10.35.187.138:5354
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement