2 # Copyright © 2017 Amdocs, Bell Canada
3 # Modifications Copyright © 2018 AT&T,VMware, Intel Corporation.
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
9 # http://www.apache.org/licenses/LICENSE-2.0
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
24 # Configuration file for WSGI definition of API. (string value)
25 api_paste_config = /usr/local/etc/conductor/api_paste.ini
27 # Music keyspace for content (string value)
30 # Delay time (Seconds) for MUSIC requests. Set it to 2 seconds by default.
41 # If set to true, the logging level will be set to DEBUG instead of the default
42 # INFO level. (boolean value)
43 # Note: This option can be changed without restarting.
47 # The name of a logging configuration file. This file is appended to any
48 # existing logging configuration files. For details about logging configuration
49 # files, see the Python logging module documentation. Note that when logging
50 # configuration files are used then all logging configuration is set in the
51 # configuration file and other logging configuration options are ignored (for
52 # example, logging_context_format_string). (string value)
53 # Note: This option can be changed without restarting.
54 # Deprecated group/name - [DEFAULT]/log_config
55 #log_config_append = <None>
56 log_config_append = /usr/local/bin/log.conf
58 # Defines the format string for %%(asctime)s in log records. Default:
59 # %(default)s . This option is ignored if log_config_append is set. (string
61 #log_date_format = %Y-%m-%d %H:%M:%S
63 # (Optional) Name of log file to send logging output to. If no default is set,
64 # logging will go to stderr as defined by use_stderr. This option is ignored if
65 # log_config_append is set. (string value)
66 # Deprecated group/name - [DEFAULT]/logfile
69 # (Optional) The base directory used for relative log_file paths. This option
70 # is ignored if log_config_append is set. (string value)
71 # Deprecated group/name - [DEFAULT]/logdir
74 # Uses logging handler designed to watch file system. When log file is moved or
75 # removed this handler will open a new log file with specified path
76 # instantaneously. It makes sense only if log_file option is specified and
77 # Linux platform is used. This option is ignored if log_config_append is set.
79 #watch_log_file = false
81 # Use syslog for logging. Existing syslog format is DEPRECATED and will be
82 # changed later to honor RFC5424. This option is ignored if log_config_append
83 # is set. (boolean value)
86 # Enable journald for logging. If running in a systemd environment you may wish
87 # to enable journal support. Doing so will use the journal native protocol
88 # which includes structured metadata in addition to log messages.This option is
89 # ignored if log_config_append is set. (boolean value)
92 # Syslog facility to receive log lines. This option is ignored if
93 # log_config_append is set. (string value)
94 #syslog_log_facility = LOG_USER
96 # Use JSON formatting for logging. This option is ignored if log_config_append
97 # is set. (boolean value)
100 # Log output to standard error. This option is ignored if log_config_append is
101 # set. (boolean value)
104 # Format string to use for log messages with context. (string value)
105 #logging_context_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [%(request_id)s %(user_identity)s] %(instance)s%(message)s
107 # Format string to use for log messages when context is undefined. (string
109 #logging_default_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [-] %(instance)s%(message)s
111 # Additional data to append to log message when logging level for the message
112 # is DEBUG. (string value)
113 #logging_debug_format_suffix = %(funcName)s %(pathname)s:%(lineno)d
115 # Prefix each line of exception output with this format. (string value)
116 #logging_exception_prefix = %(asctime)s.%(msecs)03d %(process)d ERROR %(name)s %(instance)s
118 # Defines the format string for %(user_identity)s that is used in
119 # logging_context_format_string. (string value)
120 #logging_user_identity_format = %(user)s %(tenant)s %(domain)s %(user_domain)s %(project_domain)s
122 # List of package logging levels in logger=LEVEL pairs. This option is ignored
123 # if log_config_append is set. (list value)
124 #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
126 # Enables or disables publication of error events. (boolean value)
127 #publish_errors = false
129 # The format for an instance that is passed with the log message. (string
131 #instance_format = "[instance: %(uuid)s] "
133 # The format for an instance UUID that is passed with the log message. (string
135 #instance_uuid_format = "[instance: %(uuid)s] "
137 # Interval, number of seconds, of log rate limiting. (integer value)
138 #rate_limit_interval = 0
140 # Maximum number of logged messages per rate_limit_interval. (integer value)
141 #rate_limit_burst = 0
143 # Log level name used by rate limiting: CRITICAL, ERROR, INFO, WARNING, DEBUG
144 # or empty string. Logs with level greater or equal to rate_limit_except_level
145 # are not filtered. An empty string means that all levels are filtered. (string
147 #rate_limit_except_level = CRITICAL
149 # Enables or disables fatal status of deprecations. (boolean value)
150 #fatal_deprecations = false
161 # is_aaf_enabled. (boolean value)
162 is_aaf_enabled = true
164 # aaf_cache_expiry_hrs. (integer value)
165 aaf_cache_expiry_hrs = 3
167 # aaf_url. (string value)
168 aaf_url = https://{{.Values.config.aaf.serviceName}}:{{.Values.config.aaf.port}}/authz/perms/user/
170 # aaf_cert_file. (string value)
171 #aaf_cert_file = <None>
173 # aaf_cert_key_file. (string value)
174 #aaf_cert_key_file = <None>
176 # aaf_ca_bundle_file. (string value)
177 #aaf_ca_bundle_file =
178 aaf_ca_bundle_file = /usr/local/bin/AAF_RootCA.cer
180 # aaf_retries. (integer value)
183 # aaf_timeout. (integer value)
186 # aaf_user_roles. (list value)
187 #aaf_permissions = {"type": "org.onap.oof.access","instance": "*","action": "*"}
196 # Base URL for SMS, up to and not including the version, and without a trailing
197 # slash. (string value)
198 aaf_sms_url = https://{{.Values.config.sms.serviceName}}.{{ include "common.namespace" . }}:{{.Values.config.sms.port}}
201 # Timeout for SMS API Call (integer value)
202 #aaf_sms_timeout = 30
204 # Path to the cacert that will be used to verify If this is None, verify will
205 # be False and the server certis not verified by the client. (string value)
206 #aaf_ca_certs = AAF_RootCA.cer
207 aaf_ca_certs = /usr/local/bin/AAF_RootCA.cer
209 # Domain UUID - A unique UUID generated when the domainfor HAS is created by
210 # administrator during deployment (string value)
220 # Interval with which to refresh the local cache, in minutes. (integer value)
221 #cache_refresh_interval = 1440
222 cache_refresh_interval = 1
224 # Interval with which to refresh the local complex cache, in minutes. (integer
226 #complex_cache_refresh_interval = 1440
227 complex_cache_refresh_interval = 60
229 # Data Store table prefix. (string value)
232 # Base URL for A&AI, up to and not including the version, and without a
233 # trailing slash. (string value)
234 server_url = https://{{.Values.config.aai.serviceName}}.{{ include "common.namespace" . }}:{{.Values.config.aai.port}}/aai
236 # Timeout for A&AI Rest Call (string value)
237 #aai_rest_timeout = 30
239 # Number of retry for A&AI Rest Call (string value)
242 # The version of A&AI in v# format. (string value)
243 server_url_version = v19
245 # SSL/TLS certificate file in pem format. This certificate must be registered
246 # with the A&AI endpoint. (string value)
249 # Private Certificate Key file in pem format. (string value)
250 certificate_key_file =
252 # Certificate Authority Bundle file in pem format. Must contain the appropriate
253 # trust chain for the Certificate file. (string value)
254 #certificate_authority_bundle_file = certificate_authority_bundle.pem
255 certificate_authority_bundle_file = /usr/local/bin/AAF_RootCA.cer
257 # Username for AAI. (string value)
260 # Password for AAI. (string value)
270 # Toggle Pecan Debug Middleware. (boolean value)
273 # Default maximum number of items returned by API request. (integer value)
275 #default_api_return_limit = 100
283 # Base URL for plans. (string value)
286 # username for plans. (string value)
290 # password for plans. (string value)
294 # auth toggling. (boolean value)
295 basic_auth_secure = true
304 # Timeout for planning requests. Default value is 10. (integer value)
309 # Maximum number of result sets to return. Default value is 1. (integer value)
313 # Number of workers for controller service. Default value is 1. (integer value)
317 # Set to True when controller will run in active-active mode. When set to
318 # False, controller will flush any abandoned messages at startup. The
319 # controller always restarts abandoned template translations at startup.
324 # Time between checking for new plans. Default value is 1. (integer value)
326 #polling_interval = 1
330 #max_translation_counter = 1
333 opt_schema_file = /opt/has/conductor/etc/conductor/opt_schema.json
341 # Number of workers for data service. Default value is 1. (integer value)
345 # Set to True when data will run in active-active mode. When set to False, data
346 # will flush any abandoned messages at startup. (boolean value)
350 # Default value is -8000, which is the diameter of the earth. The distance
351 # cannot larger than this value (floating point value)
352 #existing_placement_cost = -8000.0
354 # (floating point value)
355 #cloud_candidate_cost = 2.0
357 # (floating point value)
358 #service_candidate_cost = 1.0
367 # Extensions list to use (list value)
368 extensions = aai,generator
377 # Music keyspace for messages (string value)
378 #keyspace = conductor_rpc
380 # Wait interval while checking for a message response. Default value is 1
381 # second. (integer value)
385 # Overall message response timeout. Default value is 120 seconds. (integer
388 #response_timeout = 120
390 # Timeout for detecting a VM is down, and other VMs can pick the plan up.
391 # Default value is 5 minutes. (integer value) (integer value)
395 # Number of workers for messaging service. Default value is 1. (integer value)
399 # Time between checking for new messages. Default value is 1. (integer value)
401 #polling_interval = 1
403 # Log debug messages. Default value is False. (boolean value)
413 # Base URL for Multicloud without a trailing slash. (string value)
414 #server_url = http://msb.onap.org/api/multicloud
415 server_url = http://{{.Values.config.msb.serviceName}}.{{ include "common.namespace" . }}:{{.Values.config.msb.port}}/api/multicloud
417 # Timeout for Multicloud Rest Call (string value)
418 #multicloud_rest_timeout = 30
420 # Number of retry for Multicloud Rest Call (string value)
421 #multicloud_retries = 3
423 # The version of Multicloud API. (string value)
424 #server_url_version = v0
433 # Base URL for Music REST API without a trailing slash. (string value)
434 #server_url = http://oof-has-music:8080/MUSIC/rest/v2
435 server_url = https://{{.Values.config.music.serviceName}}.{{ include "common.namespace" . }}:{{.Values.config.music.port}}/MUSIC/rest/v2
438 # DEPRECATED: List of hostnames (round-robin access) (list value)
439 # This option is deprecated for removal.
440 # Its value may be silently ignored in the future.
441 # Reason: Use server_url instead
444 # DEPRECATED: Port (integer value)
445 # This option is deprecated for removal.
446 # Its value may be silently ignored in the future.
447 # Reason: Use server_url instead
450 # DEPRECATED: Path (string value)
451 # This option is deprecated for removal.
452 # Its value may be silently ignored in the future.
453 # Reason: Use server_url instead
456 # Socket connection timeout (floating point value)
457 #connect_timeout = 3.05
459 # Socket read timeout (floating point value)
460 #read_timeout = 12.05
462 # Lock timeout (integer value)
465 # Replication factor (integer value)
466 #replication_factor = 1
467 replication_factor = 1
469 # Use mock API (boolean value)
473 #music_topology = SimpleStrategy
475 # Name of the first data center (string value)
476 #first_datacenter_name = <None>
478 # Number of replicas in first data center (integer value)
479 #first_datacenter_replicas = <None>
481 # Name of the second data center (string value)
482 #second_datacenter_name = <None>
484 # Number of replicas in second data center (integer value)
485 #second_datacenter_replicas = <None>
487 # Name of the third data center (string value)
488 #third_datacenter_name = <None>
490 # Number of replicas in third data center (integer value)
491 #third_datacenter_replicas = <None>
493 # new or old version (boolean value)
494 #music_new_version = <None>
495 music_new_version = True
497 # for version (string value)
498 #music_version = <None>
499 music_version = "3.2.40"
501 # username value that used for creating basic authorization header (string
506 # password value that used for creating basic authorization header (string
511 # AAF namespace field used in MUSIC request header (string value)
515 # Enabling HTTPs mode (boolean value)
516 enable_https_mode = True
518 # Certificate Authority Bundle file in pem format. Must contain the appropriate
519 # trust chain for the Certificate file. (string value)
520 certificate_authority_bundle_file = /usr/local/bin/AAF_RootCA.cer
529 # Prometheus Metrics Endpoint (list value)
530 #metrics_port = 8000,8001,8002,8003,8004
539 # Number of workers for reservation service. Default value is 1. (integer
544 # Number of times reservation/release should be attempted. (integer value)
547 # Timeout for detecting a VM is down, and other VMs can pick the plan up and
548 # resereve. Default value is 600 seconds. (integer value) (integer value)
552 # Set to True when reservation will run in active-active mode. When set to
553 # False, reservation will restart any orphaned reserving requests at startup.
560 #max_reservation_counter = 1
569 # Interval with which to refresh the local cache, in minutes. (integer value)
570 #cache_refresh_interval = 1440
572 # Data Store table prefix. (string value)
575 # Base URL for SDN-C, up to and including the version. (string value)
576 server_url = https://controller:8443/restconf/
578 # Basic Authentication Username (string value)
582 # Basic Authentication Password (string value)
584 password = Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
586 # Timeout for SDNC Rest Call (string value)
587 #sdnc_rest_timeout = 30
589 # Retry Numbers for SDNC Rest Call (string value)
598 # Extensions list to use (list value)
608 # Number of workers for solver service. Default value is 1. (integer value)
612 # The timeout value for solver service. Default value is 480 seconds. (integer
615 #solver_timeout = 480
617 # Set to True when solver will run in active-active mode. When set to False,
618 # solver will restart any orphaned solving requests at startup. (boolean value)
622 # Timeout for detecting a VM is down, and other VMs can pick the plan up. This
623 # value should be larger than solver_timeoutDefault value is 10 minutes.
624 # (integer value) (integer value)
630 #max_solver_counter = 1
639 # Extensions list to use (list value)
640 #extensions = multicloud
649 # Data Store table prefix. (string value)
652 # Base URL for SDC, up to and not including the version, and without a
653 # trailing slash. (string value)
654 #server_url = https://controller:8443/sdc
655 server_url = https://{{.Values.config.sdc.serviceName}}.{{ include "common.namespace" . }}:{{.Values.config.sdc.port}}/sdc
657 # Timeout for SDC Rest Call (string value)
658 #sdc_rest_timeout = 30
660 # Number of retry for SDC Rest Call (string value)
663 # The version of A&AI in v# format. (string value)
664 server_url_version = v1
666 # SSL/TLS certificate file in pem format. This certificate must be registered
667 # with the SDC endpoint. (string value)
668 #certificate_file = certificate.pem
671 # Private Certificate Key file in pem format. (string value)
672 #certificate_key_file = certificate_key.pem
673 certificate_key_file =
675 # Certificate Authority Bundle file in pem format. Must contain the appropriate
676 # trust chain for the Certificate file. (string value)
677 #certificate_authority_bundle_file = certificate_authority_bundle.pem
678 certificate_authority_bundle_file = /usr/local/bin/AAF_RootCA.cer
680 # Username for SDC. (string value)
683 # Password for SDC. (string value)
686 temp_path = "/tmp/nsttemplates"
695 # Data Store table prefix. (string value)
698 # Base URL for CPS, up to and not including the version, and without a
699 # trailing slash. (string value)
701 #server_url = https://cps.api.simpledemo.onap.org:8443/cps
702 server_url=http://{{.Values.config.cps.serviceName}}.{{ include "common.namespace" . }}:{{.Values.config.cps.port}}/
704 # Timeout for CPS Rest Call (string value)
705 #cps_rest_timeout = 30
707 # Number of retry for CPS Rest Call (string value)
711 # SSL/TLS certificate file in pem format. This certificate must be registered
712 # with the CPS endpoint. (string value)
713 #certificate_file = certificate.pem
716 # Private Certificate Key file in pem format. (string value)
717 #certificate_key_file = certificate_key.pem
718 certificate_key_file =
720 # Certificate Authority Bundle file in pem format. Must contain the appropriate
721 # trust chain for the Certificate file. (string value)
722 #certificate_authority_bundle_file = certificate_authority_bundle.pem
723 certificate_authority_bundle_file = /usr/local/bin/AAF_RootCA.cer
725 # Username for CPS. (string value)
728 # Password for CPS. (string value)
731 get_ta_list_url = "/api/v1/execute/ran-coverage-area/get_ta_list"