[CONSUL] Add limits to consul chart.
[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 # (string value)
331 opt_schema_file = /opt/has/conductor/etc/conductor/opt_schema.json
332
333 [data]
334
335 #
336 # From conductor
337 #
338
339 # Number of workers for data service. Default value is 1. (integer value)
340 # Minimum value: 1
341 #workers = 1
342
343 # Set to True when data will run in active-active mode. When set to False, data
344 # will flush any abandoned messages at startup. (boolean value)
345 #concurrent = false
346 concurrent = true
347
348 # Default value is -8000, which is the diameter of the earth. The distance
349 # cannot larger than this value (floating point value)
350 #existing_placement_cost = -8000.0
351
352 # (floating point value)
353 #cloud_candidate_cost = 2.0
354
355 # (floating point value)
356 #service_candidate_cost = 1.0
357
358
359 [inventory_provider]
360
361 #
362 # From conductor
363 #
364
365 # Extensions list to use (list value)
366 extensions = aai,generator
367
368
369 [messaging_server]
370
371 #
372 # From conductor
373 #
374
375 # Music keyspace for messages (string value)
376 #keyspace = conductor_rpc
377
378 # Wait interval while checking for a message response. Default value is 1
379 # second. (integer value)
380 # Minimum value: 1
381 #check_interval = 1
382
383 # Overall message response timeout. Default value is 120 seconds. (integer
384 # value)
385 # Minimum value: 1
386 #response_timeout = 120
387
388 # Timeout for detecting a VM is down, and other VMs can pick the plan up.
389 # Default value is 5 minutes. (integer value) (integer value)
390 # Minimum value: 1
391 timeout = 300
392
393 # Number of workers for messaging service. Default value is 1. (integer value)
394 # Minimum value: 1
395 #workers = 1
396
397 # Time between checking for new messages. Default value is 1. (integer value)
398 # Minimum value: 1
399 #polling_interval = 1
400
401 # Log debug messages. Default value is False. (boolean value)
402 #debug = false
403
404
405 [multicloud]
406
407 #
408 # From conductor
409 #
410
411 # Base URL for Multicloud without a trailing slash. (string value)
412 #server_url = http://msb.onap.org/api/multicloud
413 server_url = http://{{.Values.config.msb.serviceName}}.{{ include "common.namespace" . }}:{{.Values.config.msb.port}}/api/multicloud
414
415 # Timeout for Multicloud Rest Call (string value)
416 #multicloud_rest_timeout = 30
417
418 # Number of retry for Multicloud Rest Call (string value)
419 #multicloud_retries = 3
420
421 # The version of Multicloud API. (string value)
422 #server_url_version = v0
423
424
425 [music_api]
426
427 #
428 # From conductor
429 #
430
431 # Base URL for Music REST API without a trailing slash. (string value)
432 #server_url = http://oof-has-music:8080/MUSIC/rest/v2
433 server_url = https://{{.Values.config.music.serviceName}}.{{ include "common.namespace" . }}:{{.Values.config.music.port}}/MUSIC/rest/v2
434 version = v2
435
436 # DEPRECATED: List of hostnames (round-robin access) (list value)
437 # This option is deprecated for removal.
438 # Its value may be silently ignored in the future.
439 # Reason: Use server_url instead
440 #hostnames = <None>
441
442 # DEPRECATED: Port (integer value)
443 # This option is deprecated for removal.
444 # Its value may be silently ignored in the future.
445 # Reason: Use server_url instead
446 #port = <None>
447
448 # DEPRECATED: Path (string value)
449 # This option is deprecated for removal.
450 # Its value may be silently ignored in the future.
451 # Reason: Use server_url instead
452 #path = <None>
453
454 # Socket connection timeout (floating point value)
455 #connect_timeout = 3.05
456
457 # Socket read timeout (floating point value)
458 #read_timeout = 12.05
459
460 # Lock timeout (integer value)
461 #lock_timeout = 10
462
463 # Replication factor (integer value)
464 #replication_factor = 1
465 replication_factor = 1
466
467 # Use mock API (boolean value)
468 #mock = false
469
470 # (string value)
471 #music_topology = SimpleStrategy
472
473 # Name of the first data center (string value)
474 #first_datacenter_name = <None>
475
476 # Number of replicas in first data center (integer value)
477 #first_datacenter_replicas = <None>
478
479 # Name of the second data center (string value)
480 #second_datacenter_name = <None>
481
482 # Number of replicas in second data center (integer value)
483 #second_datacenter_replicas = <None>
484
485 # Name of the third data center (string value)
486 #third_datacenter_name = <None>
487
488 # Number of replicas in third data center (integer value)
489 #third_datacenter_replicas = <None>
490
491 # new or old version (boolean value)
492 #music_new_version = <None>
493 music_new_version = True
494
495 # for version (string value)
496 #music_version = <None>
497 music_version = "3.2.40"
498
499 # username value that used for creating basic authorization header (string
500 # value)
501 #aafuser = <None>
502 aafuser = conductor
503
504 # password value that used for creating basic authorization header (string
505 # value)
506 #aafpass = <None>
507 aafpass = c0nduct0r
508
509 # AAF namespace field used in MUSIC request header (string value)
510 #aafns = <None>
511 aafns = conductor
512
513 # Enabling HTTPs mode (boolean value)
514 enable_https_mode = True
515
516 # Certificate Authority Bundle file in pem format. Must contain the appropriate
517 # trust chain for the Certificate file. (string value)
518 certificate_authority_bundle_file = /usr/local/bin/AAF_RootCA.cer
519
520
521 [prometheus]
522
523 #
524 # From conductor
525 #
526
527 # Prometheus Metrics Endpoint (list value)
528 #metrics_port = 8000,8001,8002,8003,8004
529
530
531 [reservation]
532
533 #
534 # From conductor
535 #
536
537 # Number of workers for reservation service. Default value is 1. (integer
538 # value)
539 # Minimum value: 1
540 #workers = 1
541
542 # Number of times reservation/release should be attempted. (integer value)
543 #reserve_retries = 1
544
545 # Timeout for detecting a VM is down, and other VMs can pick the plan up and
546 # resereve. Default value is 600 seconds. (integer value) (integer value)
547 # Minimum value: 1
548 #timeout = 600
549
550 # Set to True when reservation will run in active-active mode. When set to
551 # False, reservation will restart any orphaned reserving requests at startup.
552 # (boolean value)
553 #concurrent = false
554 concurrent = true
555
556 # (integer value)
557 # Minimum value: 1
558 #max_reservation_counter = 1
559
560
561 [sdnc]
562
563 #
564 # From conductor
565 #
566
567 # Interval with which to refresh the local cache, in minutes. (integer value)
568 #cache_refresh_interval = 1440
569
570 # Data Store table prefix. (string value)
571 #table_prefix = sdnc
572
573 # Base URL for SDN-C, up to and including the version. (string value)
574 server_url = https://controller:8443/restconf/
575
576 # Basic Authentication Username (string value)
577 #username = <None>
578 username = admin
579
580 # Basic Authentication Password (string value)
581 #password = <None>
582 password = Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
583
584 # Timeout for SDNC Rest Call (string value)
585 #sdnc_rest_timeout = 30
586
587 # Retry Numbers for SDNC Rest Call (string value)
588 #sdnc_retries = 3
589
590 [service_controller]
591
592 #
593 # From conductor
594 #
595
596 # Extensions list to use (list value)
597 #extensions = sdnc
598
599
600 [solver]
601
602 #
603 # From conductor
604 #
605
606 # Number of workers for solver service. Default value is 1. (integer value)
607 # Minimum value: 1
608 #workers = 1
609
610 # The timeout value for solver service. Default value is 480 seconds. (integer
611 # value)
612 # Minimum value: 1
613 #solver_timeout = 480
614
615 # Set to True when solver will run in active-active mode. When set to False,
616 # solver will restart any orphaned solving requests at startup. (boolean value)
617 #concurrent = false
618 concurrent = true
619
620 # Timeout for detecting a VM is down, and other VMs can pick the plan up. This
621 # value should be larger than solver_timeoutDefault value is 10 minutes.
622 # (integer value) (integer value)
623 # Minimum value: 1
624 #timeout = 600
625
626 # (integer value)
627 # Minimum value: 1
628 #max_solver_counter = 1
629
630
631 [vim_controller]
632
633 #
634 # From conductor
635 #
636
637 # Extensions list to use (list value)
638 #extensions = multicloud