1 # Copyright © 2017 Amdocs, Bell Canada
2 # Modifications Copyright © 2018 AT&T,VMware, Intel Corporation.
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
22 # Configuration file for WSGI definition of API. (string value)
23 #api_paste_config = api_paste.ini
25 # Music keyspace for content (string value)
28 # Delay time (Seconds) for MUSIC requests. Set it to 2 seconds by default.
39 # If set to true, the logging level will be set to DEBUG instead of the default
40 # INFO level. (boolean value)
41 # Note: This option can be changed without restarting.
45 # The name of a logging configuration file. This file is appended to any
46 # existing logging configuration files. For details about logging configuration
47 # files, see the Python logging module documentation. Note that when logging
48 # configuration files are used then all logging configuration is set in the
49 # configuration file and other logging configuration options are ignored (for
50 # example, logging_context_format_string). (string value)
51 # Note: This option can be changed without restarting.
52 # Deprecated group/name - [DEFAULT]/log_config
53 #log_config_append = <None>
54 log_config_append = /usr/local/bin/log.conf
56 # Defines the format string for %%(asctime)s in log records. Default:
57 # %(default)s . This option is ignored if log_config_append is set. (string
59 #log_date_format = %Y-%m-%d %H:%M:%S
61 # (Optional) Name of log file to send logging output to. If no default is set,
62 # logging will go to stderr as defined by use_stderr. This option is ignored if
63 # log_config_append is set. (string value)
64 # Deprecated group/name - [DEFAULT]/logfile
67 # (Optional) The base directory used for relative log_file paths. This option
68 # is ignored if log_config_append is set. (string value)
69 # Deprecated group/name - [DEFAULT]/logdir
72 # Uses logging handler designed to watch file system. When log file is moved or
73 # removed this handler will open a new log file with specified path
74 # instantaneously. It makes sense only if log_file option is specified and
75 # Linux platform is used. This option is ignored if log_config_append is set.
77 #watch_log_file = false
79 # Use syslog for logging. Existing syslog format is DEPRECATED and will be
80 # changed later to honor RFC5424. This option is ignored if log_config_append
81 # is set. (boolean value)
84 # Enable journald for logging. If running in a systemd environment you may wish
85 # to enable journal support. Doing so will use the journal native protocol
86 # which includes structured metadata in addition to log messages.This option is
87 # ignored if log_config_append is set. (boolean value)
90 # Syslog facility to receive log lines. This option is ignored if
91 # log_config_append is set. (string value)
92 #syslog_log_facility = LOG_USER
94 # Use JSON formatting for logging. This option is ignored if log_config_append
95 # is set. (boolean value)
98 # Log output to standard error. This option is ignored if log_config_append is
99 # set. (boolean value)
102 # Format string to use for log messages with context. (string value)
103 #logging_context_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [%(request_id)s %(user_identity)s] %(instance)s%(message)s
105 # Format string to use for log messages when context is undefined. (string
107 #logging_default_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [-] %(instance)s%(message)s
109 # Additional data to append to log message when logging level for the message
110 # is DEBUG. (string value)
111 #logging_debug_format_suffix = %(funcName)s %(pathname)s:%(lineno)d
113 # Prefix each line of exception output with this format. (string value)
114 #logging_exception_prefix = %(asctime)s.%(msecs)03d %(process)d ERROR %(name)s %(instance)s
116 # Defines the format string for %(user_identity)s that is used in
117 # logging_context_format_string. (string value)
118 #logging_user_identity_format = %(user)s %(tenant)s %(domain)s %(user_domain)s %(project_domain)s
120 # List of package logging levels in logger=LEVEL pairs. This option is ignored
121 # if log_config_append is set. (list value)
122 #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
124 # Enables or disables publication of error events. (boolean value)
125 #publish_errors = false
127 # The format for an instance that is passed with the log message. (string
129 #instance_format = "[instance: %(uuid)s] "
131 # The format for an instance UUID that is passed with the log message. (string
133 #instance_uuid_format = "[instance: %(uuid)s] "
135 # Interval, number of seconds, of log rate limiting. (integer value)
136 #rate_limit_interval = 0
138 # Maximum number of logged messages per rate_limit_interval. (integer value)
139 #rate_limit_burst = 0
141 # Log level name used by rate limiting: CRITICAL, ERROR, INFO, WARNING, DEBUG
142 # or empty string. Logs with level greater or equal to rate_limit_except_level
143 # are not filtered. An empty string means that all levels are filtered. (string
145 #rate_limit_except_level = CRITICAL
147 # Enables or disables fatal status of deprecations. (boolean value)
148 #fatal_deprecations = false
157 # is_aaf_enabled. (boolean value)
158 is_aaf_enabled = false
160 # aaf_cache_expiry_hrs. (integer value)
161 #aaf_cache_expiry_hrs = 3
163 # aaf_url. (string value)
164 #aaf_url = http://aaf-service:8100/authz/perms/user/
165 aaf_url = http://{{.Values.config.aaf.serviceName}}.{{ include "common.namespace" . }}:{{.Values.config.aaf.port}}/authz/perms/user/
167 # aaf_retries. (integer value)
170 # aaf_timeout. (integer value)
173 # aaf_user_roles. (list value)
174 #aaf_user_roles = {"type": "org.onap.oof","instance": "plans","action": "GET"},{"type": "org.onap.oof","instance": "plans","action": "POST"}
183 # Base URL for SMS, up to and not including the version, and without a trailing
184 # slash. (string value)
185 aaf_sms_url = https://{{.Values.config.sms.serviceName}}.{{ include "common.namespace" . }}:{{.Values.config.sms.port}}
188 # Timeout for SMS API Call (integer value)
189 #aaf_sms_timeout = 30
191 # Path to the cacert that will be used to verify If this is None, verify will
192 # be False and the server certis not verified by the client. (string value)
193 #aaf_ca_certs = AAF_RootCA.cer
194 aaf_ca_certs = /usr/local/bin/AAF_RootCA.cer
196 # Domain UUID - A unique UUID generated when the domainfor HAS is created by
197 # administrator during deployment (string value)
207 # Interval with which to refresh the local cache, in minutes. (integer value)
208 #cache_refresh_interval = 1440
209 cache_refresh_interval = 1
211 # Interval with which to refresh the local complex cache, in minutes. (integer
213 #complex_cache_refresh_interval = 1440
214 complex_cache_refresh_interval = 60
216 # Data Store table prefix. (string value)
219 # Base URL for A&AI, up to and not including the version, and without a
220 # trailing slash. (string value)
221 server_url = https://{{.Values.config.aai.serviceName}}.{{ include "common.namespace" . }}:{{.Values.config.aai.port}}/aai
223 # Timeout for A&AI Rest Call (string value)
224 #aai_rest_timeout = 30
226 # Number of retry for A&AI Rest Call (string value)
229 # The version of A&AI in v# format. (string value)
230 server_url_version = v14
232 # SSL/TLS certificate file in pem format. This certificate must be registered
233 # with the A&AI endpoint. (string value)
236 # Private Certificate Key file in pem format. (string value)
237 certificate_key_file =
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
244 # Username for AAI. (string value)
247 # Password for AAI. (string value)
257 # Toggle Pecan Debug Middleware. (boolean value)
260 # Default maximum number of items returned by API request. (integer value)
262 #default_api_return_limit = 100
270 # Base URL for plans. (string value)
273 # username for plans. (string value)
277 # password for plans. (string value)
281 # auth toggling. (boolean value)
282 basic_auth_secure = true
291 # Timeout for planning requests. Default value is 10. (integer value)
296 # Maximum number of result sets to return. Default value is 1. (integer value)
300 # Number of workers for controller service. Default value is 1. (integer value)
304 # Set to True when controller will run in active-active mode. When set to
305 # False, controller will flush any abandoned messages at startup. The
306 # controller always restarts abandoned template translations at startup.
311 # Time between checking for new plans. Default value is 1. (integer value)
313 #polling_interval = 1
317 #max_translation_counter = 1
326 # Number of workers for data service. Default value is 1. (integer value)
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)
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
339 # (floating point value)
340 #cloud_candidate_cost = 2.0
342 # (floating point value)
343 #service_candidate_cost = 1.0
352 # Extensions list to use (list value)
362 # Music keyspace for messages (string value)
363 #keyspace = conductor_rpc
365 # Wait interval while checking for a message response. Default value is 1
366 # second. (integer value)
370 # Overall message response timeout. Default value is 120 seconds. (integer
373 #response_timeout = 120
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)
380 # Number of workers for messaging service. Default value is 1. (integer value)
384 # Time between checking for new messages. Default value is 1. (integer value)
386 #polling_interval = 1
388 # Log debug messages. Default value is False. (boolean value)
398 # Base URL for Multicloud without a trailing slash. (string value)
399 #server_url = http://msb.onap.org/api/multicloud
400 server_url = http://{{.Values.config.msb.serviceName}}.{{ include "common.namespace" . }}:{{.Values.config.msb.port}}/api/multicloud
402 # Timeout for Multicloud Rest Call (string value)
403 #multicloud_rest_timeout = 30
405 # Number of retry for Multicloud Rest Call (string value)
406 #multicloud_retries = 3
408 # The version of Multicloud API. (string value)
409 #server_url_version = v0
418 # Base URL for Music REST API without a trailing slash. (string value)
419 #server_url = http://oof-has-music:8080/MUSIC/rest/v2
420 server_url = http://{{.Values.config.music.serviceName}}.{{ include "common.namespace" . }}:{{.Values.config.music.port}}/MUSIC/rest/v2
423 # DEPRECATED: List of hostnames (round-robin access) (list value)
424 # This option is deprecated for removal.
425 # Its value may be silently ignored in the future.
426 # Reason: Use server_url instead
429 # DEPRECATED: Port (integer value)
430 # This option is deprecated for removal.
431 # Its value may be silently ignored in the future.
432 # Reason: Use server_url instead
435 # DEPRECATED: Path (string value)
436 # This option is deprecated for removal.
437 # Its value may be silently ignored in the future.
438 # Reason: Use server_url instead
441 # Socket connection timeout (floating point value)
442 #connect_timeout = 3.05
444 # Socket read timeout (floating point value)
445 #read_timeout = 12.05
447 # Lock timeout (integer value)
450 # Replication factor (integer value)
451 #replication_factor = 1
452 replication_factor = 1
454 # Use mock API (boolean value)
458 #music_topology = SimpleStrategy
460 # Name of the first data center (string value)
461 #first_datacenter_name = <None>
463 # Number of replicas in first data center (integer value)
464 #first_datacenter_replicas = <None>
466 # Name of the second data center (string value)
467 #second_datacenter_name = <None>
469 # Number of replicas in second data center (integer value)
470 #second_datacenter_replicas = <None>
472 # Name of the third data center (string value)
473 #third_datacenter_name = <None>
475 # Number of replicas in third data center (integer value)
476 #third_datacenter_replicas = <None>
478 # new or old version (boolean value)
479 #music_new_version = <None>
480 music_new_version = True
482 # for version (string value)
483 #music_version = <None>
484 music_version = "3.0.21"
486 # username value that used for creating basic authorization header (string
491 # password value that used for creating basic authorization header (string
496 # AAF namespace field used in MUSIC request header (string value)
507 # Prometheus Metrics Endpoint (list value)
508 #metrics_port = 8000,8001,8002,8003,8004
517 # Number of workers for reservation service. Default value is 1. (integer
522 # Number of times reservation/release should be attempted. (integer value)
525 # Timeout for detecting a VM is down, and other VMs can pick the plan up and
526 # resereve. Default value is 600 seconds. (integer value) (integer value)
530 # Set to True when reservation will run in active-active mode. When set to
531 # False, reservation will restart any orphaned reserving requests at startup.
538 #max_reservation_counter = 1
547 # Interval with which to refresh the local cache, in minutes. (integer value)
548 #cache_refresh_interval = 1440
550 # Data Store table prefix. (string value)
553 # Base URL for SDN-C, up to and including the version. (string value)
554 #server_url = https://controller:8443/restconf/
555 server_url = https://sdncodl-conexus-e2e.ecomp.cci.att.com:8543/restconf/
557 # Basic Authentication Username (string value)
561 # Basic Authentication Password (string value)
563 password = Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
565 # Timeout for SDNC Rest Call (string value)
566 #sdnc_rest_timeout = 30
568 # Retry Numbers for SDNC Rest Call (string value)
578 # Extensions list to use (list value)
588 # Number of workers for solver service. Default value is 1. (integer value)
592 # The timeout value for solver service. Default value is 480 seconds. (integer
595 #solver_timeout = 480
597 # Set to True when solver will run in active-active mode. When set to False,
598 # solver will restart any orphaned solving requests at startup. (boolean value)
602 # Timeout for detecting a VM is down, and other VMs can pick the plan up. This
603 # value should be larger than solver_timeoutDefault value is 10 minutes.
604 # (integer value) (integer value)
610 #max_solver_counter = 1
619 # Extensions list to use (list value)
620 #extensions = multicloud