X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fo1%2Fves%2FVesUtils.hpp;h=89f9689c0c4a7dd9443d2139a3b6690c01741e57;hb=77ebb9517e783aeaf8906360fd3aa9faec00fbab;hp=c9da3fff04f5cc421c83e123f415be9b26337833;hpb=e850787b10d1f3882e2501e0eef12737b12d078f;p=o-du%2Fl2.git diff --git a/src/o1/ves/VesUtils.hpp b/src/o1/ves/VesUtils.hpp index c9da3fff0..89f9689c0 100644 --- a/src/o1/ves/VesUtils.hpp +++ b/src/o1/ves/VesUtils.hpp @@ -24,12 +24,16 @@ #include #include "GlobalDefs.hpp" +//#define StdDef //config file path #define NETCONF_CONFIG "config/netconfConfig.json" #define OAM_VES_CONFIG "config/oamVesConfig.json" #define SMO_VES_CONFIG "config/smoVesConfig.json" //Common Header Macros +#define FAULT_STND_DEFINED_NAMESPACE "3GPP-FaultSupervision" +#define COMMON_HEADER_VERSION "4.0.1" +#define VES_EVENT_LISNERT_VERSION "7.2.1" //Event Type #define EVENT_TYPE_5G "EventType5G" @@ -42,17 +46,15 @@ //Source Name #define ODU_HIGH "ODU-High" +#define SOURCE_ID "device_id_cc305d54-75b4-431b-adb2-eb6b9e541234" -//Naming Code +//Naming Code #define NAMING_CODE_ODU "7odu" +#define NFC_NAMING_CODE "NFC" //Timezone Offset #define TIME_ZONE_00_00 "+00:00" -//version -#define VERSION_4_0_1 "4.0.1" -#define VERSION_4_1 "4.1" - //Ves Event Listener Version #define VES_EVENT_LISTENER_7_2_1 "7.2.1" @@ -78,11 +80,23 @@ // PM_SLICE Macros #define PM_EVENT_ID "_1634181300_PM1min" +#define SLICE_EVENTID "pm1_1638984365" #define PM_REPORTING_ENTITY "ORAN-DEV" #define EVENT_TYPE_ORAN_COMPONENT_PM "O_RAN_COMPONENT_PM1min" +#define PM_SLICE_EVENT_TYPE "performanceMeasurementStreaming" +#define PM_SLICE_EVENT_NAME "stndDefined_performanceMeasurementStreaming" +#define PM_SLICE_STND_DEFINED_NAMESPACE "o-ran-sc-du-hello-world-pm-streaming-oas3" + +//NOTIFICATION Macros +#define FAULT_EVENTID "Alarm000000001" +#define FAULT_TYPE "alarm" +#define FAULT_EVENT_NAME "COMMUNICATIONS_ALARM" + +//STND DEFINED Macros +#define STND_DEFINED_FEILD_VERSION "1.0" enum class VesEventType -{ +{ PNF_REGISTRATION, FAULT_NOTIFICATION, PM_NOTIFICATION,