blob: 55f557c3a4e0e644eaf35de06461e25ebf7414e9 [file] [log] [blame]
Gary Wu9abb61c2018-09-27 10:38:50 -07001[DEFAULT]
2
3#
4# From conductor
5#
6
7# Configuration file for WSGI definition of API. (string value)
Shankar Narayanan8218d5b2019-04-26 23:30:36 -04008api_paste_config = /usr/local/etc/conductor/api_paste.ini
Gary Wu9abb61c2018-09-27 10:38:50 -07009
10# Music keyspace for content (string value)
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -070011#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
Gary Wu9abb61c2018-09-27 10:38:50 -070019
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.
27debug = true
28
Gary Wu9abb61c2018-09-27 10:38:50 -070029# 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
37log_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)
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -070042#log_date_format = %Y-%m-%d %H:%M:%S
Gary Wu9abb61c2018-09-27 10:38:50 -070043
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
Gary Wu9abb61c2018-09-27 10:38:50 -070050# (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
53log_dir = /var/log
54
Gary Wu9abb61c2018-09-27 10:38:50 -070055# 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
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -070067# 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
Gary Wu9abb61c2018-09-27 10:38:50 -070073# 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
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -070077# Use JSON formatting for logging. This option is ignored if log_config_append
78# is set. (boolean value)
79#use_json = false
80
Gary Wu9abb61c2018-09-27 10:38:50 -070081# 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)
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700105#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
Gary Wu9abb61c2018-09-27 10:38:50 -0700106
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
Dileep Ranganathan8e5e8752018-10-31 10:41:35 -0700134[aaf_api]
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700135
136#
137# From conductor
138#
139
140# is_aaf_enabled. (boolean value)
141#is_aaf_enabled = true
142
143# aaf_cache_expiry_hrs. (integer value)
144#aaf_cache_expiry_hrs = 3
145
146# aaf_url. (string value)
147aaf_url = http://localhost:8100/authz/perms/user/
148
Dileep Ranganathan8e5e8752018-10-31 10:41:35 -0700149# aaf_cert_file. (string value)
150#aaf_cert_file = <None>
151
152# aaf_cert_key_file. (string value)
153#aaf_cert_key_file = <None>
154
155# aaf_ca_bundle_file. (string value)
156#aaf_ca_bundle_file =
157aaf_ca_bundle_file = /usr/local/bin/AAF_RootCA.cer
158
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700159# aaf_retries. (integer value)
160#aaf_retries = 3
161
162# aaf_timeout. (integer value)
163#aaf_timeout = 100
164
165# aaf_user_roles. (list value)
Dileep Ranganathan8e5e8752018-10-31 10:41:35 -0700166#aaf_permissions = {"type": "org.onap.oof.access","instance": "*","action": "*"}
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700167
168
169[aaf_sms]
170
171#
172# From conductor
173#
174
Dileep Ranganathan425ba922018-10-04 15:34:34 -0700175# Is Secret Management service enabled (boolean value)
176#is_enabled = true
177
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700178# Base URL for SMS, up to and not including the version, and without a trailing
179# slash. (string value)
Dileep Ranganathan425ba922018-10-04 15:34:34 -0700180aaf_sms_url = http://aaf-sms.onap:10443
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700181
182# Timeout for SMS API Call (integer value)
183#aaf_sms_timeout = 30
184
185# Path to the cacert that will be used to verify If this is None, verify will
186# be False and the server certis not verified by the client. (string value)
187#aaf_ca_certs = AAF_RootCA.cer
Dileep Ranganathan425ba922018-10-04 15:34:34 -0700188aaf_ca_certs = /usr/local/bin/AAF_RootCA.cer
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700189
Dileep Ranganathan425ba922018-10-04 15:34:34 -0700190# Domain Name for HAS (string value)
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700191#secret_domain = has
192
193
Gary Wu9abb61c2018-09-27 10:38:50 -0700194[aai]
195
196#
197# From conductor
198#
199
200# Interval with which to refresh the local cache, in minutes. (integer value)
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700201#cache_refresh_interval = 1440
Gary Wu9abb61c2018-09-27 10:38:50 -0700202cache_refresh_interval = 1
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700203
204# Interval with which to refresh the local complex cache, in minutes. (integer
205# value)
206#complex_cache_refresh_interval = 1440
Gary Wu9abb61c2018-09-27 10:38:50 -0700207complex_cache_refresh_interval = 60
208
209# Data Store table prefix. (string value)
210#table_prefix = aai
211
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700212# Base URL for A&AI, up to and not including the version, and without a
213# trailing slash. (string value)
214#server_url = https://controller:8443/aai
Gary Wu9abb61c2018-09-27 10:38:50 -0700215server_url = http://localhost:8081/aai/
216
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700217# Timeout for A&AI Rest Call (string value)
218#aai_rest_timeout = 30
Gary Wu9abb61c2018-09-27 10:38:50 -0700219
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700220# Number of retry for A&AI Rest Call (string value)
221#aai_retries = 3
222
223# The version of A&AI in v# format. (string value)
224server_url_version = v14
Gary Wu9abb61c2018-09-27 10:38:50 -0700225
226# SSL/TLS certificate file in pem format. This certificate must be registered
227# with the A&AI endpoint. (string value)
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700228#certificate_file = certificate.pem
229certificate_file =
Gary Wu9abb61c2018-09-27 10:38:50 -0700230
231# Private Certificate Key file in pem format. (string value)
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700232#certificate_key_file = certificate_key.pem
233certificate_key_file =
Gary Wu9abb61c2018-09-27 10:38:50 -0700234
235# Certificate Authority Bundle file in pem format. Must contain the appropriate
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700236# trust chain for the Certificate file. (string value)
237#certificate_authority_bundle_file = certificate_authority_bundle.pem
238certificate_authority_bundle_file = /usr/local/bin/AAF_RootCA.cer
239
Gary Wu9abb61c2018-09-27 10:38:50 -0700240[api]
241
242#
243# From conductor
244#
245
246# Toggle Pecan Debug Middleware. (boolean value)
247#pecan_debug = false
248
249# Default maximum number of items returned by API request. (integer value)
250# Minimum value: 1
251#default_api_return_limit = 100
252
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700253
Gary Wu9abb61c2018-09-27 10:38:50 -0700254[conductor_api]
255
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700256#
257# From conductor
258#
259
260# Base URL for plans. (string value)
261#server_url =
262
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700263# auth toggling. (boolean value)
Gary Wu9abb61c2018-09-27 10:38:50 -0700264basic_auth_secure = false
265
266
Gary Wu9abb61c2018-09-27 10:38:50 -0700267[controller]
268
269#
270# From conductor
271#
272
273# Timeout for planning requests. Default value is 10. (integer value)
274# Minimum value: 1
275#timeout = 10
276
277# Maximum number of result sets to return. Default value is 1. (integer value)
278# Minimum value: 1
279#limit = 1
280
281# Number of workers for controller service. Default value is 1. (integer value)
282# Minimum value: 1
283#workers = 1
284
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700285# Set to True when controller will run in active-active mode. When set to
286# False, controller will flush any abandoned messages at startup. The
287# controller always restarts abandoned template translations at startup.
288# (boolean value)
289#concurrent = false
290concurrent = true
291
292# Time between checking for new plans. Default value is 1. (integer value)
293# Minimum value: 1
294#polling_interval = 1
295
296# (integer value)
297# Minimum value: 1
298#max_translation_counter = 1
299
300
301[data]
302
303#
304# From conductor
305#
306
307# Number of workers for data service. Default value is 1. (integer value)
308# Minimum value: 1
309#workers = 1
310
311# Set to True when data will run in active-active mode. When set to False, data
312# will flush any abandoned messages at startup. (boolean value)
313#concurrent = false
314concurrent = true
315
316# Default value is -8000, which is the diameter of the earth. The distance
317# cannot larger than this value (floating point value)
318#existing_placement_cost = -8000.0
319
320# (floating point value)
321#cloud_candidate_cost = 2.0
322
323# (floating point value)
324#service_candidate_cost = 1.0
325
Gary Wu9abb61c2018-09-27 10:38:50 -0700326
327[inventory_provider]
328
329#
330# From conductor
331#
332
333# Extensions list to use (list value)
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700334#extensions = aai
Gary Wu9abb61c2018-09-27 10:38:50 -0700335
336
337[messaging_server]
338
339#
340# From conductor
341#
342
343# Music keyspace for messages (string value)
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700344#keyspace = conductor_rpc
Gary Wu9abb61c2018-09-27 10:38:50 -0700345
346# Wait interval while checking for a message response. Default value is 1
347# second. (integer value)
348# Minimum value: 1
349#check_interval = 1
350
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700351# Overall message response timeout. Default value is 120 seconds. (integer
Gary Wu9abb61c2018-09-27 10:38:50 -0700352# value)
353# Minimum value: 1
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700354#response_timeout = 120
355
356# Timeout for detecting a VM is down, and other VMs can pick the plan up.
357# Default value is 5 minutes. (integer value) (integer value)
358# Minimum value: 1
359#timeout = 300
Gary Wu9abb61c2018-09-27 10:38:50 -0700360
361# Number of workers for messaging service. Default value is 1. (integer value)
362# Minimum value: 1
363#workers = 1
364
365# Time between checking for new messages. Default value is 1. (integer value)
366# Minimum value: 1
367#polling_interval = 1
368
369# Log debug messages. Default value is False. (boolean value)
370#debug = false
371
372
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700373[multicloud]
374
375#
376# From conductor
377#
378
379# Base URL for Multicloud without a trailing slash. (string value)
380server_url = http://msb.onap.org:8082/api/multicloud
381
382# Timeout for Multicloud Rest Call (string value)
383#multicloud_rest_timeout = 30
384
385# Number of retry for Multicloud Rest Call (string value)
386#multicloud_retries = 3
387
388# The version of Multicloud API. (string value)
389#server_url_version = v0
390
dhebeha01b63342020-01-08 18:14:53 +0530391# Certificate Authority Bundle file in pem format. Must contain the appropriate
392# trust chain for the Certificate file. (string value)
393#certificate_authority_bundle_file = certificate_authority_bundle.pem
394certificate_authority_bundle_file = /usr/local/bin/AAF_RootCA.cer
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700395
dhebeha01b63342020-01-08 18:14:53 +0530396# Enabling HTTPs mode (boolean value)
397# enable_https_mode = <None>
398enable_https_mode = True
Gary Wu9abb61c2018-09-27 10:38:50 -0700399[music_api]
400
401#
402# From conductor
403#
Gary Wu9abb61c2018-09-27 10:38:50 -0700404
405# Base URL for Music REST API without a trailing slash. (string value)
406server_url = http://localhost:8080/MUSIC/rest/v2
407version = v2
Gary Wu9abb61c2018-09-27 10:38:50 -0700408
409# DEPRECATED: List of hostnames (round-robin access) (list value)
410# This option is deprecated for removal.
411# Its value may be silently ignored in the future.
412# Reason: Use server_url instead
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700413#hostnames = <None>
Gary Wu9abb61c2018-09-27 10:38:50 -0700414
415# DEPRECATED: Port (integer value)
416# This option is deprecated for removal.
417# Its value may be silently ignored in the future.
418# Reason: Use server_url instead
419#port = <None>
420
421# DEPRECATED: Path (string value)
422# This option is deprecated for removal.
423# Its value may be silently ignored in the future.
424# Reason: Use server_url instead
425#path = <None>
426
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700427# Socket connection timeout (floating point value)
428#connect_timeout = 3.05
429
430# Socket read timeout (floating point value)
431#read_timeout = 12.05
432
Gary Wu9abb61c2018-09-27 10:38:50 -0700433# Lock timeout (integer value)
434#lock_timeout = 10
435
436# Replication factor (integer value)
437#replication_factor = 1
438
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700439# Use mock API (boolean value)
440#mock = false
441
442# (string value)
443#music_topology = SimpleStrategy
444
445# Name of the first data center (string value)
446#first_datacenter_name = <None>
447
448# Number of replicas in first data center (integer value)
449#first_datacenter_replicas = <None>
450
451# Name of the second data center (string value)
452#second_datacenter_name = <None>
453
454# Number of replicas in second data center (integer value)
455#second_datacenter_replicas = <None>
456
457# Name of the third data center (string value)
458#third_datacenter_name = <None>
459
460# Number of replicas in third data center (integer value)
461#third_datacenter_replicas = <None>
462
463# new or old version (boolean value)
464#music_new_version = <None>
465music_new_version = True
466
467# for version (string value)
468#music_version = <None>
469music_version = "3.0.21"
470
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700471[prometheus]
472
473#
474# From conductor
475#
476
477# Prometheus Metrics Endpoint (list value)
478#metrics_port = 8000,8001,8002,8003,8004
479
Gary Wu9abb61c2018-09-27 10:38:50 -0700480
481[reservation]
482
483#
484# From conductor
485#
486
487# Number of workers for reservation service. Default value is 1. (integer
488# value)
489# Minimum value: 1
490#workers = 1
491
492# Number of times reservation/release should be attempted. (integer value)
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700493#reserve_retries = 1
494
495# Timeout for detecting a VM is down, and other VMs can pick the plan up and
496# resereve. Default value is 600 seconds. (integer value) (integer value)
497# Minimum value: 1
498#timeout = 600
Gary Wu9abb61c2018-09-27 10:38:50 -0700499
500# Set to True when reservation will run in active-active mode. When set to
501# False, reservation will restart any orphaned reserving requests at startup.
502# (boolean value)
503#concurrent = false
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700504concurrent = true
505
506# (integer value)
507# Minimum value: 1
508#max_reservation_counter = 1
509
Gary Wu9abb61c2018-09-27 10:38:50 -0700510
511[sdnc]
512
513#
514# From conductor
515#
516
517# Interval with which to refresh the local cache, in minutes. (integer value)
518#cache_refresh_interval = 1440
519
520# Data Store table prefix. (string value)
521#table_prefix = sdnc
522
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700523# Base URL for SDN-C, up to and including the version. (string value)
524#server_url = https://controller:8443/restconf/
Gary Wu9abb61c2018-09-27 10:38:50 -0700525server_url = http://localhost:8083/restconf/
526
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700527# Timeout for SDNC Rest Call (string value)
528#sdnc_rest_timeout = 30
529
530# Retry Numbers for SDNC Rest Call (string value)
531#sdnc_retries = 3
Gary Wu9abb61c2018-09-27 10:38:50 -0700532
533
534[service_controller]
535
536#
537# From conductor
538#
539
540# Extensions list to use (list value)
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700541#extensions = sdnc
542
Gary Wu9abb61c2018-09-27 10:38:50 -0700543
544[solver]
545
546#
547# From conductor
548#
549
550# Number of workers for solver service. Default value is 1. (integer value)
551# Minimum value: 1
552#workers = 1
553
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700554# The timeout value for solver service. Default value is 480 seconds. (integer
555# value)
556# Minimum value: 1
557#solver_timeout = 480
558
Gary Wu9abb61c2018-09-27 10:38:50 -0700559# Set to True when solver will run in active-active mode. When set to False,
560# solver will restart any orphaned solving requests at startup. (boolean value)
561#concurrent = false
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700562concurrent = true
Gary Wu9abb61c2018-09-27 10:38:50 -0700563
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700564# Timeout for detecting a VM is down, and other VMs can pick the plan up. This
565# value should be larger than solver_timeoutDefault value is 10 minutes.
566# (integer value) (integer value)
567# Minimum value: 1
568#timeout = 600
Gary Wu9abb61c2018-09-27 10:38:50 -0700569
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700570# (integer value)
571# Minimum value: 1
572#max_solver_counter = 1
Gary Wu9abb61c2018-09-27 10:38:50 -0700573
574
575[vim_controller]
576
577#
578# From conductor
579#
580
581# Extensions list to use (list value)
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700582#extensions = multicloud