1 # -*- indent-tabs-mode: nil -*- # vi: set expandtab:
3 # ============LICENSE_START====================================================
4 # =============================================================================
5 # Copyright (c) 2018-2019 AT&T Intellectual Property. All rights reserved.
6 # =============================================================================
7 # Licensed under the Apache License, Version 2.0 (the "License");
8 # you may not use this file except in compliance with the License.
9 # You may obtain a copy of the License at
11 # http://www.apache.org/licenses/LICENSE-2.0
13 # Unless required by applicable law or agreed to in writing, software
14 # distributed under the License is distributed on an "AS IS" BASIS,
15 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 # See the License for the specific language governing permissions and
17 # limitations under the License.
18 # ============LICENSE_END======================================================
20 tosca_definitions_version: cloudify_dsl_1_3
23 - "http://www.getcloudify.org/spec/cloudify/3.4/types.yaml"
24 - {{ ONAPTEMPLATE_RAWREPOURL_org_onap_dcaegen2_platform_plugins_releases }}/k8splugin/1.4.12/k8splugin_types.yaml
28 default: "{{ ONAPTEMPLATE_DOCKERREGURL_org_onap_dcaegen2_releases }}/onap/org.onap.dcaegen2.collectors.snmptrap:1.4.0"
32 dns_cache_ttl_seconds: 60
36 arriving_traps_log: snmptrapd_arriving_traps.log
39 eelf_base_dir: /opt/app/snmptrap/logs
42 eelf_metrics: metrics.log
44 minimum_severity_to_log: 2
45 perm_status_file: snmptrapd_status.log
48 runtime_base_dir: /opt/app/snmptrap
49 snmptrapd_diag: snmptrapd_prog_diag.log
50 traps_stats_log: snmptrapd_stats.csv
54 ipv4_interface: 0.0.0.0
61 http_milliseconds_between_retries: 750
62 http_milliseconds_timeout: 1500
63 http_peer_publisher: unavailable
64 http_primary_publisher: 'true'
66 max_milliseconds_between_publishes: 10000
67 max_traps_between_publishes: 10
68 sec_fault_unsecure_topic:
70 default: "http://message-router.onap.svc.cluster.local:3904/events/unauthenticated.ONAP-COLLECTOR-SNMPTRAP"
74 title: Collector for receiving SNMP traps and publishing to DMAAP/MR
78 description: Kubernetes node port on which collector is exposed
82 description: number of instances
88 cloudify.interfaces.lifecycle:
92 - concat: ["6162/udp:", { get_input: external_port }]
107 sw_interval_in_seconds: 60
112 get_input: sec_fault_unsecure_topic
116 get_input: tag_version
117 replicas: {get_input: replicas}
118 name: 'dcae-snmptrap-collector'
119 dns_name: 'dcae-snmptrap-collector'
120 type: dcae.nodes.ContainerizedPlatformComponent