blob: 51ec3377244457f036a89e9dc85a3f095c4353eb [file] [log] [blame]
Vijay Venkatesh Kumarf1a226c2021-06-29 14:08:48 -04001# ================================ LICENSE_START =============================
2# ============================================================================
3# Copyright (c) 2021 AT&T Intellectual Property. All rights reserved.
4# ============================================================================
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
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
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.
16# ================================= LICENSE_END ==============================
17
18#################################################################
19# Global Configuration Defaults.
20#################################################################
21global:
22 nodePortPrefix: 302
23 nodePortPrefixExt: 304
Maciej Wereski7000a7c2021-12-16 12:24:06 +010024 centralizedLoggingEnabled: true
Vijay Venkatesh Kumarf1a226c2021-06-29 14:08:48 -040025
26#################################################################
27# Filebeat Configuration Defaults.
28#################################################################
29filebeatConfig:
30 logstashServiceName: log-ls
31 logstashPort: 5044
32
33
34#################################################################
35# InitContainer Images.
36#################################################################
37tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0
Jack Lucasd263e692021-08-16 16:02:23 -040038consulLoaderImage: onap/org.onap.dcaegen2.deployments.consul-loader-container:1.1.1
Vijay Venkatesh Kumarf1a226c2021-06-29 14:08:48 -040039
40#################################################################
41# Application Configuration Defaults.
42#################################################################
43# Application Image
Vijay Venkatesh Kumar0f876882022-02-24 11:10:38 -050044image: onap/org.onap.dcaegen2.collectors.snmptrap:2.0.6
Vijay Venkatesh Kumarf1a226c2021-06-29 14:08:48 -040045pullPolicy: Always
46
47# Log directory where logging sidecar should look for log files
Maciej Wereski7000a7c2021-12-16 12:24:06 +010048# if path is set to null sidecar won't be deployed in spite of
49# global.centralizedLoggingEnabled setting.
50log:
51 path: /opt/app/snmptrap/logs
52logConfigMapNamePrefix: '{{ include "common.fullname" . }}'
Vijay Venkatesh Kumarf1a226c2021-06-29 14:08:48 -040053
54
55# TLS role -- set to true if microservice acts as server
56# If true, an init container will retrieve a server cert
57# and key from AAF and mount them in certDirectory.
58tlsServer: true
59
60# Dependencies
61readinessCheck:
62 wait_for:
63 - dcae-config-binding-service
64
65# Probe Configuration
66readiness:
67 type: exec
68 command:
69 - /opt/app/snmptrap/bin/snmptrapd.sh
70 - status
71
72# service configuration
73service:
74 type: NodePort
75 name: dcae-snmptrap-collector
76 ports:
77 - name: udp
78 port: 6162
79 l4_protocol: UDP # default to TCP if not set
80 port_protocol: udp #used in svn name
81 nodePort: 70
82 useNodePortExt: true
83
84# Initial Application Configuration
85applicationConfig:
86 StormWatchPolicy: ''
87 cache:
88 dns_cache_ttl_seconds: 60
89 services_calls: {}
90 snmptrapd:
91 version: '2.0.4'
92 title: ONAP SNMP Trap Receiver
93 sw_interval_in_seconds: 60
94 streams_publishes:
95 sec_fault_unsecure:
96 dmaap_info:
97 topic_url: http://message-router:3904/events/unauthenticated.ONAP-COLLECTOR-SNMPTRAP
98 type: message_router
99 aaf_password: null
100 aaf_username: null
101 files:
102 runtime_base_dir: "/opt/app/snmptrap"
103 log_dir: logs
104 data_dir: data
105 pid_dir: tmp
106 arriving_traps_log: snmptrapd_arriving_traps.log
107 snmptrapd_diag: snmptrapd_prog_diag.log
108 traps_stats_log: snmptrapd_stats.csv
109 perm_status_file: snmptrapd_status.log
110 eelf_base_dir: "/opt/app/snmptrap/logs"
111 eelf_error: error.log
112 eelf_debug: debug.log
113 eelf_audit: audit.log
114 eelf_metrics: metrics.log
115 roll_frequency: hour
116 minimum_severity_to_log: 3
117 protocols:
118 transport: udp
119 ipv4_interface: 0.0.0.0
120 ipv4_port: 6162
121 ipv6_interface: "::1"
122 ipv6_port: 6162
123 publisher:
124 http_milliseconds_timeout: 1500
125 http_retries: 3
126 http_milliseconds_between_retries: 750
127 http_primary_publisher: 'true'
128 http_peer_publisher: unavailable
129 max_traps_between_publishes: 10
130 max_milliseconds_between_publishes: 10000
131
132# Resource Limit Flavor -By Default Using Small
133flavor: small
134
135# Segregation for Different Environment (Small and Large)
136resources:
137 small:
138 limits:
139 cpu: 1
140 memory: 1Gi
141 requests:
142 cpu: 1
143 memory: 1Gi
144 large:
145 limits:
146 cpu: 2
147 memory: 2Gi
148 requests:
149 cpu: 2
150 memory: 2Gi
151 unlimited: {}
farida azmycb03ac72021-09-12 16:14:12 +0200152
153#Pods Service Account
154serviceAccount:
155 nameOverride: dcae-snmptrap-collector
156 roles:
157 - read