summaryrefslogtreecommitdiffstats
path: root/kubernetes/oof/components/oof-has/resources/config/conductor.conf
blob: 18b60bba4a1d7b663956c6c9d83081e4038652f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
{{/*
# Copyright © 2017 Amdocs, Bell Canada
# Modifications Copyright © 2018 AT&T,VMware, Intel Corporation.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#       http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
*/}}

[DEFAULT]

#
# From conductor
#

# Configuration file for WSGI definition of API. (string value)
api_paste_config = /usr/local/etc/conductor/api_paste.ini

# Music keyspace for content (string value)
#keyspace = conductor

# Delay time (Seconds) for MUSIC requests. Set it to 2 seconds by default.
# (integer value)
#delay_time = 2

# (boolean value)
#HPA_enabled = true

#
# From oslo.log
#

# If set to true, the logging level will be set to DEBUG instead of the default
# INFO level. (boolean value)
# Note: This option can be changed without restarting.
#debug = false
debug = true

# The name of a logging configuration file. This file is appended to any
# existing logging configuration files. For details about logging configuration
# files, see the Python logging module documentation. Note that when logging
# configuration files are used then all logging configuration is set in the
# configuration file and other logging configuration options are ignored (for
# example, logging_context_format_string). (string value)
# Note: This option can be changed without restarting.
# Deprecated group/name - [DEFAULT]/log_config
#log_config_append = <None>
log_config_append = /usr/local/bin/log.conf

# Defines the format string for %%(asctime)s in log records. Default:
# %(default)s . This option is ignored if log_config_append is set. (string
# value)
#log_date_format = %Y-%m-%d %H:%M:%S

# (Optional) Name of log file to send logging output to. If no default is set,
# logging will go to stderr as defined by use_stderr. This option is ignored if
# log_config_append is set. (string value)
# Deprecated group/name - [DEFAULT]/logfile
#log_file = <None>

# (Optional) The base directory used for relative log_file  paths. This option
# is ignored if log_config_append is set. (string value)
# Deprecated group/name - [DEFAULT]/logdir
#log_dir = <None>

# Uses logging handler designed to watch file system. When log file is moved or
# removed this handler will open a new log file with specified path
# instantaneously. It makes sense only if log_file option is specified and
# Linux platform is used. This option is ignored if log_config_append is set.
# (boolean value)
#watch_log_file = false

# Use syslog for logging. Existing syslog format is DEPRECATED and will be
# changed later to honor RFC5424. This option is ignored if log_config_append
# is set. (boolean value)
#use_syslog = false

# Enable journald for logging. If running in a systemd environment you may wish
# to enable journal support. Doing so will use the journal native protocol
# which includes structured metadata in addition to log messages.This option is
# ignored if log_config_append is set. (boolean value)
#use_journal = false

# Syslog facility to receive log lines. This option is ignored if
# log_config_append is set. (string value)
#syslog_log_facility = LOG_USER

# Use JSON formatting for logging. This option is ignored if log_config_append
# is set. (boolean value)
#use_json = false

# Log output to standard error. This option is ignored if log_config_append is
# set. (boolean value)
#use_stderr = false

# Format string to use for log messages with context. (string value)
#logging_context_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [%(request_id)s %(user_identity)s] %(instance)s%(message)s

# Format string to use for log messages when context is undefined. (string
# value)
#logging_default_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [-] %(instance)s%(message)s

# Additional data to append to log message when logging level for the message
# is DEBUG. (string value)
#logging_debug_format_suffix = %(funcName)s %(pathname)s:%(lineno)d

# Prefix each line of exception output with this format. (string value)
#logging_exception_prefix = %(asctime)s.%(msecs)03d %(process)d ERROR %(name)s %(instance)s

# Defines the format string for %(user_identity)s that is used in
# logging_context_format_string. (string value)
#logging_user_identity_format = %(user)s %(tenant)s %(domain)s %(user_domain)s %(project_domain)s

# List of package logging levels in logger=LEVEL pairs. This option is ignored
# if log_config_append is set. (list value)
#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

# Enables or disables publication of error events. (boolean value)
#publish_errors = false

# The format for an instance that is passed with the log message. (string
# value)
#instance_format = "[instance: %(uuid)s] "

# The format for an instance UUID that is passed with the log message. (string
# value)
#instance_uuid_format = "[instance: %(uuid)s] "

# Interval, number of seconds, of log rate limiting. (integer value)
#rate_limit_interval = 0

# Maximum number of logged messages per rate_limit_interval. (integer value)
#rate_limit_burst = 0

# Log level name used by rate limiting: CRITICAL, ERROR, INFO, WARNING, DEBUG
# or empty string. Logs with level greater or equal to rate_limit_except_level
# are not filtered. An empty string means that all levels are filtered. (string
# value)
#rate_limit_except_level = CRITICAL

