[DMAAP] DMaaP ServiceMesh compatibility
[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 = true
163
164 # aaf_cache_expiry_hrs. (integer value)
165 aaf_cache_expiry_hrs = 3
166
167 # aaf_url. (string value)
168 aaf_url = https://{{.Values.config.aaf.serviceName}}:{{.Values.config.aaf.port}}/authz/perms/user/
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 = /usr/local/bin/AAF_RootCA.cer
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 # Base URL for SMS, up to and not including the version, and without a trailing
197 # slash. (string value)
198 aaf_sms_url = https://{{.Values.config.sms.serviceName}}.{{ include "common.namespace" . }}:{{.Values.config.sms.port}}
199
200
201 # Timeout for SMS API Call (integer value)
202 #aaf_sms_timeout = 30
203
204 # Path to the cacert that will be used to verify If this is None, verify will
205 # be False and the server certis not verified by the client. (string value)
206 #aaf_ca_certs = AAF_RootCA.cer
207 aaf_ca_certs = /usr/local/bin/AAF_RootCA.cer
208
209 # Domain UUID - A unique UUID generated when the domainfor HAS is created by
210 # administrator during deployment (string value)
211 #secret_domain = has
212
213
214 [aai]
215
216 #
217 # From conductor
218 #
219
220 # Interval with which to refresh the local cache, in minutes. (integer value)
221 #cache_refresh_interval = 1440
222 cache_refresh_interval = 1
223
224 # Interval with which to refresh the local complex cache, in minutes. (integer
225 # value)
226 #complex_cache_refresh_interval = 1440
227 complex_cache_refresh_interval = 60
228
229 # Data Store table prefix. (string value)
230 #table_prefix = aai
231
232 # Base URL for A&AI, up to and not including the version, and without a
233 # trailing slash. (string value)
234 server_url = https://{{.Values.config.aai.serviceName}}.{{ include "common.namespace" . }}:{{.Values.config.aai.port}}/aai
235
236 # Timeout for A&AI Rest Call (string value)
237 #aai_rest_timeout = 30
238
239 # Number of retry for A&AI Rest Call (string value)
240 #aai_retries = 3
241
242 # The version of A&AI in v# format. (string value)
243 server_url_version = v21
244
245 # SSL/TLS certificate file in pem format. This certificate must be registered
246 # with the A&AI endpoint. (string value)
247 certificate_file =
248
249 # Private Certificate Key file in pem format. (string value)
250 certificate_key_file =
251
252 # Certificate Authority Bundle file in pem format. Must contain the appropriate
253 # trust chain for the Certificate file. (string value)
254 #certificate_authority_bundle_file = certificate_authority_bundle.pem
255 certificate_authority_bundle_file = /usr/local/bin/AAF_RootCA.cer
256
257 # Username for AAI. (string value)
258 username = OOF
259
260 # Password for AAI. (string value)
261 password = OOF
262
263
264 [api]
265
266 #
267 # From conductor
268 #
269
270 # Toggle Pecan Debug Middleware. (boolean value)
271 #pecan_debug = false
272
273 # Default maximum number of items returned by API request. (integer value)
274 # Minimum value: 1
275 #default_api_return_limit = 100
276
277 [conductor_api]
278
279 #
280 # From conductor
281 #
282
283 # Base URL for plans. (string value)
284 #server_url =
285
286 # username for plans. (string value)
287 #username =
288 username = admin1
289
290 # password for plans. (string value)
291 #password =
292 password = plan.15
293
294 # auth toggling. (boolean value)
295 basic_auth_secure = true
296
297
298 [controller]
299
300 #
301 # From conductor
302 #
303
304 # Timeout for planning requests. Default value is 10. (integer value)
305 # Minimum value: 1
306 #timeout = 10
307 timeout = 200
308
309 # Maximum number of result sets to return. Default value is 1. (integer value)
310 # Minimum value: 1
311 #limit = 1
312
313 # Number of workers for controller service. Default value is 1. (integer value)
314 # Minimum value: 1
315 #workers = 1
316
317 # Set to True when controller will run in active-active mode. When set to
318 # False, controller will flush any abandoned messages at startup. The
319 # controller always restarts abandoned template translations at startup.
320 # (boolean value)
321 #concurrent = false
322 concurrent = true
323
324 # Time between checking for new plans. Default value is 1. (integer value)
325 # Minimum value: 1
326 #polling_interval = 1
327
328 # (integer value)
329 # Minimum value: 1
330 #max_translation_counter = 1
331
332 # (string value)
333 opt_schema_file = /opt/has/conductor/etc/conductor/opt_schema.json
334
335 [data]
336
337 #
338 # From conductor
339 #
340
341 # Number of workers for data service. Default value is 1. (integer value)
342 # Minimum value: 1
343 #workers = 1
344
345 # Set to True when data will run in active-active mode. When set to False, data
346 # will flush any abandoned messages at startup. (boolean value)
347 #concurrent = false
348 concurrent = true
349
350 # Default value is -8000, which is the diameter of the earth. The distance
351 # cannot larger than this value (floating point value)
352 #existing_placement_cost = -8000.0
353
354 # (floating point value)
355 #cloud_candidate_cost = 2.0
356
357 # (floating point value)
358 #service_candidate_cost = 1.0
359
360
361 [inventory_provider]
362
363 #
364 # From conductor
365 #
366
367 # Extensions list to use (list value)
368 extensions = aai,generator
369
370
371 [messaging_server]
372
373 #
374 # From conductor
375 #
376
377 # Music keyspace for messages (string value)
378 #keyspace = conductor_rpc
379
380 # Wait interval while checking for a message response. Default value is 1
381 # second. (integer value)
382 # Minimum value: 1
383 #check_interval = 1
384
385 # Overall message response timeout. Default value is 120 seconds. (integer
386 # value)
387 # Minimum value: 1
388 #response_timeout = 120
389
390 # Timeout for detecting a VM is down, and other VMs can pick the plan up.
391 # Default value is 5 minutes. (integer value) (integer value)
392 # Minimum value: 1
393 timeout = 300
394
395 # Number of workers for messaging service. Default value is 1. (integer value)
396 # Minimum value: 1
397 #workers = 1
398
399 # Time between checking for new messages. Default value is 1. (integer value)
400 # Minimum value: 1
401 #polling_interval = 1
402
403 # Log debug messages. Default value is False. (boolean value)
404 #debug = false
405
406
407 [multicloud]
408
409 #
410 # From conductor
411 #
412
413 # Base URL for Multicloud without a trailing slash. (string value)
414 #server_url = http://msb.onap.org/api/multicloud
415 server_url = http://{{.Values.config.msb.serviceName}}.{{ include "common.namespace" . }}:{{.Values.config.msb.port}}/api/multicloud
416
417 # Timeout for Multicloud Rest Call (string value)
418 #multicloud_rest_timeout = 30
419
420 # Number of retry for Multicloud Rest Call (string value)
421 #multicloud_retries = 3
422
423 # The version of Multicloud API. (string value)
424 #server_url_version = v0
425
426
427 [db_options]
428
429 # db_backend to use
430 db_backend = {{.Values.config.dbBackend}}
431
432 # Use music mock api
433 music_mock = False
434
435
436 [etcd_api]
437
438 # host/ip address of etcd server
439 host = {{.Values.config.etcd.serviceName}}.{{ include "common.namespace" . }}
440
441 # port of etcd server
442 port = {{.Values.config.etcd.port}}
443
444 # username for etcd authentication
445 username =
446
447 # password for etcd authentication
448 password =
449
450
451 [music_api]
452
453 #
454 # From conductor
455 #
456
457 # Base URL for Music REST API without a trailing slash. (string value)
458 #server_url = http://oof-has-music:8080/MUSIC/rest/v2
459 server_url = https://{{.Values.config.music.serviceName}}.{{ include "common.namespace" . }}:{{.Values.config.music.port}}/MUSIC/rest/v2
460 version = v2
461
462 # DEPRECATED: List of hostnames (round-robin access) (list value)
463 # This option is deprecated for removal.
464 # Its value may be silently ignored in the future.
465 # Reason: Use server_url instead
466 #hostnames = <None>
467
468 # DEPRECATED: Port (integer value)
469 # This option is deprecated for removal.
470 # Its value may be silently ignored in the future.
471 # Reason: Use server_url instead
472 #port = <None>
473
474 # DEPRECATED: Path (string value)
475 # This option is deprecated for removal.
476 # Its value may be silently ignored in the future.
477 # Reason: Use server_url instead
478 #path = <None>
479
480 # Socket connection timeout (floating point value)
481 #connect_timeout = 3.05
482
483 # Socket read timeout (floating point value)
484 #read_timeout = 12.05
485
486 # Lock timeout (integer value)
487 #lock_timeout = 10
488
489 # Replication factor (integer value)
490 #replication_factor = 1
491 replication_factor = 1
492
493 # Use mock API (boolean value)
494 #mock = false
495
496 # (string value)
497 #music_topology = SimpleStrategy
498
499 # Name of the first data center (string value)
500 #first_datacenter_name = <None>
501
502 # Number of replicas in first data center (integer value)
503 #first_datacenter_replicas = <None>
504
505 # Name of the second data center (string value)
506 #second_datacenter_name = <None>
507
508 # Number of replicas in second data center (integer value)
509 #second_datacenter_replicas = <None>
510
511 # Name of the third data center (string value)
512 #third_datacenter_name = <None>
513
514 # Number of replicas in third data center (integer value)
515 #third_datacenter_replicas = <None>
516
517 # new or old version (boolean value)
518 #music_new_version = <None>
519 music_new_version = True
520
521 # for version (string value)
522 #music_version = <None>
523 music_version = "3.2.40"
524
525 # username value that used for creating basic authorization header (string
526 # value)
527 #aafuser = <None>
528 aafuser = conductor
529
530 # password value that used for creating basic authorization header (string
531 # value)
532 #aafpass = <None>
533 aafpass = c0nduct0r
534
535 # AAF namespace field used in MUSIC request header (string value)
536 #aafns = <None>
537 aafns = conductor
538
539 # Enabling HTTPs mode (boolean value)
540 enable_https_mode = True
541
542 # Certificate Authority Bundle file in pem format. Must contain the appropriate
543 # trust chain for the Certificate file. (string value)
544 certificate_authority_bundle_file = /usr/local/bin/AAF_RootCA.cer
545
546
547 [prometheus]
548
549 #
550 # From conductor
551 #
552
553 # Prometheus Metrics Endpoint (list value)
554 #metrics_port = 8000,8001,8002,8003,8004
555
556
557 [reservation]
558
559 #
560 # From conductor
561 #
562
563 # Number of workers for reservation service. Default value is 1. (integer
564 # value)
565 # Minimum value: 1
566 #workers = 1
567
568 # Number of times reservation/release should be attempted. (integer value)
569 #reserve_retries = 1
570
571 # Timeout for detecting a VM is down, and other VMs can pick the plan up and
572 # resereve. Default value is 600 seconds. (integer value) (integer value)
573 # Minimum value: 1
574 #timeout = 600
575
576 # Set to True when reservation will run in active-active mode. When set to
577 # False, reservation will restart any orphaned reserving requests at startup.
578 # (boolean value)
579 #concurrent = false
580 concurrent = true
581
582 # (integer value)
583 # Minimum value: 1
584 #max_reservation_counter = 1
585
586
587 [sdnc]
588
589 #
590 # From conductor
591 #
592
593 # Interval with which to refresh the local cache, in minutes. (integer value)
594 #cache_refresh_interval = 1440
595
596 # Data Store table prefix. (string value)
597 #table_prefix = sdnc
598
599 # Base URL for SDN-C, up to and including the version. (string value)
600 server_url = https://controller:8443/restconf/
601
602 # Basic Authentication Username (string value)
603 #username = <None>
604 username = admin
605
606 # Basic Authentication Password (string value)
607 #password = <None>
608 password = Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
609
610 # Timeout for SDNC Rest Call (string value)
611 #sdnc_rest_timeout = 30
612
613 # Retry Numbers for SDNC Rest Call (string value)
614 #sdnc_retries = 3
615
616 [service_controller]
617
618 #
619 # From conductor
620 #
621
622 # Extensions list to use (list value)
623 #extensions = sdnc
624
625
626 [solver]
627
628 #
629 # From conductor
630 #
631
632 # Number of workers for solver service. Default value is 1. (integer value)
633 # Minimum value: 1
634 #workers = 1
635
636 # The timeout value for solver service. Default value is 480 seconds. (integer
637 # value)
638 # Minimum value: 1
639 #solver_timeout = 480
640
641 # Set to True when solver will run in active-active mode. When set to False,
642 # solver will restart any orphaned solving requests at startup. (boolean value)
643 #concurrent = false
644 concurrent = true
645
646 # Timeout for detecting a VM is down, and other VMs can pick the plan up. This
647 # value should be larger than solver_timeoutDefault value is 10 minutes.
648 # (integer value) (integer value)
649 # Minimum value: 1
650 #timeout = 600
651
652 # (integer value)
653 # Minimum value: 1
654 #max_solver_counter = 1
655
656
657 [vim_controller]
658
659 #
660 # From conductor
661 #
662
663 # Extensions list to use (list value)
664 #extensions = multicloud
665
666
667 [sdc]
668
669 #
670 # From conductor
671 #
672
673 # Data Store table prefix. (string value)
674 #table_prefix = sdc
675
676 # Base URL for SDC, up to and not including the version, and without a
677 # trailing slash. (string value)
678 #server_url = https://controller:8443/sdc
679 server_url = https://{{.Values.config.sdc.serviceName}}.{{ include "common.namespace" . }}:{{.Values.config.sdc.port}}/sdc
680
681 # Timeout for SDC Rest Call (string value)
682 #sdc_rest_timeout = 30
683
684 # Number of retry for SDC Rest Call (string value)
685 #sdc_retries = 3
686
687 # The version of A&AI in v# format. (string value)
688 server_url_version = v1
689
690 # SSL/TLS certificate file in pem format. This certificate must be registered
691 # with the SDC endpoint. (string value)
692 #certificate_file = certificate.pem
693 certificate_file =
694
695 # Private Certificate Key file in pem format. (string value)
696 #certificate_key_file = certificate_key.pem
697 certificate_key_file =
698
699 # Certificate Authority Bundle file in pem format. Must contain the appropriate
700 # trust chain for the Certificate file. (string value)
701 #certificate_authority_bundle_file = certificate_authority_bundle.pem
702 certificate_authority_bundle_file = /usr/local/bin/AAF_RootCA.cer
703
704 # Username for SDC. (string value)
705 #username =
706
707 # Password for SDC. (string value)
708 #password =
709
710 temp_path = "/tmp/nsttemplates"
711
712
713 [cps]
714
715 #
716 # From conductor
717 #
718
719 # Data Store table prefix. (string value)
720 #table_prefix = cps
721
722 # Base URL for CPS, up to and not including the version, and without a
723 # trailing slash. (string value)
724 #yet to be finalized
725 #server_url = https://cps.api.simpledemo.onap.org:8443/cps
726 server_url=http://{{.Values.config.cps.serviceName}}.{{ include "common.namespace" . }}:{{.Values.config.cps.port}}/
727
728 # Timeout for CPS Rest Call (string value)
729 #cps_rest_timeout = 30
730
731 # Number of retry for CPS Rest Call (string value)
732 #cps_retries = 3
733
734
735 # SSL/TLS certificate file in pem format. This certificate must be registered
736 # with the CPS endpoint. (string value)
737 #certificate_file = certificate.pem
738 certificate_file =
739
740 # Private Certificate Key file in pem format. (string value)
741 #certificate_key_file = certificate_key.pem
742 certificate_key_file =
743
744 # Certificate Authority Bundle file in pem format. Must contain the appropriate
745 # trust chain for the Certificate file. (string value)
746 #certificate_authority_bundle_file = certificate_authority_bundle.pem
747 certificate_authority_bundle_file = /usr/local/bin/AAF_RootCA.cer
748
749 # Username for CPS. (string value)
750 #username =
751
752 # Password for CPS. (string value)
753 #password =
754
755 get_ta_list_url = "/api/v1/execute/ran-coverage-area/get_ta_list"