Add AAF root cert location to conductor.conf
[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_api]
135
136 #
137 # From conductor
138 #
139
140 # is_aaf_enabled. (boolean value)
141 #is_aaf_enabled = false
142
143 # aaf_cache_expiry_hrs. (integer value)
144 aaf_cache_expiry_hrs = 3
145
146 # aaf_url. (string value)
147 #aaf_url = https://aaf-service:8100/authz/perms/user/
148
149 # aaf_cert_file. (string value)
150 #aaf_cert_file = <None>
151
152 # aaf_cert_key_file. (string value)
153 #aaf_cert_key_file = <None>
154
155 # aaf_ca_bundle_file. (string value)
156 #aaf_ca_bundle_file =
157 aaf_ca_bundle_file = AAF_RootCA.cer
158
159 # aaf_retries. (integer value)
160 #aaf_retries = 3
161
162 # aaf_timeout. (integer value)
163 #aaf_timeout = 100
164
165 # aaf_user_roles. (list value)
166 #aaf_permissions = {"type": "org.onap.oof.access","instance": "*","action": "*"}
167
168
169 [aaf_sms]
170
171 #
172 # From conductor
173 #
174
175 # Is Secret Management service enabled (boolean value)
176 #is_enabled = true
177
178 # Base URL for SMS, up to and not including the version, and without a trailing
179 # slash. (string value)
180 #aaf_sms_url = https://aaf-sms.onap:10443
181
182 # Timeout for SMS API Call (integer value)
183 #aaf_sms_timeout = 30
184
185 # Path to the cacert that will be used to verify If this is None, verify will
186 # be False and the server certis not verified by the client. (string value)
187 #aaf_ca_certs = AAF_RootCA.cer
188
189 # Domain Name for HAS (string value)
190 #secret_domain = has
191
192
193 [aai]
194
195 #
196 # From conductor
197 #
198
199 # Interval with which to refresh the local cache, in minutes. (integer value)
200 #cache_refresh_interval = 1440
201 cache_refresh_interval = 1
202
203 # Interval with which to refresh the local complex cache, in minutes. (integer
204 # value)
205 #complex_cache_refresh_interval = 1440
206 complex_cache_refresh_interval = 60
207
208 # Data Store table prefix. (string value)
209 #table_prefix = aai
210
211 # Base URL for A&AI, up to and not including the version, and without a
212 # trailing slash. (string value)
213 #server_url = https://controller:8443/aai
214 server_url = https://aai.api.simpledemo.onap.org:8443/aai
215
216 # Timeout for A&AI Rest Call (string value)
217 #aai_rest_timeout = 30
218
219 # Number of retry for A&AI Rest Call (string value)
220 #aai_retries = 3
221
222 # The version of A&AI in v# format. (string value)
223 server_url_version = v14
224
225 # SSL/TLS certificate file in pem format. This certificate must be registered
226 # with the A&AI endpoint. (string value)
227 #certificate_file = certificate.pem
228 certificate_file =
229
230 # Private Certificate Key file in pem format. (string value)
231 #certificate_key_file = certificate_key.pem
232 certificate_key_file =
233
234 # Certificate Authority Bundle file in pem format. Must contain the appropriate
235 # trust chain for the Certificate file. (string value)
236 #certificate_authority_bundle_file = certificate_authority_bundle.pem
237 certificate_authority_bundle_file = /usr/local/bin/AAF_RootCA.cer
238
239 # Username for AAI. (string value)
240 #username =
241
242 # Password for AAI. (string value)
243 #password =
244
245
246 [api]
247
248 #
249 # From conductor
250 #
251
252 # Toggle Pecan Debug Middleware. (boolean value)
253 #pecan_debug = false
254
255 # Default maximum number of items returned by API request. (integer value)
256 # Minimum value: 1
257 #default_api_return_limit = 100
258
259
260 [conductor_api]
261
262 #
263 # From conductor
264 #
265
266 # Base URL for plans. (string value)
267 #server_url =
268
269 # username for plans. (string value)
270 #username =
271
272 # password for plans. (string value)
273 #password =
274
275 # auth toggling. (boolean value)
276 #basic_auth_secure = true
277
278
279 [controller]
280
281 #
282 # From conductor
283 #
284
285 # Timeout for planning requests. Default value is 10. (integer value)
286 # Minimum value: 1
287 #timeout = 10
288
289 # Maximum number of result sets to return. Default value is 1. (integer value)
290 # Minimum value: 1
291 #limit = 1
292
293 # Number of workers for controller service. Default value is 1. (integer value)
294 # Minimum value: 1
295 #workers = 1
296
297 # Set to True when controller will run in active-active mode. When set to
298 # False, controller will flush any abandoned messages at startup. The
299 # controller always restarts abandoned template translations at startup.
300 # (boolean value)
301 #concurrent = false
302 concurrent = true
303
304 # Time between checking for new plans. Default value is 1. (integer value)
305 # Minimum value: 1
306 #polling_interval = 1
307
308 # (integer value)
309 # Minimum value: 1
310 #max_translation_counter = 1
311
312
313 [data]
314
315 #
316 # From conductor
317 #
318
319 # Number of workers for data service. Default value is 1. (integer value)
320 # Minimum value: 1
321 #workers = 1
322
323 # Set to True when data will run in active-active mode. When set to False, data
324 # will flush any abandoned messages at startup. (boolean value)
325 #concurrent = false
326 concurrent = true
327
328 # Default value is -8000, which is the diameter of the earth. The distance
329 # cannot larger than this value (floating point value)
330 #existing_placement_cost = -8000.0
331
332 # (floating point value)
333 #cloud_candidate_cost = 2.0
334
335 # (floating point value)
336 #service_candidate_cost = 1.0
337
338
339 [inventory_provider]
340
341 #
342 # From conductor
343 #
344
345 # Extensions list to use (list value)
346 #extensions = aai
347
348
349 [messaging_server]
350
351 #
352 # From conductor
353 #
354
355 # Music keyspace for messages (string value)
356 #keyspace = conductor_rpc
357
358 # Wait interval while checking for a message response. Default value is 1
359 # second. (integer value)
360 # Minimum value: 1
361 #check_interval = 1
362
363 # Overall message response timeout. Default value is 120 seconds. (integer
364 # value)
365 # Minimum value: 1
366 #response_timeout = 120
367
368 # Timeout for detecting a VM is down, and other VMs can pick the plan up.
369 # Default value is 5 minutes. (integer value) (integer value)
370 # Minimum value: 1
371 #timeout = 300
372
373 # Number of workers for messaging service. Default value is 1. (integer value)
374 # Minimum value: 1
375 #workers = 1
376
377 # Time between checking for new messages. Default value is 1. (integer value)
378 # Minimum value: 1
379 #polling_interval = 1
380
381 # Log debug messages. Default value is False. (boolean value)
382 #debug = false
383
384
385 [multicloud]
386
387 #
388 # From conductor
389 #
390
391 # Base URL for Multicloud without a trailing slash. (string value)
392 #server_url = http://msb.onap.org/api/multicloud
393
394 # Timeout for Multicloud Rest Call (string value)
395 #multicloud_rest_timeout = 30
396
397 # Number of retry for Multicloud Rest Call (string value)
398 #multicloud_retries = 3
399
400 # The version of Multicloud API. (string value)
401 #server_url_version = v0
402
403 # Certificate Authority Bundle file in pem format. Must contain the appropriate
404 # trust chain for the Certificate file. (string value)
405 #certificate_authority_bundle_file = certificate_authority_bundle.pem
406 certificate_authority_bundle_file = /usr/local/bin/AAF_RootCA.cer
407
408 # Enabling HTTPs mode (boolean value)
409 # enable_https_mode = <None>
410 # default is false
411 enable_https_mode = True
412
413 [music_api]
414
415 #
416 # From conductor
417 #
418
419 # Base URL for Music REST API without a trailing slash. (string value)
420 server_url = http://localhost:8080/MUSIC/rest/v2
421 version = v2
422
423 # DEPRECATED: List of hostnames (round-robin access) (list value)
424 # This option is deprecated for removal.
425 # Its value may be silently ignored in the future.
426 # Reason: Use server_url instead
427 #hostnames = <None>
428
429 # DEPRECATED: Port (integer value)
430 # This option is deprecated for removal.
431 # Its value may be silently ignored in the future.
432 # Reason: Use server_url instead
433 #port = <None>
434
435 # DEPRECATED: Path (string value)
436 # This option is deprecated for removal.
437 # Its value may be silently ignored in the future.
438 # Reason: Use server_url instead
439 #path = <None>
440
441 # Socket connection timeout (floating point value)
442 #connect_timeout = 3.05
443
444 # Socket read timeout (floating point value)
445 #read_timeout = 12.05
446
447 # Lock timeout (integer value)
448 #lock_timeout = 10
449
450 # Replication factor (integer value)
451 #replication_factor = 1
452 replication_factor = 3
453
454 # Use mock API (boolean value)
455 #mock = false
456
457 # (string value)
458 #music_topology = SimpleStrategy
459
460 # Name of the first data center (string value)
461 #first_datacenter_name = <None>
462
463 # Number of replicas in first data center (integer value)
464 #first_datacenter_replicas = <None>
465
466 # Name of the second data center (string value)
467 #second_datacenter_name = <None>
468
469 # Number of replicas in second data center (integer value)
470 #second_datacenter_replicas = <None>
471
472 # Name of the third data center (string value)
473 #third_datacenter_name = <None>
474
475 # Number of replicas in third data center (integer value)
476 #third_datacenter_replicas = <None>
477
478 # new or old version (boolean value)
479 #music_new_version = <None>
480 music_new_version = True
481
482 # Enabling HTTPs mode (boolean value)
483 #enable_https_mode = <None>
484 enable_https_mode = False
485
486 # for version (string value)
487 #music_version = <None>
488 music_version = "3.0.23"
489
490 # username value that used for creating basic authorization header (string
491 # value)
492 #aafuser = <None>
493
494 # password value that used for creating basic authorization header (string
495 # value)
496 #aafpass = <None>
497
498 # AAF namespace field used in MUSIC request header (string value)
499 #aafns = <None>
500
501 # Certificate Authority Bundle file in pem format. Must contain the appropriate
502 # trust chain for the Certificate file. (string value)
503 #certificate_authority_bundle_file = certificate_authority_bundle.pem
504 certificate_authority_bundle_file = /usr/local/bin/AAF_RootCA.cer
505
506 [prometheus]
507
508 #
509 # From conductor
510 #
511
512 # Prometheus Metrics Endpoint (list value)
513 #metrics_port = 8000,8001,8002,8003,8004
514
515
516 [reservation]
517
518 #
519 # From conductor
520 #
521
522 # Number of workers for reservation service. Default value is 1. (integer
523 # value)
524 # Minimum value: 1
525 #workers = 1
526
527 # Number of times reservation/release should be attempted. (integer value)
528 #reserve_retries = 1
529
530 # Timeout for detecting a VM is down, and other VMs can pick the plan up and
531 # resereve. Default value is 600 seconds. (integer value) (integer value)
532 # Minimum value: 1
533 #timeout = 600
534
535 # Set to True when reservation will run in active-active mode. When set to
536 # False, reservation will restart any orphaned reserving requests at startup.
537 # (boolean value)
538 #concurrent = false
539 concurrent = true
540
541 # (integer value)
542 # Minimum value: 1
543 #max_reservation_counter = 1
544
545
546 [sdnc]
547
548 #
549 # From conductor
550 #
551
552 # Interval with which to refresh the local cache, in minutes. (integer value)
553 #cache_refresh_interval = 1440
554
555 # Data Store table prefix. (string value)
556 #table_prefix = sdnc
557
558 # Base URL for SDN-C, up to and including the version. (string value)
559 #server_url = https://controller:8443/restconf/
560 server_url = https://sdnc.onap:8282/restconf/
561
562 # Basic Authentication Username (string value)
563 #username = <None>
564
565 # Basic Authentication Password (string value)
566 #password = <None>
567
568 # Timeout for SDNC Rest Call (string value)
569 #sdnc_rest_timeout = 30
570
571 # Retry Numbers for SDNC Rest Call (string value)
572 #sdnc_retries = 3
573
574
575 [service_controller]
576
577 #
578 # From conductor
579 #
580
581 # Extensions list to use (list value)
582 #extensions = sdnc
583
584
585 [solver]
586
587 #
588 # From conductor
589 #
590
591 # Number of workers for solver service. Default value is 1. (integer value)
592 # Minimum value: 1
593 #workers = 1
594
595 # The timeout value for solver service. Default value is 480 seconds. (integer
596 # value)
597 # Minimum value: 1
598 #solver_timeout = 480
599
600 # Set to True when solver will run in active-active mode. When set to False,
601 # solver will restart any orphaned solving requests at startup. (boolean value)
602 #concurrent = false
603 concurrent = true
604
605 # Timeout for detecting a VM is down, and other VMs can pick the plan up. This
606 # value should be larger than solver_timeoutDefault value is 10 minutes.
607 # (integer value) (integer value)
608 # Minimum value: 1
609 #timeout = 600
610
611 # (integer value)
612 # Minimum value: 1
613 #max_solver_counter = 1
614
615
616 [vim_controller]
617
618 #
619 # From conductor
620 #
621
622 # Extensions list to use (list value)
623 #extensions = multicloud
624