From 562a65a378c3ce3df48947a1a335b89f59f17940 Mon Sep 17 00:00:00 2001 From: demx8as6 Date: Tue, 30 Mar 2021 10:56:02 +0200 Subject: [PATCH] Init version IssueID: OAM-183 Signed-off-by: demx8as6 Change-Id: I4522cbdbf4b1cb56d2359c3e27e69765c96a3ade --- .../client-scripts-ves-v7/READMEpy.md | 78 +++++++++++++++ .../globalVesEventEmitter.cpython-38.pyc | Bin 0 -> 1092 bytes .../client-scripts-ves-v7/config.yml | 109 +++++++++++++++++++++ .../client-scripts-ves-v7/globalVesEventEmitter.py | 54 ++++++++++ .../client-scripts-ves-v7/sendVesHeartbeat.py | 58 +++++++++++ .../client-scripts-ves-v7/sendVesNotification.py | 84 ++++++++++++++++ 6 files changed, 383 insertions(+) create mode 100644 solution/dev/ves-test-collector/client-scripts-ves-v7/READMEpy.md create mode 100644 solution/dev/ves-test-collector/client-scripts-ves-v7/__pycache__/globalVesEventEmitter.cpython-38.pyc create mode 100644 solution/dev/ves-test-collector/client-scripts-ves-v7/config.yml create mode 100644 solution/dev/ves-test-collector/client-scripts-ves-v7/globalVesEventEmitter.py create mode 100644 solution/dev/ves-test-collector/client-scripts-ves-v7/sendVesHeartbeat.py create mode 100644 solution/dev/ves-test-collector/client-scripts-ves-v7/sendVesNotification.py diff --git a/solution/dev/ves-test-collector/client-scripts-ves-v7/READMEpy.md b/solution/dev/ves-test-collector/client-scripts-ves-v7/READMEpy.md new file mode 100644 index 0000000..182129d --- /dev/null +++ b/solution/dev/ves-test-collector/client-scripts-ves-v7/READMEpy.md @@ -0,0 +1,78 @@ +# VES Events + +VES: Virtual Event Streaming (HTTP1.1/json-schema) + +This document describes sending of VES events according to +[VES 7.2.1](https://gerrit.onap.org/r/gitweb?p=dcaegen2/collectors/ves.git;a=blob;f=etc/CommonEventFormat_30.2.1_ONAP.json) +as expected by O-RAN Operation and Maintenance Interface Specification. + +## Prerequisites + +Python3 is expected to run the scripts. + +``` +pip3 install requests +``` + +## VES Domains + +The syntax of a single VES event is devices into a common header and an event +specific body. + +The event specific bodies are are identified by the VES domain. + +### VES Domain "fault" + +tbd. + +### VES Domain "heartbeat", + +tbd. + +### VES Domain "measurement", + +tbd. + +### VES Domain "mobileFlow", + +tbd. + +### VES Domain "notification", + +tbd. + +### VES Domain "other", + +tbd. + +### VES Domain "perf3gpp", + +tbd. + +### VES Domain "pnfRegistration", + +tbd. + +### VES Domain "sipSignaling", + +tbd. + +### VES Domain "stateChange", + +tbd. + +### VES Domain "stndDefined", + +tbd. + +### VES Domain "syslog", + +tbd. + +### VES Domain "thresholdCrossingAlert", + +tbd. + +### VES Domain "voiceQuality" + +tbd. diff --git a/solution/dev/ves-test-collector/client-scripts-ves-v7/__pycache__/globalVesEventEmitter.cpython-38.pyc b/solution/dev/ves-test-collector/client-scripts-ves-v7/__pycache__/globalVesEventEmitter.cpython-38.pyc new file mode 100644 index 0000000000000000000000000000000000000000..02f9dbaca303f0dd8681708a33b6a0fbc7ed75b1 GIT binary patch literal 1092 zcmYjPOK%)S5U!rr&c5u8*6galR~2{?0E+S9%EtY@Z&?pnvY z+U4S0que>|9ua?l-_lo3`~^-_&k`wJ>Z+;7^!IgDzv%ZnKc}emEj)#nPP938@A;3O}oqbqE z*jq+7?Co&X!dvUTWvfBhbqM!i`v-pD_}?L()1erU+2 zQ0e(%Cz%>mCGwh=bsB_=i^29tlyo9TX_7^F=s;|6ro{aD$g{1QYdXZ(SYGD_$Lex)+s1;59h8k` zm{sbP^^~zeO_R1QqEvB8#ai;B3B}{_BroK6Y$KzxONq91F43{JeqNyt=^@y5Zq!8S zlA{e&Es4UM6WO-m6FDvv7q$bnx!_Pl)7+qs}IOfc}Jz_;;FIs8S|Eme*f#^F_kz z+9ak_iQ;8qR58PxMk3@@awW|Hbr26SRTRy{lB~!H{lH{8uhAU1imNY^^Fp2R;wNd2 z-E@x298v1SdTzValy9pXzv0O561e%46tE5(dI5_`dL%@)r+I4E^)E!c8jCfJxXHA=$>gIm$DF