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