Modifying Alarm values 62/6662/2
authormanoj1 <manoj.1.manoj@nokia.com>
Mon, 13 Sep 2021 09:05:19 +0000 (05:05 -0400)
committerManoj Manoj <manoj.1.manoj@nokia.com>
Mon, 13 Sep 2021 12:46:31 +0000 (12:46 +0000)
Change-Id: I85cf35902d6dc27789daeabb848da4eb8000978f
Signed-off-by: manoj1 <manoj.1.manoj@nokia.com>
alarm/types.go
definitions/alarm-definition.json

index 3f55aed..b61f436 100755 (executable)
@@ -91,12 +91,9 @@ const (
 
 // Temp alarm constants & definitions
 const (
-       RIC_RT_DISTRIBUTION_FAILED         int = 8004
-       TCP_CONNECTIVITY_LOST_TO_DBAAS     int = 8005
-       E2_CONNECTIVITY_LOST_TO_GNODEB     int = 8006
-       E2_CONNECTIVITY_LOST_TO_ENODEB     int = 8007
-       ACTIVE_ALARM_EXCEED_MAX_THRESHOLD  int = 8008
-       ALARM_HISTORY_EXCEED_MAX_THRESHOLD int = 8009
+       E2_CONNECTION_PROBLEM     int = 72004
+       ACTIVE_ALARM_EXCEED_MAX_THRESHOLD  int = 72007
+       ALARM_HISTORY_EXCEED_MAX_THRESHOLD int = 72008
 )
 
 type AlarmDefinition struct {
index f9c32d7..40d597e 100755 (executable)
@@ -1,35 +1,8 @@
 {
     "alarmdefinitions" : [
         {
-            "alarmId" : 8004,
-            "alarmText" : "RIC ROUTING TABLE DISTRIBUTION FAILED",
-            "eventType" : "processingError",
-            "operationInstructions" : "Not defined",
-            "raiseDelay" : 0,
-            "clearDelay" : 0,
-            "timeToLive" : 0
-        },
-        {
-            "alarmId" : 8005,
-            "alarmText" : "TCP CONNECTIVITY LOST TO DBAAS",
-            "eventType" : "communication",
-            "operationInstructions" : "Not defined",
-            "raiseDelay" : 0,
-            "clearDelay" : 0,
-            "timeToLive" : 0
-        },
-        {
-            "alarmId" : 8006,
-            "alarmText" : "E2 CONNECTIVITY LOST TO G-NODEB",
-            "eventType" : "communication",
-            "operationInstructions" : "Not defined",
-            "raiseDelay" : 0,
-            "clearDelay" : 0,
-            "timeToLive" : 0
-        },
-        {
-            "alarmId" : 8007,
-            "alarmText" : "E2 CONNECTIVITY LOST TO E-NODEB",
+            "alarmId" : 72004,
+            "alarmText" : "E2 CONNECTION PROBLEM",
             "eventType" : "communication",
             "operationInstructions" : "Not defined",
             "raiseDelay" : 0,
@@ -37,7 +10,7 @@
             "timeToLive" : 0
         },
         {
-            "alarmId" : 8008,
+            "alarmId" : 72007,
             "alarmText" : "ACTIVE ALARM EXCEED MAX THRESHOLD",
             "eventType" : "equipment",
             "operationInstructions" : "Clear alarms or raise threshold",
@@ -46,7 +19,7 @@
             "timeToLive" : 0
         },
         {
-            "alarmId" : 8009,
+            "alarmId" : 72008,
             "alarmText" : "ALARM HISTORY EXCEED MAX THRESHOLD",
             "eventType" : "equipment",
             "operationInstructions" : "Clear alarms or raise threshold",