4d32deea335ac3c36f361c847f7af1abd66a48cd
[oom.git] / kubernetes / oof / charts / oof-has / resources / config / conductor.conf
1 # Copyright © 2017 Amdocs, Bell Canada
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #       http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 [DEFAULT]
16
17 #
18 # From conductor
19 #
20
21 # Configuration file for WSGI definition of API. (string value)
22 #api_paste_config = api_paste.ini
23
24 # Music keyspace for content (string value)
25 keyspace = conductor
26
27 #
28 # From oslo.log
29 #
30
31 # If set to true, the logging level will be set to DEBUG instead of the default
32 # INFO level. (boolean value)
33 # Note: This option can be changed without restarting.
34 debug = true
35
36 # DEPRECATED: If set to false, the logging level will be set to WARNING instead
37 # of the default INFO level. (boolean value)
38 # This option is deprecated for removal.
39 # Its value may be silently ignored in the future.
40 #verbose = true
41
42 # The name of a logging configuration file. This file is appended to any
43 # existing logging configuration files. For details about logging configuration
44 # files, see the Python logging module documentation. Note that when logging
45 # configuration files are used then all logging configuration is set in the
46 # configuration file and other logging configuration options are ignored (for
47 # example, logging_context_format_string). (string value)
48 # Note: This option can be changed without restarting.
49 # Deprecated group/name - [DEFAULT]/log_config
50 # log_config_append = /usr/local/bin/log.conf
51
52 # Defines the format string for %%(asctime)s in log records. Default:
53 # %(default)s . This option is ignored if log_config_append is set. (string
54 # value)
55 #log_date_format = %Y-%m-%d %H:%M:%S
56
57 # (Optional) Name of log file to send logging output to. If no default is set,
58 # logging will go to stderr as defined by use_stderr. This option is ignored if
59 # log_config_append is set. (string value)
60 # Deprecated group/name - [DEFAULT]/logfile
61 #log_file = <None>
62
63 # (Optional) The base directory used for relative log_file  paths. This option
64 # is ignored if log_config_append is set. (string value)
65 # Deprecated group/name - [DEFAULT]/logdir
66 #log_dir = <None>
67
68 # Uses logging handler designed to watch file system. When log file is moved or
69 # removed this handler will open a new log file with specified path
70 # instantaneously. It makes sense only if log_file option is specified and
71 # Linux platform is used. This option is ignored if log_config_append is set.
72 # (boolean value)
73 #watch_log_file = false
74
75 # Use syslog for logging. Existing syslog format is DEPRECATED and will be
76 # changed later to honor RFC5424. This option is ignored if log_config_append
77 # is set. (boolean value)
78 #use_syslog = false
79
80 # Syslog facility to receive log lines. This option is ignored if
81 # log_config_append is set. (string value)
82 #syslog_log_facility = LOG_USER
83
84 # Log output to standard error. This option is ignored if log_config_append is
85 # set. (boolean value)
86 #use_stderr = false
87
88 # Format string to use for log messages with context. (string value)
89 #logging_context_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [%(request_id)s %(user_identity)s] %(instance)s%(message)s
90
91 # Format string to use for log messages when context is undefined. (string
92 # value)
93 #logging_default_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [-] %(instance)s%(message)s
94
95 # Additional data to append to log message when logging level for the message
96 # is DEBUG. (string value)
97 #logging_debug_format_suffix = %(funcName)s %(pathname)s:%(lineno)d
98
99 # Prefix each line of exception output with this format. (string value)
100 #logging_exception_prefix = %(asctime)s.%(msecs)03d %(process)d ERROR %(name)s %(instance)s
101
102 # Defines the format string for %(user_identity)s that is used in
103 # logging_context_format_string. (string value)
104 #logging_user_identity_format = %(user)s %(tenant)s %(domain)s %(user_domain)s %(project_domain)s
105
106 # List of package logging levels in logger=LEVEL pairs. This option is ignored
107 # if log_config_append is set. (list value)
108 #default_log_levels = amqp=WARN,amqplib=WARN,boto=WARN,qpid=WARN,sqlalchemy=WARN,suds=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
109
110 # Enables or disables publication of error events. (boolean value)
111 #publish_errors = false
112
113 # The format for an instance that is passed with the log message. (string
114 # value)
115 #instance_format = "[instance: %(uuid)s] "
116
117 # The format for an instance UUID that is passed with the log message. (string
118 # value)
119 #instance_uuid_format = "[instance: %(uuid)s] "
120
121 # Interval, number of seconds, of log rate limiting. (integer value)
122 #rate_limit_interval = 0
123
124 # Maximum number of logged messages per rate_limit_interval. (integer value)
125 #rate_limit_burst = 0
126
127 # Log level name used by rate limiting: CRITICAL, ERROR, INFO, WARNING, DEBUG
128 # or empty string. Logs with level greater or equal to rate_limit_except_level
129 # are not filtered. An empty string means that all levels are filtered. (string
130 # value)
131 #rate_limit_except_level = CRITICAL
132
133 # Enables or disables fatal status of deprecations. (boolean value)
134 #fatal_deprecations = false
135
136
137 [aai]
138
139 #
140 # From conductor
141 #
142
143 # Interval with which to refresh the local cache, in minutes. (integer value)
144 cache_refresh_interval = 1
145 complex_cache_refresh_interval = 60
146
147 # Data Store table prefix. (string value)
148 #table_prefix = aai
149
150 # Base URL for A&AI, up to and not including the version, and without a
151 # trailing slash. (string value)
152 server_url = https://oof.api.simpledemo.onap.org:8443/aai
153
154 # The version of A&AI in v# format. (string value)
155 server_url_version = v11
156
157 # SSL/TLS certificate file in pem format. This certificate must be registered
158 # with the A&AI endpoint. (string value)
159 certificate_file = /usr/local/bin/aai_cert.cer
160
161 # Private Certificate Key file in pem format. (string value)
162 certificate_key_file = /usr/local/bin/aai_key.key
163
164 # Certificate Authority Bundle file in pem format. Must contain the appropriate
165 # trust chain for the Certificate file. (string value)
166 #certificate_authority_bundle_file = /opt/app/conductor/etc/certs/ca_bundle.pem
167 certificate_authority_bundle_file =/usr/local/bin/bundle.pem
168
169 [api]
170
171 #
172 # From conductor
173 #
174
175 # Toggle Pecan Debug Middleware. (boolean value)
176 #pecan_debug = false
177
178 # Default maximum number of items returned by API request. (integer value)
179 # Minimum value: 1
180 #default_api_return_limit = 100
181
182 [conductor_api]
183
184 # Basic Authentication Username (string value)
185 username = admin1
186
187 # Basic Authentication Password (string value)
188 password = plan.15
189
190 basic_auth_secure = False
191
192 [controller]
193
194 #
195 # From conductor
196 #
197
198 # Timeout for planning requests. Default value is 10. (integer value)
199 # Minimum value: 1
200 timeout = 200
201
202 # Maximum number of result sets to return. Default value is 1. (integer value)
203 # Minimum value: 1
204 #limit = 1
205
206 # Number of workers for controller service. Default value is 1. (integer value)
207 # Minimum value: 1
208 #workers = 1
209
210 # Time between checking for new plans. Default value is 1. (integer value)
211 # Minimum value: 1
212 #polling_interval = 1
213 concurrent = true
214
215
216 [inventory_provider]
217
218 #
219 # From conductor
220 #
221
222 # Extensions list to use (list value)
223 #extensions = aai
224
225
226 [messaging_server]
227
228 #
229 # From conductor
230 #
231
232 # Music keyspace for messages (string value)
233 keyspace = conductor_rpc
234
235 # Wait interval while checking for a message response. Default value is 1
236 # second. (integer value)
237 # Minimum value: 1
238 #check_interval = 1
239
240 # Overall message response timeout. Default value is 10 seconds. (integer
241 # value)
242 # Minimum value: 1
243 timeout = 300
244
245 # Number of workers for messaging service. Default value is 1. (integer value)
246 # Minimum value: 1
247 #workers = 1
248
249 # Time between checking for new messages. Default value is 1. (integer value)
250 # Minimum value: 1
251 #polling_interval = 1
252
253 # Log debug messages. Default value is False. (boolean value)
254 #debug = false
255
256
257 [music_api]
258
259 #
260 # From conductor
261 #
262 music_new_version = True
263 # Base URL for Music REST API without a trailing slash. (string value)
264 server_url = http://oof-has-music:8080/MUSIC/rest/v2
265 version = v2
266 music_version = "2.5.3"
267 aafuser = conductor
268 aafpass = c0nduct0r
269 aafns = conductor
270
271 # DEPRECATED: List of hostnames (round-robin access) (list value)
272 # This option is deprecated for removal.
273 # Its value may be silently ignored in the future.
274 # Reason: Use server_url instead
275 #hostnames = <None>
276
277 # DEPRECATED: Port (integer value)
278 # This option is deprecated for removal.
279 # Its value may be silently ignored in the future.
280 # Reason: Use server_url instead
281 #port = <None>
282
283 # DEPRECATED: Path (string value)
284 # This option is deprecated for removal.
285 # Its value may be silently ignored in the future.
286 # Reason: Use server_url instead
287 #path = <None>
288
289 # Lock timeout (integer value)
290 #lock_timeout = 10
291 replication_factor = 1
292 # Log debug messages. Default value is False. (boolean value)
293 #debug = false
294
295 # Use mock API (boolean value)
296 #mock = false
297
298 # Socket connection timeout (floating point value)
299 connect_timeout = 3.05
300
301 # Socket read timeout (floating point value)
302 read_timeout = 12.05
303
304
305
306 [sdnc]
307
308 #
309 # From conductor
310 #
311
312 # Interval with which to refresh the local cache, in minutes. (integer value)
313 #cache_refresh_interval = 1440
314
315 # Data Store table prefix. (string value)
316 #table_prefix = sdnc
317
318 # Base URL for SDN-C, up to and including the version. (string value)
319 server_url = https://sdncodl-conexus-e2e.ecomp.cci.att.com:8543/restconf/
320
321 # Basic Authentication Username (string value)
322 username = admin
323
324 # Basic Authentication Password (string value)
325 password = sdnc.15
326
327
328 [service_controller]
329
330 #
331 # From conductor
332 #
333
334 # Extensions list to use (list value)
335 #extensions = sdnc
336
337
338 [solver]
339
340 #
341 # From conductor
342 #
343
344 # Number of workers for solver service. Default value is 1. (integer value)
345 # Minimum value: 1
346 #workers = 1
347
348 # Set to True when solver will run in active-active mode. When set to False,
349 # solver will restart any orphaned solving requests at startup. (boolean value)
350 #concurrent = false
351 concurrent = true
352
353
354
355 [reservation]
356 concurrent = true
357