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