Retrieve secrets using Secret Management Service
[optf/has.git] / conductor.conf
1 [DEFAULT]
2
3 #
4 # From conductor
5 #
6
7 # Configuration file for WSGI definition of API. (string value)
8 #api_paste_config = api_paste.ini
9
10 # Music keyspace for content (string value)
11 #keyspace = conductor
12
13 # Delay time (Seconds) for MUSIC requests. Set it to 2 seconds by default.
14 # (integer value)
15 #delay_time = 2
16
17 # (boolean value)
18 #HPA_enabled = true
19
20 #
21 # From oslo.log
22 #
23
24 # If set to true, the logging level will be set to DEBUG instead of the default
25 # INFO level. (boolean value)
26 # Note: This option can be changed without restarting.
27 #debug = false
28
29 # The name of a logging configuration file. This file is appended to any
30 # existing logging configuration files. For details about logging configuration
31 # files, see the Python logging module documentation. Note that when logging
32 # configuration files are used then all logging configuration is set in the
33 # configuration file and other logging configuration options are ignored (for
34 # example, logging_context_format_string). (string value)
35 # Note: This option can be changed without restarting.
36 # Deprecated group/name - [DEFAULT]/log_config
37 #log_config_append = <None>
38
39 # Defines the format string for %%(asctime)s in log records. Default:
40 # %(default)s . This option is ignored if log_config_append is set. (string
41 # value)
42 #log_date_format = %Y-%m-%d %H:%M:%S
43
44 # (Optional) Name of log file to send logging output to. If no default is set,
45 # logging will go to stderr as defined by use_stderr. This option is ignored if
46 # log_config_append is set. (string value)
47 # Deprecated group/name - [DEFAULT]/logfile
48 #log_file = <None>
49
50 # (Optional) The base directory used for relative log_file  paths. This option
51 # is ignored if log_config_append is set. (string value)
52 # Deprecated group/name - [DEFAULT]/logdir
53 #log_dir = <None>
54
55 # Uses logging handler designed to watch file system. When log file is moved or
56 # removed this handler will open a new log file with specified path
57 # instantaneously. It makes sense only if log_file option is specified and
58 # Linux platform is used. This option is ignored if log_config_append is set.
59 # (boolean value)
60 #watch_log_file = false
61
62 # Use syslog for logging. Existing syslog format is DEPRECATED and will be
63 # changed later to honor RFC5424. This option is ignored if log_config_append
64 # is set. (boolean value)
65 #use_syslog = false
66
67 # Enable journald for logging. If running in a systemd environment you may wish
68 # to enable journal support. Doing so will use the journal native protocol
69 # which includes structured metadata in addition to log messages.This option is
70 # ignored if log_config_append is set. (boolean value)
71 #use_journal = false
72
73 # Syslog facility to receive log lines. This option is ignored if
74 # log_config_append is set. (string value)
75 #syslog_log_facility = LOG_USER
76
77 # Use JSON formatting for logging. This option is ignored if log_config_append
78 # is set. (boolean value)
79 #use_json = false
80
81 # Log output to standard error. This option is ignored if log_config_append is
82 # set. (boolean value)
83 #use_stderr = false
84
85 # Format string to use for log messages with context. (string value)
86 #logging_context_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [%(request_id)s %(user_identity)s] %(instance)s%(message)s
87
88 # Format string to use for log messages when context is undefined. (string
89 # value)
90 #logging_default_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [-] %(instance)s%(message)s
91
92 # Additional data to append to log message when logging level for the message
93 # is DEBUG. (string value)
94 #logging_debug_format_suffix = %(funcName)s %(pathname)s:%(lineno)d
95
96 # Prefix each line of exception output with this format. (string value)
97 #logging_exception_prefix = %(asctime)s.%(msecs)03d %(process)d ERROR %(name)s %(instance)s
98
99 # Defines the format string for %(user_identity)s that is used in
100 # logging_context_format_string. (string value)
101 #logging_user_identity_format = %(user)s %(tenant)s %(domain)s %(user_domain)s %(project_domain)s
102
103 # List of package logging levels in logger=LEVEL pairs. This option is ignored
104 # if log_config_append is set. (list value)
105 #default_log_levels = amqp=WARN,amqplib=WARN,boto=WARN,qpid=WARN,sqlalchemy=WARN,suds=INFO,oslo.messaging=INFO,oslo_messaging=INFO,iso8601=WARN,requests.packages.urllib3.connectionpool=WARN,urllib3.connectionpool=WARN,websocket=WARN,requests.packages.urllib3.util.retry=WARN,urllib3.util.retry=WARN,keystonemiddleware=WARN,routes.middleware=WARN,stevedore=WARN,taskflow=WARN,keystoneauth=WARN,oslo.cache=INFO,dogpile.core.dogpile=INFO
106
107 # Enables or disables publication of error events. (boolean value)
108 #publish_errors = false
109
110 # The format for an instance that is passed with the log message. (string
111 # value)
112 #instance_format = "[instance: %(uuid)s] "
113
114 # The format for an instance UUID that is passed with the log message. (string
115 # value)
116 #instance_uuid_format = "[instance: %(uuid)s] "
117
118 # Interval, number of seconds, of log rate limiting. (integer value)
119 #rate_limit_interval = 0
120
121 # Maximum number of logged messages per rate_limit_interval. (integer value)
122 #rate_limit_burst = 0
123
124 # Log level name used by rate limiting: CRITICAL, ERROR, INFO, WARNING, DEBUG
125 # or empty string. Logs with level greater or equal to rate_limit_except_level
126 # are not filtered. An empty string means that all levels are filtered. (string
127 # value)
128 #rate_limit_except_level = CRITICAL
129
130 # Enables or disables fatal status of deprecations. (boolean value)
131 #fatal_deprecations = false
132
133
134 [aaf_authentication]
135
136 #
137 # From conductor
138 #
139
140 # is_aaf_enabled. (boolean value)
141 #is_aaf_enabled = true
142
143 # aaf_cache_expiry_hrs. (integer value)
144 #aaf_cache_expiry_hrs = 3
145
146 # aaf_url. (string value)
147 aaf_url = http://aaf-service:8100/authz/perms/user/
148
149 # aaf_retries. (integer value)
150 #aaf_retries = 3
151
152 # aaf_timeout. (integer value)
153 #aaf_timeout = 100
154
155 # aaf_user_roles. (list value)
156 #aaf_user_roles = {"type": "org.onap.oof","instance": "plans","action": "GET"},{"type": "org.onap.oof","instance": "plans","action": "POST"}
157
158
159 [aaf_sms]
160
161 #
162 # From conductor
163 #
164
165 # Base URL for SMS, up to and not including the version, and without a trailing
166 # slash. (string value)
167 #aaf_sms_url = https://aaf-sms.onap:10443
168
169 # Timeout for SMS API Call (integer value)
170 #aaf_sms_timeout = 30
171
172 # Path to the cacert that will be used to verify If this is None, verify will
173 # be False and the server certis not verified by the client. (string value)
174 #aaf_ca_certs = AAF_RootCA.cer
175
176 # Domain Name for HAS
177 #secret_domain = has
178
179
180 [aai]
181
182 #
183 # From conductor
184 #
185
186 # Interval with which to refresh the local cache, in minutes. (integer value)
187 #cache_refresh_interval = 1440
188 cache_refresh_interval = 1
189
190 # Interval with which to refresh the local complex cache, in minutes. (integer
191 # value)
192 #complex_cache_refresh_interval = 1440
193 complex_cache_refresh_interval = 60
194
195 # Data Store table prefix. (string value)
196 #table_prefix = aai
197
198 # Base URL for A&AI, up to and not including the version, and without a
199 # trailing slash. (string value)
200 #server_url = https://controller:8443/aai
201 server_url = https://aai.api.simpledemo.onap.org:8443/aai
202
203 # Timeout for A&AI Rest Call (string value)
204 #aai_rest_timeout = 30
205
206 # Number of retry for A&AI Rest Call (string value)
207 #aai_retries = 3
208
209 # The version of A&AI in v# format. (string value)
210 server_url_version = v14
211
212 # SSL/TLS certificate file in pem format. This certificate must be registered
213 # with the A&AI endpoint. (string value)
214 #certificate_file = certificate.pem
215 certificate_file =
216
217 # Private Certificate Key file in pem format. (string value)
218 #certificate_key_file = certificate_key.pem
219 certificate_key_file =
220
221 # Certificate Authority Bundle file in pem format. Must contain the appropriate
222 # trust chain for the Certificate file. (string value)
223 #certificate_authority_bundle_file = certificate_authority_bundle.pem
224 certificate_authority_bundle_file = /usr/local/bin/AAF_RootCA.cer
225
226 # Username for AAI. (string value)
227 username = OOF
228
229 # Password for AAI. (string value)
230 password = OOF
231
232
233 [api]
234
235 #
236 # From conductor
237 #
238
239 # Toggle Pecan Debug Middleware. (boolean value)
240 #pecan_debug = false
241
242 # Default maximum number of items returned by API request. (integer value)
243 # Minimum value: 1
244 #default_api_return_limit = 100
245
246
247 [conductor_api]
248
249 #
250 # From conductor
251 #
252
253 # Base URL for plans. (string value)
254 #server_url =
255
256 # username for plans. (string value)
257 #username =
258 username = admin1
259
260 # password for plans. (string value)
261 #password =
262 password = plan.15
263
264 # auth toggling. (boolean value)
265 #basic_auth_secure = true
266
267
268 [controller]
269
270 #
271 # From conductor
272 #
273
274 # Timeout for planning requests. Default value is 10. (integer value)
275 # Minimum value: 1
276 #timeout = 10
277
278 # Maximum number of result sets to return. Default value is 1. (integer value)
279 # Minimum value: 1
280 #limit = 1
281
282 # Number of workers for controller service. Default value is 1. (integer value)
283 # Minimum value: 1
284 #workers = 1
285
286 # Set to True when controller will run in active-active mode. When set to
287 # False, controller will flush any abandoned messages at startup. The
288 # controller always restarts abandoned template translations at startup.
289 # (boolean value)
290 #concurrent = false
291 concurrent = true
292
293 # Time between checking for new plans. Default value is 1. (integer value)
294 # Minimum value: 1
295 #polling_interval = 1
296
297 # (integer value)
298 # Minimum value: 1
299 #max_translation_counter = 1
300
301
302 [data]
303
304 #
305 # From conductor
306 #
307
308 # Number of workers for data service. Default value is 1. (integer value)
309 # Minimum value: 1
310 #workers = 1
311
312 # Set to True when data will run in active-active mode. When set to False, data
313 # will flush any abandoned messages at startup. (boolean value)
314 #concurrent = false
315 concurrent = true
316
317 # Default value is -8000, which is the diameter of the earth. The distance
318 # cannot larger than this value (floating point value)
319 #existing_placement_cost = -8000.0
320
321 # (floating point value)
322 #cloud_candidate_cost = 2.0
323
324 # (floating point value)
325 #service_candidate_cost = 1.0
326
327
328 [inventory_provider]
329
330 #
331 # From conductor
332 #
333
334 # Extensions list to use (list value)
335 #extensions = aai
336
337
338 [messaging_server]
339
340 #
341 # From conductor
342 #
343
344 # Music keyspace for messages (string value)
345 #keyspace = conductor_rpc
346
347 # Wait interval while checking for a message response. Default value is 1
348 # second. (integer value)
349 # Minimum value: 1
350 #check_interval = 1
351
352 # Overall message response timeout. Default value is 120 seconds. (integer
353 # value)
354 # Minimum value: 1
355 #response_timeout = 120
356
357 # Timeout for detecting a VM is down, and other VMs can pick the plan up.
358 # Default value is 5 minutes. (integer value) (integer value)
359 # Minimum value: 1
360 #timeout = 300
361
362 # Number of workers for messaging service. Default value is 1. (integer value)
363 # Minimum value: 1
364 #workers = 1
365
366 # Time between checking for new messages. Default value is 1. (integer value)
367 # Minimum value: 1
368 #polling_interval = 1
369
370 # Log debug messages. Default value is False. (boolean value)
371 #debug = false
372
373
374 [multicloud]
375
376 #
377 # From conductor
378 #
379
380 # Base URL for Multicloud without a trailing slash. (string value)
381 #server_url = http://msb.onap.org/api/multicloud
382
383 # Timeout for Multicloud Rest Call (string value)
384 #multicloud_rest_timeout = 30
385
386 # Number of retry for Multicloud Rest Call (string value)
387 #multicloud_retries = 3
388
389 # The version of Multicloud API. (string value)
390 #server_url_version = v0
391
392
393 [music_api]
394
395 #
396 # From conductor
397 #
398
399 # Base URL for Music REST API without a trailing slash. (string value)
400 server_url = http://localhost:8080/MUSIC/rest/v2
401 version = v2
402
403 # DEPRECATED: List of hostnames (round-robin access) (list value)
404 # This option is deprecated for removal.
405 # Its value may be silently ignored in the future.
406 # Reason: Use server_url instead
407 #hostnames = <None>
408
409 # DEPRECATED: Port (integer value)
410 # This option is deprecated for removal.
411 # Its value may be silently ignored in the future.
412 # Reason: Use server_url instead
413 #port = <None>
414
415 # DEPRECATED: Path (string value)
416 # This option is deprecated for removal.
417 # Its value may be silently ignored in the future.
418 # Reason: Use server_url instead
419 #path = <None>
420
421 # Socket connection timeout (floating point value)
422 #connect_timeout = 3.05
423
424 # Socket read timeout (floating point value)
425 #read_timeout = 12.05
426
427 # Lock timeout (integer value)
428 #lock_timeout = 10
429
430 # Replication factor (integer value)
431 #replication_factor = 1
432 replication_factor = 3
433
434 # Use mock API (boolean value)
435 #mock = false
436
437 # (string value)
438 #music_topology = SimpleStrategy
439
440 # Name of the first data center (string value)
441 #first_datacenter_name = <None>
442
443 # Number of replicas in first data center (integer value)
444 #first_datacenter_replicas = <None>
445
446 # Name of the second data center (string value)
447 #second_datacenter_name = <None>
448
449 # Number of replicas in second data center (integer value)
450 #second_datacenter_replicas = <None>
451
452 # Name of the third data center (string value)
453 #third_datacenter_name = <None>
454
455 # Number of replicas in third data center (integer value)
456 #third_datacenter_replicas = <None>
457
458 # new or old version (boolean value)
459 #music_new_version = <None>
460 music_new_version = True
461
462 # for version (string value)
463 #music_version = <None>
464 music_version = "2.5.3"
465
466 # username value that used for creating basic authorization header (string
467 # value)
468 #aafuser = <None>
469 aafuser = conductor
470
471 # password value that used for creating basic authorization header (string
472 # value)
473 #aafpass = <None>
474 aafpass = c0nduct0r
475
476 # AAF namespace field used in MUSIC request header (string value)
477 #aafns = <None>
478 aafns = conductor
479
480
481 [prometheus]
482
483 #
484 # From conductor
485 #
486
487 # Prometheus Metrics Endpoint (list value)
488 #metrics_port = 8000,8001,8002,8003,8004
489
490
491 [reservation]
492
493 #
494 # From conductor
495 #
496
497 # Number of workers for reservation service. Default value is 1. (integer
498 # value)
499 # Minimum value: 1
500 #workers = 1
501
502 # Number of times reservation/release should be attempted. (integer value)
503 #reserve_retries = 1
504
505 # Timeout for detecting a VM is down, and other VMs can pick the plan up and
506 # resereve. Default value is 600 seconds. (integer value) (integer value)
507 # Minimum value: 1
508 #timeout = 600
509
510 # Set to True when reservation will run in active-active mode. When set to
511 # False, reservation will restart any orphaned reserving requests at startup.
512 # (boolean value)
513 #concurrent = false
514 concurrent = true
515
516 # (integer value)
517 # Minimum value: 1
518 #max_reservation_counter = 1
519
520
521 [sdnc]
522
523 #
524 # From conductor
525 #
526
527 # Interval with which to refresh the local cache, in minutes. (integer value)
528 #cache_refresh_interval = 1440
529
530 # Data Store table prefix. (string value)
531 #table_prefix = sdnc
532
533 # Base URL for SDN-C, up to and including the version. (string value)
534 #server_url = https://controller:8443/restconf/
535 server_url = https://sdnc.onap:8282/restconf/
536
537 # Basic Authentication Username (string value)
538 #username = <None>
539 username = admin
540
541 # Basic Authentication Password (string value)
542 #password = <None>
543 password = Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
544
545 # Timeout for SDNC Rest Call (string value)
546 #sdnc_rest_timeout = 30
547
548 # Retry Numbers for SDNC Rest Call (string value)
549 #sdnc_retries = 3
550
551
552 [service_controller]
553
554 #
555 # From conductor
556 #
557
558 # Extensions list to use (list value)
559 #extensions = sdnc
560
561
562 [solver]
563
564 #
565 # From conductor
566 #
567
568 # Number of workers for solver service. Default value is 1. (integer value)
569 # Minimum value: 1
570 #workers = 1
571
572 # The timeout value for solver service. Default value is 480 seconds. (integer
573 # value)
574 # Minimum value: 1
575 #solver_timeout = 480
576
577 # Set to True when solver will run in active-active mode. When set to False,
578 # solver will restart any orphaned solving requests at startup. (boolean value)
579 #concurrent = false
580 concurrent = true
581
582 # Timeout for detecting a VM is down, and other VMs can pick the plan up. This
583 # value should be larger than solver_timeoutDefault value is 10 minutes.
584 # (integer value) (integer value)
585 # Minimum value: 1
586 #timeout = 600
587
588 # (integer value)
589 # Minimum value: 1
590 #max_solver_counter = 1
591
592
593 [vim_controller]
594
595 #
596 # From conductor
597 #
598
599 # Extensions list to use (list value)
600 #extensions = multicloud