Table of Contents |
---|
...
No Format |
---|
root@hv-ves-sim:~# docker exec -ti db196f77fd8e sh / # kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic ves_hvRanMeas ? sample-version *sample-version2sample-version:sample-version@???9H???9Rsample-nf-naming-codeZsample-nfc-naming-codebsample-reporting-entity-idjsample-reporting-entity-namersample-source-idzsample-source-namec a sample/uri8873??? ? ??????????????????????? ?????/???????a??????? |
HV-VES xNF simulator integration to ONAP
- Deploy HV-VES simulator inĀ onap mode using Heat template : https://gerrit.onap.org/r/gitweb?p=integration.git;a=blob_plain;f=test/mocks/hvvessimulator/hvves_sim.yaml;hb=HEAD
- Check if HV-VES pod is running :
...
No Format |
---|
root@hv-ves-sim:~/hv-ves_sim/proto# kafkacat -C -b localhost:9092 -t HV_VES_PERF3GPP -D "" -o -1 -c 1 | protoc --decode_raw --proto_path=/root/hv-ves_sim/proto/ 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:~/hv-ves_sim/proto# |
HV-VES xNF message simulation from shell
- Prepare HV-VES VesEvent message in hex dump format :
...
- Generate testing PKCS #12 files usingĀ https://gerrit.onap.org/r/gitweb?p=dcaegen2/collectors/hv-ves.git;a=blob_plain;f=ssl/gen-certs.sh;hb=HEAD 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 :
...