vagrant | 230d6b6 | 2018-03-21 10:16:04 +0000 | [diff] [blame] | 1 | tosca_definitions_version: cloudify_dsl_1_3 |
| 2 | imports: |
| 3 | - "{{ ONAPTEMPLATE_RAWREPOURL_org_onap_dcaegen2_platform_plugins_releases }}/type_files/dockerplugin/2/dockerplugin_types.yaml" |
Hansen, Tony (th1395) | 68765fc | 2018-04-27 00:37:31 +0000 | [diff] [blame] | 4 | - "{{ ONAPTEMPLATE_RAWREPOURL_org_onap_dcaegen2_platform_plugins_releases }}/relationshipplugin/1.0.0/relationshipplugin_types.yaml" |
vagrant | 230d6b6 | 2018-03-21 10:16:04 +0000 | [diff] [blame] | 5 | inputs: |
| 6 | snmp_publish_url: |
| 7 | type: string |
| 8 | default: "http://10.0.11.1:3904/events/unauthenticated.ONAP-COLLECTOR-SNMPTRAP" |
| 9 | docker_host_override: |
| 10 | type: string |
| 11 | default: "component_dockerhost" |
| 12 | dh_location_id: |
| 13 | type: string |
| 14 | default: "zone1" |
vagrant | f751bdf | 2018-03-21 18:08:00 +0000 | [diff] [blame] | 15 | tag_version: |
| 16 | type: string |
| 17 | default: "nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.snmptrap:1.3" |
| 18 | |
vagrant | 230d6b6 | 2018-03-21 10:16:04 +0000 | [diff] [blame] | 19 | node_templates: |
| 20 | docker_service_host: |
| 21 | type: dcae.nodes.SelectedDockerHost |
| 22 | properties: |
| 23 | docker_host_override: |
| 24 | get_input: docker_host_override |
| 25 | location_id: |
| 26 | get_input: dh_location_id |
| 27 | heartbeatService: |
| 28 | type: dcae.nodes.DockerContainerForComponentsUsingDmaap |
| 29 | properties: |
| 30 | application_config: |
| 31 | streams_publishes: |
| 32 | dcae_cl_out: |
| 33 | dmaap_info: |
| 34 | topic_url: |
| 35 | get_input: snmp_publish_url |
| 36 | type: message_router |
| 37 | snmptrap.version: "1.3.0" |
| 38 | snmptrap.title: "ONAP SNMP Trap Receiver" |
| 39 | protocols.transport: "udp" |
| 40 | protocols.ipv4_interface: "0.0.0.0" |
| 41 | protocols.ipv4_port: 162 |
| 42 | protocols.ipv6_interface: "::1" |
| 43 | protocols.ipv6_port: 162 |
| 44 | cache.dns_cache_ttl_seconds: 60 |
| 45 | publisher.http_timeout_milliseconds: 1500 |
| 46 | publisher.http_retries: 3 |
| 47 | publisher.http_milliseconds_between_retries: 750 |
| 48 | publisher.http_primary_publisher: "true" |
| 49 | publisher.http_peer_publisher: "unavailable" |
| 50 | publisher.max_traps_between_publishes: 10 |
| 51 | publisher.max_milliseconds_between_publishes: 10000 |
| 52 | files.runtime_base_dir: "/opt/app/snmptrap" |
| 53 | files.log_dir: "logs" |
| 54 | files.data_dir: "data" |
| 55 | files.pid_dir: "tmp" |
| 56 | files.arriving_traps_log: "snmptrapd_arriving_traps.log" |
| 57 | files.snmptrapd_diag: "snmptrapd_prog_diag.log" |
| 58 | files.traps_stats_log: "snmptrapd_stats.csv" |
| 59 | files.perm_status_file: "snmptrapd_status.log" |
| 60 | files.eelf_base_dir: "/opt/app/snmptrap/logs" |
| 61 | files.eelf_error: "error.log" |
| 62 | files.eelf_debug: "debug.log" |
| 63 | files.eelf_audit: "audit.log" |
| 64 | files.eelf_metrics: "metrics.log" |
| 65 | files.roll_frequency: "hour" |
| 66 | files.minimum_severity_to_log: 2 |
| 67 | trap_def.1.trap_oid" : ".1.3.6.1.4.1.74.2.46.12.1.1" |
| 68 | trap_def.1.trap_category: "DCAE-SNMP-TRAPS" |
| 69 | trap_def.2.trap_oid" : "*" |
| 70 | trap_def.2.trap_category: "DCAE-SNMP-TRAPS" |
| 71 | stormwatch.1.stormwatch_oid" : ".1.3.6.1.4.1.74.2.46.12.1.1" |
| 72 | stormwatch.1.low_water_rearm_per_minute" : "5" |
| 73 | stormwatch.1.high_water_arm_per_minute" : "100" |
| 74 | stormwatch.2.stormwatch_oid" : ".1.3.6.1.4.1.74.2.46.12.1.2" |
| 75 | stormwatch.2.low_water_rearm_per_minute" : "2" |
| 76 | stormwatch.2.high_water_arm_per_minute" : "200" |
| 77 | stormwatch.3.stormwatch_oid" : ".1.3.6.1.4.1.74.2.46.12.1.2" |
| 78 | stormwatch.3.low_water_rearm_per_minute" : "2" |
| 79 | stormwatch.3.high_water_arm_per_minute" : "200" |
| 80 | docker_config: |
| 81 | healthcheck: |
| 82 | script: /app/bin/check_health.py |
| 83 | interval: 18s |
| 84 | timeout: 30s |
| 85 | type: docker |
vagrant | f751bdf | 2018-03-21 18:08:00 +0000 | [diff] [blame] | 86 | image: |
| 87 | get_input: tag_version |
| 88 | |
vagrant | 230d6b6 | 2018-03-21 10:16:04 +0000 | [diff] [blame] | 89 | location_id: |
| 90 | get_input: dh_location_id |
| 91 | service_component_type: dcaegen2-collectors-snmptrap |
| 92 | relationships: |
| 93 | - target: docker_service_host |
| 94 | type: dcae.relationships.component_contained_in |
| 95 | |