# Enables or disables fatal status of deprecations. (boolean value)
#fatal_deprecations = false

[auth]
appkey = ""

[aaf_api]

#
# From conductor
#

# is_aaf_enabled. (boolean value)
is_aaf_enabled = true

# aaf_cache_expiry_hrs. (integer value)
aaf_cache_expiry_hrs = 3

# aaf_url. (string value)
aaf_url = https://{{.Values.config.aaf.serviceName}}:{{.Values.config.aaf.port}}/authz/perms/user/

# aaf_cert_file. (string value)
#aaf_cert_file = <None>

# aaf_cert_key_file. (string value)
#aaf_cert_key_file = <None>

# aaf_ca_bundle_file. (string value)
#aaf_ca_bundle_file =
aaf_ca_bundle_file = /usr/local/bin/AAF_RootCA.cer

# aaf_retries. (integer value)
#aaf_retries = 3

# aaf_timeout. (integer value)
#aaf_timeout = 100

# aaf_user_roles. (list value)
#aaf_permissions = {"type": "org.onap.oof.access","instance": "*","action": "*"}


[aaf_sms]

#
# From conductor
#

# Base URL for SMS, up to and not including the version, and without a trailing
# slash. (string value)
aaf_sms_url = https://{{.Values.config.sms.serviceName}}.{{ include "common.namespace" . }}:{{.Values.config.sms.port}}


# Timeout for SMS API Call (integer value)
#aaf_sms_timeout = 30

# Path to the cacert that will be used to verify If this is None, verify will
# be False and the server certis not verified by the client. (string value)
#aaf_ca_certs = AAF_RootCA.cer
aaf_ca_certs = /usr/local/bin/AAF_RootCA.cer

# Domain UUID - A unique UUID generated when the domainfor HAS is created by
# administrator during deployment (string value)
#secret_domain = has


[aai]

#
# From conductor
#

# Interval with which to refresh the local cache, in minutes. (integer value)
#cache_refresh_interval = 1440
cache_refresh_interval = 1

# Interval with which to refresh the local complex cache, in minutes. (integer
# value)
#complex_cache_refresh_interval = 1440
complex_cache_refresh_interval = 60

# Data Store table prefix. (string value)
#table_prefix = aai

# Base URL for A&AI, up to and not including the version, and without a
# trailing slash. (string value)
server_url = https://{{.Values.config.aai.serviceName}}.{{ include "common.namespace" . }}:{{.Values.config.aai.port}}/aai

# Timeout for A&AI Rest Call (string value)
#aai_rest_timeout = 30

# Number of retry for A&AI Rest Call (string value)
#aai_retries = 3

# The version of A&AI in v# format. (string value)
server_url_version = v19

# SSL/TLS certificate file in pem format. This certificate must be registered
# with the A&AI endpoint. (string value)
certificate_file =

# Private Certificate Key file in pem format. (string value)
certificate_key_file =

# Certificate Authority Bundle file in pem format. Must contain the appropriate
# trust chain for the Certificate file. (string value)
#certificate_authority_bundle_file = certificate_authority_bundle.pem
certificate_authority_bundle_file = /usr/local/bin/AAF_RootCA.cer

# Username for AAI. (string value)
username = OOF

# Password for AAI. (string value)
password = OOF


[api]

#
# From conductor
#

# Toggle Pecan Debug Middleware. (boolean value)
#pecan_debug = false

# Default maximum number of items returned by API request. (integer value)
# Minimum value: 1
#default_api_return_limit = 100

[conductor_api]

#
# From conductor
#

# Base URL for plans. (string value)
#server_url =

# username for plans. (string value)
#username =
username = admin1

# password for plans. (string value)
#password =
password = plan.15

# auth toggling. (boolean value)
basic_auth_secure = true


[controller]

#
# From conductor
#

# Timeout for planning requests. Default value is 10. (integer value)
# Minimum value: 1
#timeout = 10
timeout = 200

# Maximum number of result sets to return. Default value is 1. (integer value)
# Minimum value: 1
#limit = 1

# Number of workers for controller service. Default value is 1. (integer value)
# Minimum value: 1
#workers = 1

# Set to True when controller will run in active-active mode. When set to
# False, controller will flush any abandoned messages at startup. The
# controller always restarts abandoned template translations at startup.
# (boolean value)
#concurrent = false
concurrent = true

# Time between checking for new plans. Default value is 1. (integer value)
# Minimum value: 1
#polling_interval = 1

# (integer value)
# Minimum value: 1
#max_translation_counter = 1

# (string value)
opt_schema_file = /opt/has/conductor/etc/conductor/opt_schema.json

[data]

#
# From conductor
#

# Number of workers for data service. Default value is 1. (integer value)
# Minimum value: 1
#workers = 1

