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