blob: 768e81b344047740b860f49559357e14f59450b6 [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)
8#api_paste_config = api_paste.ini
9
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 Ranganathan5dc29ae2018-10-06 16:35:11 -0700134[aaf_authentication]
135
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
149# aaf_retries. (integer value)
150#aaf_retries = 3
151
152# aaf_timeout. (integer value)
153#aaf_timeout = 100
154
155# aaf_user_roles. (list value)
156#aaf_user_roles = {"type": "org.onap.oof","instance": "plans","action": "GET"},{"type": "org.onap.oof","instance": "plans","action": "POST"}
157
158
159[aaf_sms]
160
161#
162# From conductor
163#
164
Dileep Ranganathan425ba922018-10-04 15:34:34 -0700165# Is Secret Management service enabled (boolean value)
166#is_enabled = true
167
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700168# Base URL for SMS, up to and not including the version, and without a trailing
169# slash. (string value)
Dileep Ranganathan425ba922018-10-04 15:34:34 -0700170aaf_sms_url = http://aaf-sms.onap:10443
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700171
172# Timeout for SMS API Call (integer value)
173#aaf_sms_timeout = 30
174
175# Path to the cacert that will be used to verify If this is None, verify will
176# be False and the server certis not verified by the client. (string value)
177#aaf_ca_certs = AAF_RootCA.cer
Dileep Ranganathan425ba922018-10-04 15:34:34 -0700178aaf_ca_certs = /usr/local/bin/AAF_RootCA.cer
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700179
Dileep Ranganathan425ba922018-10-04 15:34:34 -0700180# Domain Name for HAS (string value)
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700181#secret_domain = has
182
183
Gary Wu9abb61c2018-09-27 10:38:50 -0700184[aai]
185
186#
187# From conductor
188#
189
190# Interval with which to refresh the local cache, in minutes. (integer value)
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700191#cache_refresh_interval = 1440
Gary Wu9abb61c2018-09-27 10:38:50 -0700192cache_refresh_interval = 1
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700193
194# Interval with which to refresh the local complex cache, in minutes. (integer
195# value)
196#complex_cache_refresh_interval = 1440
Gary Wu9abb61c2018-09-27 10:38:50 -0700197complex_cache_refresh_interval = 60
198
199# Data Store table prefix. (string value)
200#table_prefix = aai
201
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700202# Base URL for A&AI, up to and not including the version, and without a
203# trailing slash. (string value)
204#server_url = https://controller:8443/aai
Gary Wu9abb61c2018-09-27 10:38:50 -0700205server_url = http://localhost:8081/aai/
206
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700207# Timeout for A&AI Rest Call (string value)
208#aai_rest_timeout = 30
Gary Wu9abb61c2018-09-27 10:38:50 -0700209
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700210# Number of retry for A&AI Rest Call (string value)
211#aai_retries = 3
212
213# The version of A&AI in v# format. (string value)
214server_url_version = v14
Gary Wu9abb61c2018-09-27 10:38:50 -0700215
216# SSL/TLS certificate file in pem format. This certificate must be registered
217# with the A&AI endpoint. (string value)
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700218#certificate_file = certificate.pem
219certificate_file =
Gary Wu9abb61c2018-09-27 10:38:50 -0700220
221# Private Certificate Key file in pem format. (string value)
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700222#certificate_key_file = certificate_key.pem
223certificate_key_file =
Gary Wu9abb61c2018-09-27 10:38:50 -0700224
225# Certificate Authority Bundle file in pem format. Must contain the appropriate
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700226# trust chain for the Certificate file. (string value)
227#certificate_authority_bundle_file = certificate_authority_bundle.pem
228certificate_authority_bundle_file = /usr/local/bin/AAF_RootCA.cer
229
Gary Wu9abb61c2018-09-27 10:38:50 -0700230[api]
231
232#
233# From conductor
234#
235
236# Toggle Pecan Debug Middleware. (boolean value)
237#pecan_debug = false
238
239# Default maximum number of items returned by API request. (integer value)
240# Minimum value: 1
241#default_api_return_limit = 100
242
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700243
Gary Wu9abb61c2018-09-27 10:38:50 -0700244[conductor_api]
245
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700246#
247# From conductor
248#
249
250# Base URL for plans. (string value)
251#server_url =
252
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700253# auth toggling. (boolean value)
Gary Wu9abb61c2018-09-27 10:38:50 -0700254basic_auth_secure = false
255
256
Gary Wu9abb61c2018-09-27 10:38:50 -0700257[controller]
258
259#
260# From conductor
261#
262
263# Timeout for planning requests. Default value is 10. (integer value)
264# Minimum value: 1
265#timeout = 10
266
267# Maximum number of result sets to return. Default value is 1. (integer value)
268# Minimum value: 1
269#limit = 1
270
271# Number of workers for controller service. Default value is 1. (integer value)
272# Minimum value: 1
273#workers = 1
274
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700275# Set to True when controller will run in active-active mode. When set to
276# False, controller will flush any abandoned messages at startup. The
277# controller always restarts abandoned template translations at startup.
278# (boolean value)
279#concurrent = false
280concurrent = true
281
282# Time between checking for new plans. Default value is 1. (integer value)
283# Minimum value: 1
284#polling_interval = 1
285
286# (integer value)
287# Minimum value: 1
288#max_translation_counter = 1
289
290
291[data]
292
293#
294# From conductor
295#
296
297# Number of workers for data service. Default value is 1. (integer value)
298# Minimum value: 1
299#workers = 1
300
301# Set to True when data will run in active-active mode. When set to False, data
302# will flush any abandoned messages at startup. (boolean value)
303#concurrent = false
304concurrent = true
305
306# Default value is -8000, which is the diameter of the earth. The distance
307# cannot larger than this value (floating point value)
308#existing_placement_cost = -8000.0
309
310# (floating point value)
311#cloud_candidate_cost = 2.0
312
313# (floating point value)
314#service_candidate_cost = 1.0
315
Gary Wu9abb61c2018-09-27 10:38:50 -0700316
317[inventory_provider]
318
319#
320# From conductor
321#
322
323# Extensions list to use (list value)
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700324#extensions = aai
Gary Wu9abb61c2018-09-27 10:38:50 -0700325
326
327[messaging_server]
328
329#
330# From conductor
331#
332
333# Music keyspace for messages (string value)
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700334#keyspace = conductor_rpc
Gary Wu9abb61c2018-09-27 10:38:50 -0700335
336# Wait interval while checking for a message response. Default value is 1
337# second. (integer value)
338# Minimum value: 1
339#check_interval = 1
340
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700341# Overall message response timeout. Default value is 120 seconds. (integer
Gary Wu9abb61c2018-09-27 10:38:50 -0700342# value)
343# Minimum value: 1
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700344#response_timeout = 120
345
346# Timeout for detecting a VM is down, and other VMs can pick the plan up.
347# Default value is 5 minutes. (integer value) (integer value)
348# Minimum value: 1
349#timeout = 300
Gary Wu9abb61c2018-09-27 10:38:50 -0700350
351# Number of workers for messaging service. Default value is 1. (integer value)
352# Minimum value: 1
353#workers = 1
354
355# Time between checking for new messages. Default value is 1. (integer value)
356# Minimum value: 1
357#polling_interval = 1
358
359# Log debug messages. Default value is False. (boolean value)
360#debug = false
361
362
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700363[multicloud]
364
365#
366# From conductor
367#
368
369# Base URL for Multicloud without a trailing slash. (string value)
370server_url = http://msb.onap.org:8082/api/multicloud
371
372# Timeout for Multicloud Rest Call (string value)
373#multicloud_rest_timeout = 30
374
375# Number of retry for Multicloud Rest Call (string value)
376#multicloud_retries = 3
377
378# The version of Multicloud API. (string value)
379#server_url_version = v0
380
381
Gary Wu9abb61c2018-09-27 10:38:50 -0700382[music_api]
383
384#
385# From conductor
386#
Gary Wu9abb61c2018-09-27 10:38:50 -0700387
388# Base URL for Music REST API without a trailing slash. (string value)
389server_url = http://localhost:8080/MUSIC/rest/v2
390version = v2
Gary Wu9abb61c2018-09-27 10:38:50 -0700391
392# DEPRECATED: List of hostnames (round-robin access) (list value)
393# This option is deprecated for removal.
394# Its value may be silently ignored in the future.
395# Reason: Use server_url instead
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700396#hostnames = <None>
Gary Wu9abb61c2018-09-27 10:38:50 -0700397
398# DEPRECATED: Port (integer value)
399# This option is deprecated for removal.
400# Its value may be silently ignored in the future.
401# Reason: Use server_url instead
402#port = <None>
403
404# DEPRECATED: Path (string value)
405# This option is deprecated for removal.
406# Its value may be silently ignored in the future.
407# Reason: Use server_url instead
408#path = <None>
409
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700410# Socket connection timeout (floating point value)
411#connect_timeout = 3.05
412
413# Socket read timeout (floating point value)
414#read_timeout = 12.05
415
Gary Wu9abb61c2018-09-27 10:38:50 -0700416# Lock timeout (integer value)
417#lock_timeout = 10
418
419# Replication factor (integer value)
420#replication_factor = 1
421
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700422# Use mock API (boolean value)
423#mock = false
424
425# (string value)
426#music_topology = SimpleStrategy
427
428# Name of the first data center (string value)
429#first_datacenter_name = <None>
430
431# Number of replicas in first data center (integer value)
432#first_datacenter_replicas = <None>
433
434# Name of the second data center (string value)
435#second_datacenter_name = <None>
436
437# Number of replicas in second data center (integer value)
438#second_datacenter_replicas = <None>
439
440# Name of the third data center (string value)
441#third_datacenter_name = <None>
442
443# Number of replicas in third data center (integer value)
444#third_datacenter_replicas = <None>
445
446# new or old version (boolean value)
447#music_new_version = <None>
448music_new_version = True
449
450# for version (string value)
451#music_version = <None>
452music_version = "3.0.21"
453
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700454[prometheus]
455
456#
457# From conductor
458#
459
460# Prometheus Metrics Endpoint (list value)
461#metrics_port = 8000,8001,8002,8003,8004
462
Gary Wu9abb61c2018-09-27 10:38:50 -0700463
464[reservation]
465
466#
467# From conductor
468#
469
470# Number of workers for reservation service. Default value is 1. (integer
471# value)
472# Minimum value: 1
473#workers = 1
474
475# Number of times reservation/release should be attempted. (integer value)
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700476#reserve_retries = 1
477
478# Timeout for detecting a VM is down, and other VMs can pick the plan up and
479# resereve. Default value is 600 seconds. (integer value) (integer value)
480# Minimum value: 1
481#timeout = 600
Gary Wu9abb61c2018-09-27 10:38:50 -0700482
483# Set to True when reservation will run in active-active mode. When set to
484# False, reservation will restart any orphaned reserving requests at startup.
485# (boolean value)
486#concurrent = false
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700487concurrent = true
488
489# (integer value)
490# Minimum value: 1
491#max_reservation_counter = 1
492
Gary Wu9abb61c2018-09-27 10:38:50 -0700493
494[sdnc]
495
496#
497# From conductor
498#
499
500# Interval with which to refresh the local cache, in minutes. (integer value)
501#cache_refresh_interval = 1440
502
503# Data Store table prefix. (string value)
504#table_prefix = sdnc
505
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700506# Base URL for SDN-C, up to and including the version. (string value)
507#server_url = https://controller:8443/restconf/
Gary Wu9abb61c2018-09-27 10:38:50 -0700508server_url = http://localhost:8083/restconf/
509
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700510# Timeout for SDNC Rest Call (string value)
511#sdnc_rest_timeout = 30
512
513# Retry Numbers for SDNC Rest Call (string value)
514#sdnc_retries = 3
Gary Wu9abb61c2018-09-27 10:38:50 -0700515
516
517[service_controller]
518
519#
520# From conductor
521#
522
523# Extensions list to use (list value)
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700524#extensions = sdnc
525
Gary Wu9abb61c2018-09-27 10:38:50 -0700526
527[solver]
528
529#
530# From conductor
531#
532
533# Number of workers for solver service. Default value is 1. (integer value)
534# Minimum value: 1
535#workers = 1
536
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700537# The timeout value for solver service. Default value is 480 seconds. (integer
538# value)
539# Minimum value: 1
540#solver_timeout = 480
541
Gary Wu9abb61c2018-09-27 10:38:50 -0700542# Set to True when solver will run in active-active mode. When set to False,
543# solver will restart any orphaned solving requests at startup. (boolean value)
544#concurrent = false
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700545concurrent = true
Gary Wu9abb61c2018-09-27 10:38:50 -0700546
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700547# Timeout for detecting a VM is down, and other VMs can pick the plan up. This
548# value should be larger than solver_timeoutDefault value is 10 minutes.
549# (integer value) (integer value)
550# Minimum value: 1
551#timeout = 600
Gary Wu9abb61c2018-09-27 10:38:50 -0700552
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700553# (integer value)
554# Minimum value: 1
555#max_solver_counter = 1
Gary Wu9abb61c2018-09-27 10:38:50 -0700556
557
558[vim_controller]
559
560#
561# From conductor
562#
563
564# Extensions list to use (list value)
Dileep Ranganathan5dc29ae2018-10-06 16:35:11 -0700565#extensions = multicloud