X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fo1%2Fves%2FVesUtils.hpp;h=89f9689c0c4a7dd9443d2139a3b6690c01741e57;hb=e596baac85d7993d92b3077ddc1b99af14b5e8a6;hp=a86d72bb320205a30bff847efdc56ecebd317e67;hpb=093afd2e854d73d697233396fb9c74ed67bdd615;p=o-du%2Fl2.git diff --git a/src/o1/ves/VesUtils.hpp b/src/o1/ves/VesUtils.hpp index a86d72bb3..89f9689c0 100644 --- a/src/o1/ves/VesUtils.hpp +++ b/src/o1/ves/VesUtils.hpp @@ -24,15 +24,20 @@ #include #include "GlobalDefs.hpp" +//#define StdDef //config file path #define NETCONF_CONFIG "config/netconfConfig.json" -#define VES_CONFIG "config/vesConfig.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" -#define EVENT_TYPE_ORAN_COMPONENET "O_RAN_COMPONENT" +#define EVENT_TYPE_ORAN_COMPONENT "O_RAN_COMPONENT" #define EVENT_TYPE_CONTROLLER "Controller" //Priority @@ -41,21 +46,18 @@ //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" - //Ves Event Listener Version #define VES_EVENT_LISTENER_7_2_1 "7.2.1" - - //PNF Registration Macros #define PNF_REGISTRATION_VERSION_2_1 "2.1" #define SOFTWARE_VERSION_2_3_5 "2.3.5" @@ -76,16 +78,41 @@ #define BETWEEN_ATTEMPTS_TIMEOUT_2000 "2000" #define KEEPALIVE_DELAY_120 "120" +// 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, - HEARTBEAT + HEARTBEAT, + PM_SLICE +}; + +enum class MessageType +{ + ALARM, + PERF_DATA, }; #endif + /********************************************************************** End of file **********************************************************************/