Merge "Add missing label in the Release Note file" into jakarta
[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, generator
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
421 [db_options]
422
423 # db_backend to use
424 db_backend = music
425
426 # Use music mock api
427 music_mock = False
428
429
430 [etcd_api]
431
432 # host/ip address of etcd server
433 host = localhost
434
435 # port of etcd server
436 port = 2379
437
438 # username for etcd authentication
439 username = conductor
440
441 # password for etcd authentication
442 password = conductor
443
444
445 [music_api]
446
447 #
448 # From conductor
449 #
450
451 # Base URL for Music REST API without a trailing slash. (string value)
452 server_url = http://localhost:8080/MUSIC/rest/v2
453 version = v2
454
455 # DEPRECATED: List of hostnames (round-robin access) (list value)
456 # This option is deprecated for removal.
457 # Its value may be silently ignored in the future.
458 # Reason: Use server_url instead
459 #hostnames = <None>
460
461 # DEPRECATED: Port (integer value)
462 # This option is deprecated for removal.
463 # Its value may be silently ignored in the future.
464 # Reason: Use server_url instead
465 #port = <None>
466
467 # DEPRECATED: Path (string value)
468 # This option is deprecated for removal.
469 # Its value may be silently ignored in the future.
470 # Reason: Use server_url instead
471 #path = <None>
472
473 # Socket connection timeout (floating point value)
474 #connect_timeout = 3.05
475
476 # Socket read timeout (floating point value)
477 #read_timeout = 12.05
478
479 # Lock timeout (integer value)
480 #lock_timeout = 10
481
482 # Replication factor (integer value)
483 #replication_factor = 1
484 replication_factor = 3
485
486 # Use mock API (boolean value)
487 #mock = false
488
489 # (string value)
490 #music_topology = SimpleStrategy
491
492 # Name of the first data center (string value)
493 #first_datacenter_name = <None>
494
495 # Number of replicas in first data center (integer value)
496 #first_datacenter_replicas = <None>
497
498 # Name of the second data center (string value)
499 #second_datacenter_name = <None>
500
501 # Number of replicas in second data center (integer value)
502 #second_datacenter_replicas = <None>
503
504 # Name of the third data center (string value)
505 #third_datacenter_name = <None>
506
507 # Number of replicas in third data center (integer value)
508 #third_datacenter_replicas = <None>
509
510 # new or old version (boolean value)
511 #music_new_version = <None>
512 music_new_version = True
513
514 # Enabling HTTPs mode (boolean value)
515 #enable_https_mode = <None>
516 enable_https_mode = False
517
518 # for version (string value)
519 #music_version = <None>
520 music_version = "3.0.23"
521
522 # username value that used for creating basic authorization header (string
523 # value)
524 #aafuser = <None>
525
526 # password value that used for creating basic authorization header (string
527 # value)
528 #aafpass = <None>
529
530 # AAF namespace field used in MUSIC request header (string value)
531 #aafns = <None>
532
533 # Certificate Authority Bundle file in pem format. Must contain the appropriate
534 # trust chain for the Certificate file. (string value)
535 #certificate_authority_bundle_file = certificate_authority_bundle.pem
536 certificate_authority_bundle_file = /usr/local/bin/AAF_RootCA.cer
537
538 [prometheus]
539
540 #
541 # From conductor
542 #
543
544 # Prometheus Metrics Endpoint (list value)
545 #metrics_port = 8000,8001,8002,8003,8004
546
547
548 [reservation]
549
550 #
551 # From conductor
552 #
553
554 # Number of workers for reservation service. Default value is 1. (integer
555 # value)
556 # Minimum value: 1
557 #workers = 1
558
559 # Number of times reservation/release should be attempted. (integer value)
560 #reserve_retries = 1
561
562 # Timeout for detecting a VM is down, and other VMs can pick the plan up and
563 # resereve. Default value is 600 seconds. (integer value) (integer value)
564 # Minimum value: 1
565 #timeout = 600
566
567 # Set to True when reservation will run in active-active mode. When set to
568 # False, reservation will restart any orphaned reserving requests at startup.
569 # (boolean value)
570 #concurrent = false
571 concurrent = true
572
573 # (integer value)
574 # Minimum value: 1
575 #max_reservation_counter = 1
576
577
578 [sdnc]
579
580 #
581 # From conductor
582 #
583
584 # Interval with which to refresh the local cache, in minutes. (integer value)
585 #cache_refresh_interval = 1440
586
587 # Data Store table prefix. (string value)
588 #table_prefix = sdnc
589
590 # Base URL for SDN-C, up to and including the version. (string value)
591 #server_url = https://controller:8443/restconf/
592 server_url = https://sdnc.onap:8282/restconf/
593
594 # Basic Authentication Username (string value)
595 #username = <None>
596
597 # Basic Authentication Password (string value)
598 #password = <None>
599
600 # Timeout for SDNC Rest Call (string value)
601 #sdnc_rest_timeout = 30
602
603 # Retry Numbers for SDNC Rest Call (string value)
604 #sdnc_retries = 3
605
606
607 [service_controller]
608
609 #
610 # From conductor
611 #
612
613 # Extensions list to use (list value)
614 #extensions = sdnc
615
616
617 [solver]
618
619 #
620 # From conductor
621 #
622
623 # Number of workers for solver service. Default value is 1. (integer value)
624 # Minimum value: 1
625 #workers = 1
626
627 # The timeout value for solver service. Default value is 480 seconds. (integer
628 # value)
629 # Minimum value: 1
630 #solver_timeout = 480
631
632 # Set to True when solver will run in active-active mode. When set to False,
633 # solver will restart any orphaned solving requests at startup. (boolean value)
634 #concurrent = false
635 concurrent = true
636
637 # Timeout for detecting a VM is down, and other VMs can pick the plan up. This
638 # value should be larger than solver_timeoutDefault value is 10 minutes.
639 # (integer value) (integer value)
640 # Minimum value: 1
641 #timeout = 600
642
643 # (integer value)
644 # Minimum value: 1
645 #max_solver_counter = 1
646
647
648 [vim_controller]
649
650 #
651 # From conductor
652 #
653
654 # Extensions list to use (list value)
655 #extensions = multicloud
656
657 [sdc]
658
659 #
660 # From conductor
661 #
662
663
664 # Data Store table prefix. (string value)
665 #table_prefix = sdc
666
667 # Base URL for SDC, up to and not including the version, and without a
668 # trailing slash. (string value)
669 #server_url = https://controller:8443/sdc
670 server_url = https://sdc.api.simpledemo.onap.org:8443/sdc
671
672 # Timeout for SDC Rest Call (string value)
673 #sdc_rest_timeout = 30
674
675 # Number of retry for SDC Rest Call (string value)
676 #sdc_retries = 3
677
678 # The version of A&AI in v# format. (string value)
679 server_url_version = v1
680
681 # SSL/TLS certificate file in pem format. This certificate must be registered
682 # with the SDC endpoint. (string value)
683 #certificate_file = certificate.pem
684 certificate_file =
685
686 # Private Certificate Key file in pem format. (string value)
687 #certificate_key_file = certificate_key.pem
688 certificate_key_file =
689
690 # Certificate Authority Bundle file in pem format. Must contain the appropriate
691 # trust chain for the Certificate file. (string value)
692 #certificate_authority_bundle_file = certificate_authority_bundle.pem
693 certificate_authority_bundle_file = /usr/local/bin/AAF_RootCA.cer
694
695 # Username for SDC. (string value)
696 #username =
697
698 # Password for SDC. (string value)
699 #password =
700
701 temp_path = "/tmp/nsttemplates"
702
703
704
705 [cps]
706
707 #
708 # From conductor
709 #
710
711
712 # Data Store table prefix. (string value)
713 #table_prefix = cps
714
715 # Base URL for CPS, up to and not including the version, and without a
716 # trailing slash. (string value)
717 #yet to be finalized
718 #server_url = https://cps.api.simpledemo.onap.org:8443/cps
719 server_url=http://cps:8080/
720
721 # Timeout for CPS Rest Call (string value)
722 #cps_rest_timeout = 30
723
724 # Number of retry for CPS Rest Call (string value)
725 #cps_retries = 3
726
727
728 # SSL/TLS certificate file in pem format. This certificate must be registered
729 # with the CPS endpoint. (string value)
730 #certificate_file = certificate.pem
731 certificate_file =
732
733 # Private Certificate Key file in pem format. (string value)
734 #certificate_key_file = certificate_key.pem
735 certificate_key_file =
736
737 # Certificate Authority Bundle file in pem format. Must contain the appropriate
738 # trust chain for the Certificate file. (string value)
739 #certificate_authority_bundle_file = certificate_authority_bundle.pem
740 certificate_authority_bundle_file = /usr/local/bin/AAF_RootCA.cer
741
742 # Username for CPS. (string value)
743 #username =
744
745 # Password for CPS. (string value)
746 #password =
747
748 get_ta_list_url = "/api/v1/execute/ran-coverage-area/get_ta_list"
749
750
751 [dcae]
752
753 #
754 # From conductor
755 #
756 #
757 # Data Store table prefix. (string value)
758 #table_prefix = dcae
759
760 # Base URL for DCAE, up to and not including the version, and without a
761 # trailing slash. (string value)
762 server_url = https://dcae:8080
763
764 # Timeout for DCAE Rest Call (string value)
765 #dcae_rest_timeout = 30
766
767 # Number of retry for DCAE Rest Call (string value)
768 #dcae_retries = 3
769
770 # The version of A&AI in v# format. (string value)
771 server_url_version = v1
772
773 # SSL/TLS certificate file in pem format. This certificate must be registered
774 # with the SDC endpoint. (string value)
775 #certificate_file = certificate.pem
776 certificate_file =
777
778 # Private Certificate Key file in pem format. (string value)
779 #certificate_key_file = certificate_key.pem
780 certificate_key_file =
781
782 # Certificate Authority Bundle file in pem format. Must contain the appropriate
783 # trust chain for the Certificate file. (string value)
784 #certificate_authority_bundle_file = certificate_authority_bundle.pem
785 certificate_authority_bundle_file = /usr/local/bin/AAF_RootCA.cer
786
787 # Username for DCAE. (string value)
788 #username =
789
790 # Password for DCAE. (string value)
791 #password = 
792
793 get_slice_config_url = "/api/v1/slices-config"