# Set to True when data will run in active-active mode. When set to False, data
# will flush any abandoned messages at startup. (boolean value)
#concurrent = false
concurrent = true

# Default value is -8000, which is the diameter of the earth. The distance
# cannot larger than this value (floating point value)
#existing_placement_cost = -8000.0

# (floating point value)
#cloud_candidate_cost = 2.0

# (floating point value)
#service_candidate_cost = 1.0


[inventory_provider]

#
# From conductor
#

# Extensions list to use (list value)
extensions = aai,generator


[messaging_server]

#
# From conductor
#

# Music keyspace for messages (string value)
#keyspace = conductor_rpc

# Wait interval while checking for a message response. Default value is 1
# second. (integer value)
# Minimum value: 1
#check_interval = 1

# Overall message response timeout. Default value is 120 seconds. (integer
# value)
# Minimum value: 1
#response_timeout = 120

# Timeout for detecting a VM is down, and other VMs can pick the plan up.
# Default value is 5 minutes. (integer value) (integer value)
# Minimum value: 1
timeout = 300

# Number of workers for messaging service. Default value is 1. (integer value)
# Minimum value: 1
#workers = 1

# Time between checking for new messages. Default value is 1. (integer value)
# Minimum value: 1
#polling_interval = 1

# Log debug messages. Default value is False. (boolean value)
#debug = false


[multicloud]

#
# From conductor
#

# Base URL for Multicloud without a trailing slash. (string value)
#server_url = http://msb.onap.org/api/multicloud
server_url = http://{{.Values.config.msb.serviceName}}.{{ include "common.namespace" . }}:{{.Values.config.msb.port}}/api/multicloud

# Timeout for Multicloud Rest Call (string value)
#multicloud_rest_timeout = 30

# Number of retry for Multicloud Rest Call (string value)
#multicloud_retries = 3

# The version of Multicloud API. (string value)
#server_url_version = v0


[db_options]

# db_backend to use
db_backend = {{.Values.config.dbBackend}}

# Use music mock api
music_mock = False


[etcd_api]

# host/ip address of etcd server
host = {{.Values.config.etcd.serviceName}}.{{ include "common.namespace" . }}

# port of etcd server
port = {{.Values.config.etcd.port}}

# username for etcd authentication
username =

# password for etcd authentication
password =


[music_api]

#
# From conductor
#

# Base URL for Music REST API without a trailing slash. (string value)
#server_url = http://oof-has-music:8080/MUSIC/rest/v2
server_url = https://{{.Values.config.music.serviceName}}.{{ include "common.namespace" . }}:{{.Values.config.music.port}}/MUSIC/rest/v2
version = v2

# DEPRECATED: List of hostnames (round-robin access) (list value)
# This option is deprecated for removal.
# Its value may be silently ignored in the future.
# Reason: Use server_url instead
#hostnames = <None>

# DEPRECATED: Port (integer value)
# This option is deprecated for removal.
# Its value may be silently ignored in the future.
# Reason: Use server_url instead
#port = <None>

# DEPRECATED: Path (string value)
# This option is deprecated for removal.
# Its value may be silently ignored in the future.
# Reason: Use server_url instead
#path = <None>

# Socket connection timeout (floating point value)
#connect_timeout = 3.05

# Socket read timeout (floating point value)
#read_timeout = 12.05

# Lock timeout (integer value)
#lock_timeout = 10

# Replication factor (integer value)
#replication_factor = 1
replication_factor = 1

# Use mock API (boolean value)
#mock = false

# (string value)
#music_topology = SimpleStrategy

# Name of the first data center (string value)
#first_datacenter_name = <None>

# Number of replicas in first data center (integer value)
#first_datacenter_replicas = <None>

# Name of the second data center (string value)
#second_datacenter_name = <None>

# Number of replicas in second data center (integer value)
#second_datacenter_replicas = <None>

# Name of the third data center (string value)
#third_datacenter_name = <None>

# Number of replicas in third data center (integer value)
#third_datacenter_replicas = <None>

# new or old version (boolean value)
#music_new_version = <None>
music_new_version = True

# for version (string value)
#music_version = <None>
music_version = "3.2.40"

# username value that used for creating basic authorization header (string
# value)
#aafuser = <None>
aafuser = conductor

# password value that used for creating basic authorization header (string
# value)
#aafpass = <None>
aafpass = c0nduct0r

# AAF namespace field used in MUSIC request header (string value)
#aafns = <None>
aafns = conductor

# Enabling HTTPs mode (boolean value)
enable_https_mode = True

# Certificate Authority Bundle file in pem format. Must contain the appropriate
# trust chain for the Certificate file. (string value)
certificate_authority_bundle_file = /usr/local/bin/AAF_RootCA.cer


[prometheus]

#
# From conductor
#

# Prometheus Metrics Endpoint (list value)
#metrics_port = 8000,8001,8002,8003,8004


