summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvagrant <vv770d@att.com>2018-09-17 06:55:17 +0000
committervagrant <vv770d@att.com>2018-09-17 06:55:25 +0000
commit5e393d3f0dedfccfb49c131373c807fa58a62104 (patch)
tree4d1c657c3724f1623618d521b562fd207ccfa2e7
parent3ea2b8ec2f8fbd05506fee5df4b5c4f12f538056 (diff)
fix blueprint for snmptrap and tca
Change-Id: Ia9a4deb8d8b8e19ab72016398f01490c7f95f16a Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com> Issue-ID: DCAEGEN2-772
-rw-r--r--blueprints/k8s-snmptrap.yaml-template34
-rw-r--r--blueprints/k8s-tca.yaml-template4
2 files changed, 19 insertions, 19 deletions
diff --git a/blueprints/k8s-snmptrap.yaml-template b/blueprints/k8s-snmptrap.yaml-template
index 9649237..581233b 100644
--- a/blueprints/k8s-snmptrap.yaml-template
+++ b/blueprints/k8s-snmptrap.yaml-template
@@ -21,19 +21,19 @@ tosca_definitions_version: cloudify_dsl_1_3
imports:
- "http://www.getcloudify.org/spec/cloudify/3.4/types.yaml"
- - {{ ONAPTEMPLATE_RAWREPOURL_org_onap_dcaegen2_platform_plugins_releases }}/k8splugin/1.4.3/k8splugin_types.yaml
+ - {{ ONAPTEMPLATE_RAWREPOURL_org_onap_dcaegen2_platform_plugins_releases }}/k8splugin/1.4.3/k8splugin_types.yaml
inputs:
tag_version:
type: string
- default: "{{ ONAPTEMPLATE_DOCKERREGURL_org_onap_dcaegen2_releases }}/onap/org.onap.dcaegen2.collectors.snmptrap:1.4.0"
+ default: "{{ ONAPTEMPLATE_DOCKERREGURL_org_onap_dcaegen2_releases }}/onap/org.onap.dcaegen2.collectors.snmptrap:1.4.0"
cache:
type: string
default:
- dns_cache_ttl_seconds: '60'
+ dns_cache_ttl_seconds: 60
files:
type: string
default:
- - arriving_traps_log: snmptrapd_arriving_traps.log
+ arriving_traps_log: snmptrapd_arriving_traps.log
data_dir: data
eelf_audit: audit.log
eelf_base_dir: /opt/app/snmptrap/logs
@@ -41,7 +41,7 @@ inputs:
eelf_error: error.log
eelf_metrics: metrics.log
log_dir: logs
- minimum_severity_to_log: '2'
+ minimum_severity_to_log: 2
perm_status_file: snmptrapd_status.log
pid_dir: tmp
roll_frequency: day
@@ -51,27 +51,27 @@ inputs:
protocols:
type: string
default:
- - ipv4_interface: 0.0.0.0
- ipv4_port: '6162'
+ ipv4_interface: 0.0.0.0
+ ipv4_port: 6162
ipv6_interface: ::1
- ipv6_port: '6162'
+ ipv6_port: 6162
publisher:
type: string
default:
- - http_milliseconds_between_retries: '750'
- http_milliseconds_timeout: '1500'
+ http_milliseconds_between_retries: 750
+ http_milliseconds_timeout: 1500
http_peer_publisher: unavailable
http_primary_publisher: 'true'
- http_retries: '3'
- max_milliseconds_between_publishes: '10000'
- max_traps_between_publishes: '10'
+ http_retries: 3
+ max_milliseconds_between_publishes: 10000
+ max_traps_between_publishes: 10
sec_fault_unsecure_topic:
type: string
default: "http://message-router.onap.svc.cluster.local:3904/events/unauthenticated.ONAP-COLLECTOR-SNMPTRAP"
snmptrapd:
type: string
default:
- - title: Collector for receiving SNMP traps and publishing to DMAAP/MR
+ title: Collector for receiving SNMP traps and publishing to DMAAP/MR
version: 1.4.0
replicas:
type: integer
@@ -100,13 +100,14 @@ node_templates:
services_calls: {}
snmptrapd:
get_input: snmptrapd
- sw_interval_in_seconds: '60'
+ sw_interval_in_seconds: 60
streams_publishes:
- ves-fault:
+ sec_fault_unsecure:
dmaap_info:
topic_url:
get_input: sec_fault_unsecure_topic
type: message_router
+
docker_config:
healthcheck:
interval: 300s
@@ -121,4 +122,3 @@ node_templates:
name: 'dcae-snmptrap-collector'
dns_name: 'dcae-snmptrap-collector'
type: dcae.nodes.ContainerizedPlatformComponent
-
diff --git a/blueprints/k8s-tca.yaml-template b/blueprints/k8s-tca.yaml-template
index 4771dc5..16ca4a3 100644
--- a/blueprints/k8s-tca.yaml-template
+++ b/blueprints/k8s-tca.yaml-template
@@ -97,8 +97,8 @@ node_templates:
aaiEnrichmentIgnoreSSLCertificateErrors: 'true'
aaiEnrichmentPortNumber: '8443'
aaiEnrichmentProtocol: https
- aaiEnrichmentUserName: DCAE
- aaiEnrichmentUserPassword: DCAE
+ aaiEnrichmentUserName: dcae@dcae.onap.org
+ aaiEnrichmentUserPassword: demo123456!
aaiVMEnrichmentAPIPath: /aai/v11/search/nodes-query
aaiVNFEnrichmentAPIPath: /aai/v11/network/generic-vnfs/generic-vnf
enableAAIEnrichment: