Code Review
/
o-du
/
l2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Revert "[Epic-ID: ODUHIGH-516][Task-ID: ODUHIGH-530] RIC Subscription Delete Req"
[o-du/l2.git]
/
src
/
o1
/
ves
/
CellStateChangeStdDef.hpp
diff --git
a/src/o1/ves/CellStateChangeStdDef.hpp
b/src/o1/ves/CellStateChangeStdDef.hpp
old mode 100755
(executable)
new mode 100644
(file)
index
fe83e50
..
128f3da
--- a/
src/o1/ves/CellStateChangeStdDef.hpp
+++ b/
src/o1/ves/CellStateChangeStdDef.hpp
@@
-28,6
+28,7
@@
#include "AlarmManager.hpp"
#include "Message.hpp"
#include "Notification.hpp"
#include "AlarmManager.hpp"
#include "Message.hpp"
#include "Notification.hpp"
+#include "VesUtils.hpp"
using namespace std;
using namespace std;
@@
-36,18
+37,13
@@
using namespace std;
#define URI "1"
#define NOTIFICATION_ID 1.0
#define NOTIFICATION_TYPE "notifyNewAlarm"
#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 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 ALRAM_TYPE "COMMUNICATIONS_ALARM"
-#define STND_DEFINED_FEILD_VERSION "1.0"
-#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
class CellStateChangeStdDef : public Notification
@@
-58,6
+54,7
@@
class CellStateChangeStdDef : public Notification
~CellStateChangeStdDef();
std::string getISOEventTime();
~CellStateChangeStdDef();
std::string getISOEventTime();
+ std::string getEventSeverity(int severity);;
protected:
bool prepareEventFields(const Message* msg = NULL);
protected:
bool prepareEventFields(const Message* msg = NULL);