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