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 = {{ (eq "true" (include "common.needTLS" .)) | ternary true false }}
164 # aaf_cache_expiry_hrs. (integer value)
165 aaf_cache_expiry_hrs = 3
167 # aaf_url. (string value)
168 aaf_url = http{{ if (include "common.needTLS" .) }}s{{ end }}://{{.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 = {{ if (include "common.needTLS" .) }}/usr/local/bin/AAF_RootCA.cer{{ end }}
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 # is_enabled. (boolean value)
197 is_enabled = {{ (eq "true" (include "common.needTLS" .)) | ternary true false }}
199 # Base URL for SMS, up to and not including the version, and without a trailing
200 # slash. (string value)
201 aaf_sms_url = http{{ if (include "common.needTLS" .) }}s{{ end }}://{{.Values.config.sms.serviceName}}.{{ include "common.namespace" . }}:{{.Values.config.sms.port}}
204 # Timeout for SMS API Call (integer value)
205 #aaf_sms_timeout = 30
207 # Path to the cacert that will be used to verify If this is None, verify will
208 # be False and the server certis not verified by the client. (string value)
209 #aaf_ca_certs = AAF_RootCA.cer
210 aaf_ca_certs = /usr/local/bin/AAF_RootCA.cer
212 # Domain UUID - A unique UUID generated when the domainfor HAS is created by
213 # administrator during deployment (string value)
223 # Interval with which to refresh the local cache, in minutes. (integer value)
224 #cache_refresh_interval = 1440
225 cache_refresh_interval = 1
227 # Interval with which to refresh the local complex cache, in minutes. (integer
229 #complex_cache_refresh_interval = 1440
230 complex_cache_refresh_interval = 60
232 # Data Store table prefix. (string value)
235 # Base URL for A&AI, up to and not including the version, and without a
236 # trailing slash. (string value)
237 #server_url = https://{{.Values.config.aai.serviceName}}.{{ include "common.namespace" . }}:{{.Values.config.aai.port}}/aai
238 server_url = http{{ if (include "common.needTLS" .) }}s{{ end }}://{{.Values.config.aai.serviceName}}.{{ include "common.namespace" . }}:{{ (eq "true" (include "common.needTLS" .)) | ternary .Values.config.aai.port .Values.config.aai.plainPort }}/aai
240 # Timeout for A&AI Rest Call (string value)
241 #aai_rest_timeout = 30
243 # Number of retry for A&AI Rest Call (string value)
246 # The version of A&AI in v# format. (string value)
247 server_url_version = v21
249 # SSL/TLS certificate file in pem format. This certificate must be registered
250 # with the A&AI endpoint. (string value)
253 # Private Certificate Key file in pem format. (string value)
254 certificate_key_file =
256 # Certificate Authority Bundle file in pem format. Must contain the appropriate
257 # trust chain for the Certificate file. (string value)
258 #certificate_authority_bundle_file = certificate_authority_bundle.pem
259 certificate_authority_bundle_file = {{ if (include "common.needTLS" .) }}/usr/local/bin/AAF_RootCA.cer{{ end }}
261 # Username for AAI. (string value)
264 # Password for AAI. (string value)
274 # Toggle Pecan Debug Middleware. (boolean value)
277 # Default maximum number of items returned by API request. (integer value)
279 #default_api_return_limit = 100
287 # Base URL for plans. (string value)
290 # username for plans. (string value)
294 # password for plans. (string value)
298 # auth toggling. (boolean value)
299 basic_auth_secure = true
308 # Timeout for planning requests. Default value is 10. (integer value)
313 # Maximum number of result sets to return. Default value is 1. (integer value)
317 # Number of workers for controller service. Default value is 1. (integer value)
321 # Set to True when controller will run in active-active mode. When set to
322 # False, controller will flush any abandoned messages at startup. The
323 # controller always restarts abandoned template translations at startup.
328 # Time between checking for new plans. Default value is 1. (integer value)
330 #polling_interval = 1
334 #max_translation_counter = 1
337 opt_schema_file = /opt/has/conductor/etc/conductor/opt_schema.json
345 # Number of workers for data service. Default value is 1. (integer value)
349 # Set to True when data will run in active-active mode. When set to False, data
350 # will flush any abandoned messages at startup. (boolean value)
354 # Default value is -8000, which is the diameter of the earth. The distance
355 # cannot larger than this value (floating point value)
356 #existing_placement_cost = -8000.0
358 # (floating point value)
359 #cloud_candidate_cost = 2.0
361 # (floating point value)
362 #service_candidate_cost = 1.0
371 # Extensions list to use (list value)
372 extensions = aai,generator
381 # Music keyspace for messages (string value)
382 #keyspace = conductor_rpc
384 # Wait interval while checking for a message response. Default value is 1
385 # second. (integer value)
389 # Overall message response timeout. Default value is 120 seconds. (integer
392 #response_timeout = 120
394 # Timeout for detecting a VM is down, and other VMs can pick the plan up.
395 # Default value is 5 minutes. (integer value) (integer value)
399 # Number of workers for messaging service. Default value is 1. (integer value)
403 # Time between checking for new messages. Default value is 1. (integer value)
405 #polling_interval = 1
407 # Log debug messages. Default value is False. (boolean value)
417 # Base URL for Multicloud without a trailing slash. (string value)
418 #server_url = http://msb.onap.org/api/multicloud
419 server_url = http://{{.Values.config.msb.serviceName}}.{{ include "common.namespace" . }}:{{.Values.config.msb.port}}/api/multicloud
421 # Timeout for Multicloud Rest Call (string value)
422 #multicloud_rest_timeout = 30
424 # Number of retry for Multicloud Rest Call (string value)
425 #multicloud_retries = 3
427 # The version of Multicloud API. (string value)
428 #server_url_version = v0
434 db_backend = {{.Values.config.dbBackend}}
442 # host/ip address of etcd server
443 host = {{.Values.config.etcd.serviceName}}.{{ include "common.namespace" . }}
445 # port of etcd server
446 port = {{.Values.config.etcd.port}}
448 # username for etcd authentication
451 # password for etcd authentication
461 # Base URL for Music REST API without a trailing slash. (string value)
462 #server_url = http://oof-has-music:8080/MUSIC/rest/v2
463 server_url = https://{{.Values.config.music.serviceName}}.{{ include "common.namespace" . }}:{{.Values.config.music.port}}/MUSIC/rest/v2
466 # DEPRECATED: List of hostnames (round-robin access) (list value)
467 # This option is deprecated for removal.
468 # Its value may be silently ignored in the future.
469 # Reason: Use server_url instead
472 # DEPRECATED: Port (integer value)
473 # This option is deprecated for removal.
474 # Its value may be silently ignored in the future.
475 # Reason: Use server_url instead
478 # DEPRECATED: Path (string value)
479 # This option is deprecated for removal.
480 # Its value may be silently ignored in the future.
481 # Reason: Use server_url instead
484 # Socket connection timeout (floating point value)
485 #connect_timeout = 3.05
487 # Socket read timeout (floating point value)
488 #read_timeout = 12.05
490 # Lock timeout (integer value)
493 # Replication factor (integer value)
494 #replication_factor = 1
495 replication_factor = 1
497 # Use mock API (boolean value)
501 #music_topology = SimpleStrategy
503 # Name of the first data center (string value)
504 #first_datacenter_name = <None>
506 # Number of replicas in first data center (integer value)
507 #first_datacenter_replicas = <None>
509 # Name of the second data center (string value)
510 #second_datacenter_name = <None>
512 # Number of replicas in second data center (integer value)
513 #second_datacenter_replicas = <None>
515 # Name of the third data center (string value)
516 #third_datacenter_name = <None>
518 # Number of replicas in third data center (integer value)
519 #third_datacenter_replicas = <None>
521 # new or old version (boolean value)
522 #music_new_version = <None>
523 music_new_version = True
525 # for version (string value)
526 #music_version = <None>
527 music_version = "3.2.40"
529 # username value that used for creating basic authorization header (string
534 # password value that used for creating basic authorization header (string
539 # AAF namespace field used in MUSIC request header (string value)
543 # Enabling HTTPs mode (boolean value)
544 enable_https_mode = True
546 # Certificate Authority Bundle file in pem format. Must contain the appropriate
547 # trust chain for the Certificate file. (string value)
548 certificate_authority_bundle_file = /usr/local/bin/AAF_RootCA.cer
557 # Prometheus Metrics Endpoint (list value)
558 #metrics_port = 8000,8001,8002,8003,8004
567 # Number of workers for reservation service. Default value is 1. (integer
572 # Number of times reservation/release should be attempted. (integer value)
575 # Timeout for detecting a VM is down, and other VMs can pick the plan up and
576 # resereve. Default value is 600 seconds. (integer value) (integer value)
580 # Set to True when reservation will run in active-active mode. When set to
581 # False, reservation will restart any orphaned reserving requests at startup.
588 #max_reservation_counter = 1
597 # Interval with which to refresh the local cache, in minutes. (integer value)
598 #cache_refresh_interval = 1440
600 # Data Store table prefix. (string value)
603 # Base URL for SDN-C, up to and including the version. (string value)
604 server_url = https://controller:8443/restconf/
606 # Basic Authentication Username (string value)
610 # Basic Authentication Password (string value)
612 password = Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
614 # Timeout for SDNC Rest Call (string value)
615 #sdnc_rest_timeout = 30
617 # Retry Numbers for SDNC Rest Call (string value)
626 # Extensions list to use (list value)
636 # Number of workers for solver service. Default value is 1. (integer value)
640 # The timeout value for solver service. Default value is 480 seconds. (integer
643 #solver_timeout = 480
645 # Set to True when solver will run in active-active mode. When set to False,
646 # solver will restart any orphaned solving requests at startup. (boolean value)
650 # Timeout for detecting a VM is down, and other VMs can pick the plan up. This
651 # value should be larger than solver_timeoutDefault value is 10 minutes.
652 # (integer value) (integer value)
658 #max_solver_counter = 1
667 # Extensions list to use (list value)
668 #extensions = multicloud
677 # Data Store table prefix. (string value)
680 # Base URL for SDC, up to and not including the version, and without a
681 # trailing slash. (string value)
682 #server_url = https://controller:8443/sdc
683 #server_url = https://{{.Values.config.sdc.serviceName}}.{{ include "common.namespace" . }}:{{.Values.config.sdc.port}}/sdc
684 server_url = http{{ if (include "common.needTLS" .) }}s{{ end }}://{{.Values.config.sdc.serviceName}}.{{ include "common.namespace" . }}:{{ (eq "true" (include "common.needTLS" .)) | ternary .Values.config.sdc.port .Values.config.sdc.plainPort }}/sdc
686 # Timeout for SDC Rest Call (string value)
687 #sdc_rest_timeout = 30
689 # Number of retry for SDC Rest Call (string value)
692 # The version of A&AI in v# format. (string value)
693 server_url_version = v1
695 # SSL/TLS certificate file in pem format. This certificate must be registered
696 # with the SDC endpoint. (string value)
697 #certificate_file = certificate.pem
700 # Private Certificate Key file in pem format. (string value)
701 #certificate_key_file = certificate_key.pem
702 certificate_key_file =
704 # Certificate Authority Bundle file in pem format. Must contain the appropriate
705 # trust chain for the Certificate file. (string value)
706 #certificate_authority_bundle_file = certificate_authority_bundle.pem
707 certificate_authority_bundle_file = {{ if (include "common.needTLS" .) }}/usr/local/bin/AAF_RootCA.cer{{ end }}
709 # Username for SDC. (string value)
712 # Password for SDC. (string value)
715 temp_path = "/tmp/nsttemplates"
724 # Data Store table prefix. (string value)
727 # Base URL for CPS, up to and not including the version, and without a
728 # trailing slash. (string value)
730 #server_url = https://cps.api.simpledemo.onap.org:8443/cps
731 server_url=http://{{.Values.config.cps.serviceName}}.{{ include "common.namespace" . }}:{{.Values.config.cps.port}}/
733 # Timeout for CPS Rest Call (string value)
734 #cps_rest_timeout = 30
736 # Number of retry for CPS Rest Call (string value)
740 # SSL/TLS certificate file in pem format. This certificate must be registered
741 # with the CPS endpoint. (string value)
742 #certificate_file = certificate.pem
745 # Private Certificate Key file in pem format. (string value)
746 #certificate_key_file = certificate_key.pem
747 certificate_key_file =
749 # Certificate Authority Bundle file in pem format. Must contain the appropriate
750 # trust chain for the Certificate file. (string value)
751 #certificate_authority_bundle_file = certificate_authority_bundle.pem
752 certificate_authority_bundle_file = {{ if (include "common.needTLS" .) }}/usr/local/bin/AAF_RootCA.cer{{ end }}
754 # Username for CPS. (string value)
757 # Password for CPS. (string value)
760 get_ta_list_url = "/api/v1/execute/ran-coverage-area/get_ta_list"
768 # Data Store table prefix. (string value)
771 # Base URL for DCAE, up to and not including the version, and without a
772 # trailing slash. (string value)
773 server_url = http://{{.Values.config.dcae.service}}.{{ include "common.namespace" . }}:{{.Values.config.dcae.port}}
775 # Timeout for DCAE Rest Call (string value)
776 #dcae_rest_timeout = 30
778 # Number of retry for DCAE Rest Call (string value)
781 # The version of A&AI in v# format. (string value)
782 server_url_version = v1
784 # SSL/TLS certificate file in pem format. This certificate must be registered
785 # with the SDC endpoint. (string value)
786 #certificate_file = certificate.pem
789 # Private Certificate Key file in pem format. (string value)
790 #certificate_key_file = certificate_key.pem
791 certificate_key_file =
793 # Certificate Authority Bundle file in pem format. Must contain the appropriate
794 # trust chain for the Certificate file. (string value)
795 #certificate_authority_bundle_file = certificate_authority_bundle.pem
796 certificate_authority_bundle_file = {{ if (include "common.needTLS" .) }}/usr/local/bin/AAF_RootCA.cer{{ end }}
798 # Username for DCAE. (string value)
801 # Password for DCAE. (string value)
804 get_slice_config_url = "/api/v1/slices-config"