[reservation]

#
# From conductor
#

# Number of workers for reservation service. Default value is 1. (integer
# value)
# Minimum value: 1
#workers = 1

# Number of times reservation/release should be attempted. (integer value)
#reserve_retries = 1

# Timeout for detecting a VM is down, and other VMs can pick the plan up and
# resereve. Default value is 600 seconds. (integer value) (integer value)
# Minimum value: 1
#timeout = 600

# Set to True when reservation will run in active-active mode. When set to
# False, reservation will restart any orphaned reserving requests at startup.
# (boolean value)
#concurrent = false
concurrent = true

# (integer value)
# Minimum value: 1
#max_reservation_counter = 1


[sdnc]

#
# From conductor
#

# Interval with which to refresh the local cache, in minutes. (integer value)
#cache_refresh_interval = 1440

# Data Store table prefix. (string value)
#table_prefix = sdnc

# Base URL for SDN-C, up to and including the version. (string value)
server_url = https://controller:8443/restconf/

# Basic Authentication Username (string value)
#username = <None>
username = admin

# Basic Authentication Password (string value)
#password = <None>
password = Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U

# Timeout for SDNC Rest Call (string value)
#sdnc_rest_timeout = 30

# Retry Numbers for SDNC Rest Call (string value)
#sdnc_retries = 3

[service_controller]

#
# From conductor
#

# Extensions list to use (list value)
#extensions = sdnc


[solver]

#
# From conductor
#

# Number of workers for solver service. Default value is 1. (integer value)
# Minimum value: 1
#workers = 1

# The timeout value for solver service. Default value is 480 seconds. (integer
# value)
# Minimum value: 1
#solver_timeout = 480

# Set to True when solver will run in active-active mode. When set to False,
# solver will restart any orphaned solving requests at startup. (boolean value)
#concurrent = false
concurrent = true

# Timeout for detecting a VM is down, and other VMs can pick the plan up. This
# value should be larger than solver_timeoutDefault value is 10 minutes.
# (integer value) (integer value)
# Minimum value: 1
#timeout = 600

# (integer value)
# Minimum value: 1
#max_solver_counter = 1


[vim_controller]

#
# From conductor
#

# Extensions list to use (list value)
#extensions = multicloud


[sdc]

#
# From conductor
#

# Data Store table prefix. (string value)
#table_prefix = sdc

# Base URL for SDC, up to and not including the version, and without a
# trailing slash. (string value)
#server_url = https://controller:8443/sdc
server_url = https://{{.Values.config.sdc.serviceName}}.{{ include "common.namespace" . }}:{{.Values.config.sdc.port}}/sdc

# Timeout for SDC Rest Call (string value)
#sdc_rest_timeout = 30

# Number of retry for SDC Rest Call (string value)
#sdc_retries = 3

# The version of A&AI in v# format. (string value)
server_url_version = v1

# SSL/TLS certificate file in pem format. This certificate must be registered
# with the SDC endpoint. (string value)
#certificate_file = certificate.pem
certificate_file =

# Private Certificate Key file in pem format. (string value)
#certificate_key_file = certificate_key.pem
certificate_key_file =

# Certificate Authority Bundle file in pem format. Must contain the appropriate
# trust chain for the Certificate file. (string value)
#certificate_authority_bundle_file = certificate_authority_bundle.pem
certificate_authority_bundle_file = /usr/local/bin/AAF_RootCA.cer

# Username for SDC. (string value)
#username =

# Password for SDC. (string value)
#password =

temp_path = "/tmp/nsttemplates"


[cps]

#
# From conductor
#

# Data Store table prefix. (string value)
#table_prefix = cps

# Base URL for CPS, up to and not including the version, and without a
# trailing slash. (string value)
#yet to be finalized
#server_url = https://cps.api.simpledemo.onap.org:8443/cps
server_url=http://{{.Values.config.cps.serviceName}}.{{ include "common.namespace" . }}:{{.Values.config.cps.port}}/

# Timeout for CPS Rest Call (string value)
#cps_rest_timeout = 30

# Number of retry for CPS Rest Call (string value)
#cps_retries = 3


# SSL/TLS certificate file in pem format. This certificate must be registered
# with the CPS endpoint. (string value)
#certificate_file = certificate.pem
certificate_file =

# Private Certificate Key file in pem format. (string value)
#certificate_key_file = certificate_key.pem
certificate_key_file =

# Certificate Authority Bundle file in pem format. Must contain the appropriate
# trust chain for the Certificate file. (string value)
#certificate_authority_bundle_file = certificate_authority_bundle.pem
certificate_authority_bundle_file = /usr/local/bin/AAF_RootCA.cer

# Username for CPS. (string value)
#username =

# Password for CPS. (string value)
#password =

get_ta_list_url = "/api/v1/execute/ran-coverage-area/get_ta_list"