blob: 5c888db79047891b19e627f94a98140b07d0c119 [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.
Jack Lucas64da4e72023-03-03 14:46:05 -05004# Copyright (c) 2022-2023 J. F. Lucas. All rights reserved.
Vijay Venkatesh Kumarf1a226c2021-06-29 14:08:48 -04005# ============================================================================
6# Licensed under the Apache License, Version 2.0 (the "License");
7# you may not use this file except in compliance with the License.
8# You may obtain a copy of the License at
9#
10# http://www.apache.org/licenses/LICENSE-2.0
11#
12# Unless required by applicable law or agreed to in writing, software
13# distributed under the License is distributed on an "AS IS" BASIS,
14# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15# See the License for the specific language governing permissions and
16# limitations under the License.
17# ================================= LICENSE_END ==============================
18
19#################################################################
20# Global Configuration Defaults.
21#################################################################
22global:
23 nodePortPrefix: 302
24 nodePortPrefixExt: 304
Maciej Wereski7000a7c2021-12-16 12:24:06 +010025 centralizedLoggingEnabled: true
Vijay Venkatesh Kumarf1a226c2021-06-29 14:08:48 -040026
27#################################################################
28# Filebeat Configuration Defaults.
29#################################################################
30filebeatConfig:
31 logstashServiceName: log-ls
32 logstashPort: 5044
33
Vijay Venkatesh Kumarf1a226c2021-06-29 14:08:48 -040034#################################################################
35# Application Configuration Defaults.
36#################################################################
37# Application Image
Vijay Venkatesh Kumar0e73b022022-09-13 12:37:13 -040038image: onap/org.onap.dcaegen2.collectors.snmptrap:2.0.7
Vijay Venkatesh Kumarf1a226c2021-06-29 14:08:48 -040039pullPolicy: Always
40
41# Log directory where logging sidecar should look for log files
Maciej Wereski7000a7c2021-12-16 12:24:06 +010042# if path is set to null sidecar won't be deployed in spite of
43# global.centralizedLoggingEnabled setting.
44log:
45 path: /opt/app/snmptrap/logs
46logConfigMapNamePrefix: '{{ include "common.fullname" . }}'
Vijay Venkatesh Kumarf1a226c2021-06-29 14:08:48 -040047
Vijay Venkatesh Kumarf1a226c2021-06-29 14:08:48 -040048# Dependencies
49readinessCheck:
50 wait_for:
Vijay Venkatesh Kumar41fc5a22022-03-08 16:28:05 -050051 - message-router
Vijay Venkatesh Kumarf1a226c2021-06-29 14:08:48 -040052
53# Probe Configuration
54readiness:
55 type: exec
56 command:
57 - /opt/app/snmptrap/bin/snmptrapd.sh
58 - status
59
60# service configuration
61service:
62 type: NodePort
63 name: dcae-snmptrap-collector
64 ports:
65 - name: udp
66 port: 6162
67 l4_protocol: UDP # default to TCP if not set
68 port_protocol: udp #used in svn name
69 nodePort: 70
70 useNodePortExt: true
71
72# Initial Application Configuration
73applicationConfig:
74 StormWatchPolicy: ''
75 cache:
76 dns_cache_ttl_seconds: 60
77 services_calls: {}
78 snmptrapd:
79 version: '2.0.4'
80 title: ONAP SNMP Trap Receiver
81 sw_interval_in_seconds: 60
82 streams_publishes:
83 sec_fault_unsecure:
84 dmaap_info:
85 topic_url: http://message-router:3904/events/unauthenticated.ONAP-COLLECTOR-SNMPTRAP
86 type: message_router
87 aaf_password: null
88 aaf_username: null
89 files:
90 runtime_base_dir: "/opt/app/snmptrap"
91 log_dir: logs
92 data_dir: data
93 pid_dir: tmp
94 arriving_traps_log: snmptrapd_arriving_traps.log
95 snmptrapd_diag: snmptrapd_prog_diag.log
96 traps_stats_log: snmptrapd_stats.csv
97 perm_status_file: snmptrapd_status.log
98 eelf_base_dir: "/opt/app/snmptrap/logs"
99 eelf_error: error.log
100 eelf_debug: debug.log
101 eelf_audit: audit.log
102 eelf_metrics: metrics.log
103 roll_frequency: hour
104 minimum_severity_to_log: 3
105 protocols:
106 transport: udp
107 ipv4_interface: 0.0.0.0
108 ipv4_port: 6162
109 ipv6_interface: "::1"
110 ipv6_port: 6162
111 publisher:
112 http_milliseconds_timeout: 1500
113 http_retries: 3
114 http_milliseconds_between_retries: 750
115 http_primary_publisher: 'true'
116 http_peer_publisher: unavailable
117 max_traps_between_publishes: 10
118 max_milliseconds_between_publishes: 10000
119
120# Resource Limit Flavor -By Default Using Small
121flavor: small
122
123# Segregation for Different Environment (Small and Large)
124resources:
125 small:
126 limits:
127 cpu: 1
128 memory: 1Gi
129 requests:
130 cpu: 1
131 memory: 1Gi
132 large:
133 limits:
134 cpu: 2
135 memory: 2Gi
136 requests:
137 cpu: 2
138 memory: 2Gi
139 unlimited: {}
farida azmycb03ac72021-09-12 16:14:12 +0200140
141#Pods Service Account
142serviceAccount:
143 nameOverride: dcae-snmptrap-collector
144 roles:
145 - read