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