X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fo1%2Fves%2FCellStateChangeStdDef.hpp;h=128f3da7517d78ea2338d2f018d18063f3b64ee6;hb=439dd512e776a079d5f781bfceebff416cbdfabc;hp=cfd6ad87e2012db03e468cf854fd5c4f3f1fbb95;hpb=20b5a9e8370730a5587d218910d2c19f8cfb1ea9;p=o-du%2Fl2.git diff --git a/src/o1/ves/CellStateChangeStdDef.hpp b/src/o1/ves/CellStateChangeStdDef.hpp index cfd6ad87e..128f3da75 100644 --- a/src/o1/ves/CellStateChangeStdDef.hpp +++ b/src/o1/ves/CellStateChangeStdDef.hpp @@ -37,17 +37,13 @@ using namespace std; #define URI "1" #define NOTIFICATION_ID 1.0 #define NOTIFICATION_TYPE "notifyNewAlarm" -#define PROBABLE_CAUSE "real-issue" +#define PROBABLE_CAUSE "device-issue" #define TRND_INDICATION "MORE_SEVERE" #define OBSRVED_MEASUREMENT "new" #define OBSERVED_VALUE 123.2 #define NEW_ATT "new" -#define ADD_INFO "new" -#define ALARM_ID "1" #define ALRAM_TYPE "COMMUNICATIONS_ALARM" -#define PERCEIVED_SEVERITY "INDETERMINATE" -#define PROPOSED_REPAIR_ACTION "Call the police!" -#define ADDITIONAL_TEXT "O-RAN Software Community" +#define PROPOSED_REPAIR_ACTION "Config change" class CellStateChangeStdDef : public Notification @@ -58,6 +54,7 @@ class CellStateChangeStdDef : public Notification ~CellStateChangeStdDef(); std::string getISOEventTime(); + std::string getEventSeverity(int severity);; protected: bool prepareEventFields(const Message* msg = NULL);