X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fo1%2Fves%2FCellStateChange.hpp;fp=src%2Fo1%2Fves%2FCellStateChange.hpp;h=00a396375d381fd818e5f955ea4c56e7712d7f48;hb=439dd512e776a079d5f781bfceebff416cbdfabc;hp=071f54056cab7c746b599fccac734c576958a146;hpb=20b5a9e8370730a5587d218910d2c19f8cfb1ea9;p=o-du%2Fl2.git diff --git a/src/o1/ves/CellStateChange.hpp b/src/o1/ves/CellStateChange.hpp index 071f54056..00a396375 100644 --- a/src/o1/ves/CellStateChange.hpp +++ b/src/o1/ves/CellStateChange.hpp @@ -33,12 +33,7 @@ using namespace std; //macros #define FAULT_FIELDS_VERSION "4.0" -#define ALARM_CONDITION "CELL Down" #define ALARM_INTERFACE_A "Slot-0-CELL-1" -#define EVENT_SOURCE_TYPE "O_RAN_COMPONENT" -#define SPECIFIC_PROBLEM "CELL 1 Down" -#define EVENT_SEVERITY "MAJOR" -#define VF_STATUS "Active" #define EQUIP_TYPE "O-RAN-DU" #define VENDOR "Melacon" #define MODEL "ODU Device" @@ -51,6 +46,7 @@ class CellStateChange : public Notification ~CellStateChange(); std::string getISOEventTime(); + std::string getEventSeverity(int severity); protected: bool prepareEventFields(const Message* msg = NULL);