Table of Contents |
---|
...
- Decode the message from Kafka topic :
Casablanca
No Format |
---|
root@hv-ves-sim:~## kafkacat -C -b localhost:9092 -t HV_VES_PERF3GPP -D "" -o -1 -c 1 | protoc --decode_raw 1 { 1: "sample-version" 2: "perf3gpp" 3: 1 4: 1 5: "perf3GPP22" 6: "sample-event-name" 7: "sample-event-type" 8: 1539263857 9: 1539263857 10: "sample-nf-naming-code" 11: "sample-nfc-naming-code" 12: "sample-nf-vendor-name" 13: "sample-reporting-entity-id" 14: "sample-reporting-entity-name" 15: "sample-source-id" 16: "sample-xnf-name" 17: "UTC+02:00" 18: "7.0.2" } 2: "test test test" root@hv-ves-sim:~# |
Dublin onward
No Format |
---|
root@dev-robot-robot-699bc8588d-svqdl:/# kafkacat -C -b message-router-kafka:9092 -t HV_VES_PERF3GPP -X security.protocol=SASL_PLAINTEXT -X sasl.mechanisms=PLAIN -X sasl.username=admin -X sasl.password=admin_secret -D "" -o -1 -c 1 | protoc --decode_raw 1 { 1: "sample-version" 2: "perf3gpp" 3: 1 4: 1 5: "perf3GPP22" 6: "sample-event-name" 7: "sample-event-type" 8: 1539263857 9: 1539263857 10: "sample-nf-naming-code" 11: "sample-nfc-naming-code" 12: "sample-nf-vendor-name" 13: "sample-reporting-entity-id" 14: "sample-reporting-entity-name" 15: "sample-source-id" 16: "sample-xnf-name" 17: "UTC+02:00" 18: "7.0.2" } 2: "test test test" root@dev-robot-robot-699bc8588d-svqdl:/# |
HV-VES with SSL enabled
Casablanca
Generate testing PKCS #12 files usingĀ https://gerrit.onap.org/r/gitweb?p=dcaegen2/collectors/hv-ves.git;a=blob_plain;f=tools/ssl/gen-certs.sh;hb=refs/heads/master and store in k8s nfs dir /dockerdata-nfs/ssl
Edit HV-VES deployment (kubectl -n onap edit deployment/dep-dcae-hv-ves-collector) by removing VESHV_SSL_DISABLE flagand adding VESHV_TRUST_STORE, VESHV_KEY_STORE, VESHV_TRUST_STORE_PASSWORD, VESHV_KEY_STORE_PASSWORD ones.
Add entry to mount node:/dockerdata-nfs/ssl to containter:/etc/ves-hv :
...