X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fo1%2Fves%2FVesUtils.hpp;fp=src%2Fo1%2Fves%2FVesUtils.hpp;h=84df3bda8e49e1b2cc44755bfb43f0766584d04d;hb=0a4589de6e89782d734930a2a7648d5921b176d8;hp=c9da3fff04f5cc421c83e123f415be9b26337833;hpb=c9ee9d5360e8cad2cb2f807f5ebfabe9304d88c4;p=o-du%2Fl2.git diff --git a/src/o1/ves/VesUtils.hpp b/src/o1/ves/VesUtils.hpp index c9da3fff0..84df3bda8 100644 --- a/src/o1/ves/VesUtils.hpp +++ b/src/o1/ves/VesUtils.hpp @@ -24,12 +24,16 @@ #include #include "GlobalDefs.hpp" +#define StdDef 1 //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 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,9 +46,11 @@ //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" @@ -81,8 +87,13 @@ #define PM_REPORTING_ENTITY "ORAN-DEV" #define EVENT_TYPE_ORAN_COMPONENT_PM "O_RAN_COMPONENT_PM1min" +//NOTIFICATION Macros +#define FAULT_EVENTID "Alarm000000001" +#define FAULT_TYPE "alarm" +#define FAULT_EVENT_NAME "COMMUNICATIONS_ALARM" + enum class VesEventType -{ +{ PNF_REGISTRATION, FAULT_NOTIFICATION, PM_NOTIFICATION,