blob: 01d4316d46b0467e84c9210a3be528928e74869e [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
AndrewLambbd6ff6b2023-05-04 15:56:49 +010072serviceMesh:
73 authorizationPolicy:
74 authorizedPrincipals: []
75
Vijay Venkatesh Kumarf1a226c2021-06-29 14:08:48 -040076# Initial Application Configuration
77applicationConfig:
78 StormWatchPolicy: ''
79 cache:
80 dns_cache_ttl_seconds: 60
81 services_calls: {}
82 snmptrapd:
83 version: '2.0.4'
84 title: ONAP SNMP Trap Receiver
85 sw_interval_in_seconds: 60
86 streams_publishes:
87 sec_fault_unsecure:
88 dmaap_info:
89 topic_url: http://message-router:3904/events/unauthenticated.ONAP-COLLECTOR-SNMPTRAP
90 type: message_router
91 aaf_password: null
92 aaf_username: null
93 files:
94 runtime_base_dir: "/opt/app/snmptrap"
95 log_dir: logs
96 data_dir: data
97 pid_dir: tmp
98 arriving_traps_log: snmptrapd_arriving_traps.log
99 snmptrapd_diag: snmptrapd_prog_diag.log
100 traps_stats_log: snmptrapd_stats.csv
101 perm_status_file: snmptrapd_status.log
102 eelf_base_dir: "/opt/app/snmptrap/logs"
103 eelf_error: error.log
104 eelf_debug: debug.log
105 eelf_audit: audit.log
106 eelf_metrics: metrics.log
107 roll_frequency: hour
108 minimum_severity_to_log: 3
109 protocols:
110 transport: udp
111 ipv4_interface: 0.0.0.0
112 ipv4_port: 6162
113 ipv6_interface: "::1"
114 ipv6_port: 6162
115 publisher:
116 http_milliseconds_timeout: 1500
117 http_retries: 3
118 http_milliseconds_between_retries: 750
119 http_primary_publisher: 'true'
120 http_peer_publisher: unavailable
121 max_traps_between_publishes: 10
122 max_milliseconds_between_publishes: 10000
123
124# Resource Limit Flavor -By Default Using Small
125flavor: small
126
127# Segregation for Different Environment (Small and Large)
128resources:
129 small:
130 limits:
131 cpu: 1
132 memory: 1Gi
133 requests:
134 cpu: 1
135 memory: 1Gi
136 large:
137 limits:
138 cpu: 2
139 memory: 2Gi
140 requests:
141 cpu: 2
142 memory: 2Gi
143 unlimited: {}
farida azmycb03ac72021-09-12 16:14:12 +0200144
145#Pods Service Account
146serviceAccount:
147 nameOverride: dcae-snmptrap-collector
148 roles:
149 - read