7 # Configuration file for WSGI definition of API. (string value)
8 #api_paste_config = api_paste.ini
10 # Music keyspace for content (string value)
13 # Delay time (Seconds) for MUSIC requests. Set it to 2 seconds by default.
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.
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>
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
42 #log_date_format = %Y-%m-%d %H:%M:%S
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
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
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.
60 #watch_log_file = false
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)
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)
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
77 # Use JSON formatting for logging. This option is ignored if log_config_append
78 # is set. (boolean value)
81 # Log output to standard error. This option is ignored if log_config_append is
82 # set. (boolean value)
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
88 # Format string to use for log messages when context is undefined. (string
90 #logging_default_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [-] %(instance)s%(message)s
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
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
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
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
107 # Enables or disables publication of error events. (boolean value)
108 #publish_errors = false
110 # The format for an instance that is passed with the log message. (string
112 #instance_format = "[instance: %(uuid)s] "
114 # The format for an instance UUID that is passed with the log message. (string
116 #instance_uuid_format = "[instance: %(uuid)s] "
118 # Interval, number of seconds, of log rate limiting. (integer value)
119 #rate_limit_interval = 0
121 # Maximum number of logged messages per rate_limit_interval. (integer value)
122 #rate_limit_burst = 0
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
128 #rate_limit_except_level = CRITICAL
130 # Enables or disables fatal status of deprecations. (boolean value)
131 #fatal_deprecations = false
140 # is_aaf_enabled. (boolean value)
141 #is_aaf_enabled = true
143 # aaf_cache_expiry_hrs. (integer value)
144 #aaf_cache_expiry_hrs = 3
146 # aaf_url. (string value)
147 aaf_url = http://aaf-service:8100/authz/perms/user/
149 # aaf_retries. (integer value)
152 # aaf_timeout. (integer value)
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"}
165 # Base URL for SMS, up to and not including the version, and without a trailing
166 # slash. (string value)
167 #aaf_sms_url = https://aaf-sms.onap:10443
169 # Timeout for SMS API Call (integer value)
170 #aaf_sms_timeout = 30
172 # Path to the cacert that will be used to verify If this is None, verify will
173 # be False and the server certis not verified by the client. (string value)
174 #aaf_ca_certs = AAF_RootCA.cer
176 # Domain Name for HAS
186 # Interval with which to refresh the local cache, in minutes. (integer value)
187 #cache_refresh_interval = 1440
188 cache_refresh_interval = 1
190 # Interval with which to refresh the local complex cache, in minutes. (integer
192 #complex_cache_refresh_interval = 1440
193 complex_cache_refresh_interval = 60
195 # Data Store table prefix. (string value)
198 # Base URL for A&AI, up to and not including the version, and without a
199 # trailing slash. (string value)
200 #server_url = https://controller:8443/aai
201 server_url = https://aai.api.simpledemo.onap.org:8443/aai
203 # Timeout for A&AI Rest Call (string value)
204 #aai_rest_timeout = 30
206 # Number of retry for A&AI Rest Call (string value)
209 # The version of A&AI in v# format. (string value)
210 server_url_version = v14
212 # SSL/TLS certificate file in pem format. This certificate must be registered
213 # with the A&AI endpoint. (string value)
214 #certificate_file = certificate.pem
217 # Private Certificate Key file in pem format. (string value)
218 #certificate_key_file = certificate_key.pem
219 certificate_key_file =
221 # Certificate Authority Bundle file in pem format. Must contain the appropriate
222 # trust chain for the Certificate file. (string value)
223 #certificate_authority_bundle_file = certificate_authority_bundle.pem
224 certificate_authority_bundle_file = /usr/local/bin/AAF_RootCA.cer
226 # Username for AAI. (string value)
229 # Password for AAI. (string value)
239 # Toggle Pecan Debug Middleware. (boolean value)
242 # Default maximum number of items returned by API request. (integer value)
244 #default_api_return_limit = 100
253 # Base URL for plans. (string value)
256 # username for plans. (string value)
260 # password for plans. (string value)
264 # auth toggling. (boolean value)
265 #basic_auth_secure = true
274 # Timeout for planning requests. Default value is 10. (integer value)
278 # Maximum number of result sets to return. Default value is 1. (integer value)
282 # Number of workers for controller service. Default value is 1. (integer value)
286 # Set to True when controller will run in active-active mode. When set to
287 # False, controller will flush any abandoned messages at startup. The
288 # controller always restarts abandoned template translations at startup.
293 # Time between checking for new plans. Default value is 1. (integer value)
295 #polling_interval = 1
299 #max_translation_counter = 1
308 # Number of workers for data service. Default value is 1. (integer value)
312 # Set to True when data will run in active-active mode. When set to False, data
313 # will flush any abandoned messages at startup. (boolean value)
317 # Default value is -8000, which is the diameter of the earth. The distance
318 # cannot larger than this value (floating point value)
319 #existing_placement_cost = -8000.0
321 # (floating point value)
322 #cloud_candidate_cost = 2.0
324 # (floating point value)
325 #service_candidate_cost = 1.0
334 # Extensions list to use (list value)
344 # Music keyspace for messages (string value)
345 #keyspace = conductor_rpc
347 # Wait interval while checking for a message response. Default value is 1
348 # second. (integer value)
352 # Overall message response timeout. Default value is 120 seconds. (integer
355 #response_timeout = 120
357 # Timeout for detecting a VM is down, and other VMs can pick the plan up.
358 # Default value is 5 minutes. (integer value) (integer value)
362 # Number of workers for messaging service. Default value is 1. (integer value)
366 # Time between checking for new messages. Default value is 1. (integer value)
368 #polling_interval = 1
370 # Log debug messages. Default value is False. (boolean value)
380 # Base URL for Multicloud without a trailing slash. (string value)
381 #server_url = http://msb.onap.org/api/multicloud
383 # Timeout for Multicloud Rest Call (string value)
384 #multicloud_rest_timeout = 30
386 # Number of retry for Multicloud Rest Call (string value)
387 #multicloud_retries = 3
389 # The version of Multicloud API. (string value)
390 #server_url_version = v0
399 # Base URL for Music REST API without a trailing slash. (string value)
400 server_url = http://localhost:8080/MUSIC/rest/v2
403 # DEPRECATED: List of hostnames (round-robin access) (list value)
404 # This option is deprecated for removal.
405 # Its value may be silently ignored in the future.
406 # Reason: Use server_url instead
409 # DEPRECATED: Port (integer value)
410 # This option is deprecated for removal.
411 # Its value may be silently ignored in the future.
412 # Reason: Use server_url instead
415 # DEPRECATED: Path (string value)
416 # This option is deprecated for removal.
417 # Its value may be silently ignored in the future.
418 # Reason: Use server_url instead
421 # Socket connection timeout (floating point value)
422 #connect_timeout = 3.05
424 # Socket read timeout (floating point value)
425 #read_timeout = 12.05
427 # Lock timeout (integer value)
430 # Replication factor (integer value)
431 #replication_factor = 1
432 replication_factor = 3
434 # Use mock API (boolean value)
438 #music_topology = SimpleStrategy
440 # Name of the first data center (string value)
441 #first_datacenter_name = <None>
443 # Number of replicas in first data center (integer value)
444 #first_datacenter_replicas = <None>
446 # Name of the second data center (string value)
447 #second_datacenter_name = <None>
449 # Number of replicas in second data center (integer value)
450 #second_datacenter_replicas = <None>
452 # Name of the third data center (string value)
453 #third_datacenter_name = <None>
455 # Number of replicas in third data center (integer value)
456 #third_datacenter_replicas = <None>
458 # new or old version (boolean value)
459 #music_new_version = <None>
460 music_new_version = True
462 # for version (string value)
463 #music_version = <None>
464 music_version = "2.5.3"
466 # username value that used for creating basic authorization header (string
471 # password value that used for creating basic authorization header (string
476 # AAF namespace field used in MUSIC request header (string value)
487 # Prometheus Metrics Endpoint (list value)
488 #metrics_port = 8000,8001,8002,8003,8004
497 # Number of workers for reservation service. Default value is 1. (integer
502 # Number of times reservation/release should be attempted. (integer value)
505 # Timeout for detecting a VM is down, and other VMs can pick the plan up and
506 # resereve. Default value is 600 seconds. (integer value) (integer value)
510 # Set to True when reservation will run in active-active mode. When set to
511 # False, reservation will restart any orphaned reserving requests at startup.
518 #max_reservation_counter = 1
527 # Interval with which to refresh the local cache, in minutes. (integer value)
528 #cache_refresh_interval = 1440
530 # Data Store table prefix. (string value)
533 # Base URL for SDN-C, up to and including the version. (string value)
534 #server_url = https://controller:8443/restconf/
535 server_url = https://sdnc.onap:8282/restconf/
537 # Basic Authentication Username (string value)
541 # Basic Authentication Password (string value)
543 password = Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
545 # Timeout for SDNC Rest Call (string value)
546 #sdnc_rest_timeout = 30
548 # Retry Numbers for SDNC Rest Call (string value)
558 # Extensions list to use (list value)
568 # Number of workers for solver service. Default value is 1. (integer value)
572 # The timeout value for solver service. Default value is 480 seconds. (integer
575 #solver_timeout = 480
577 # Set to True when solver will run in active-active mode. When set to False,
578 # solver will restart any orphaned solving requests at startup. (boolean value)
582 # Timeout for detecting a VM is down, and other VMs can pick the plan up. This
583 # value should be larger than solver_timeoutDefault value is 10 minutes.
584 # (integer value) (integer value)
590 #max_solver_counter = 1
599 # Extensions list to use (list value)
600 #extensions = multicloud