Fix YANG feature installation.
[sim/o1-interface.git] / ntsimulator / deploy / o-ran-ru-fh / config.json
index 818320d..b007097 100644 (file)
@@ -1,7 +1,11 @@
 {
     "container-rules": {
-        "excluded-modules": [],
-        "excluded-features": []
+        "excluded-modules": [
+            "o-ran-antenna-calibration"
+        ],
+        "excluded-features": [
+            "o-ran-wg4-features:SUPERVISION-WITH-SESSION-ID"
+        ]
     },
 
     "supervisor-rules": {
@@ -12,7 +16,7 @@
             "stdout": "log/netopeer-stdout.log",
             "stderr": "log/netopeer-stderr.log"
         },
-    
+
         "sshd": {
             "path": "/usr/sbin/sshd",
             "args": ["-D"],
@@ -20,7 +24,7 @@
             "stdout": "log/sshd-stdout.log",
             "stderr": "log/sshd-stderr.log"
         },
-    
+
         "ntsim-network-function": {
             "path": "/opt/dev/ntsim-ng/ntsim-ng",
             "args": ["-w/opt/dev/ntsim-ng", "-f"],
@@ -53,7 +57,7 @@
             "o-ran-shared-cell",
             "nts-network-function"
         ],
-        
+
         "default-list-instances": 2,
         "custom-list-instances" : [
             {"/ietf-interfaces:interfaces/interface": 4}
         "random-generation-enabled": true,
 
         "pre-generated-operational-data": [
-            "../deploy/data/ietf-hardware-operational.json"
+            "../deploy/data/ietf-hardware-operational.json",
+            "../deploy/data/ietf-interfaces-operational.xml"
         ],
         "pre-generated-running-data": [
-            "../deploy/data/ietf-hardware-running.json"
+            "../deploy/data/ietf-hardware-running.json",
+            "../deploy/data/ietf-interfaces-running.xml"
         ]
     },
 
     "fault-rules" : {
-        "yang-notif-template" : "<alarm-notif xmlns=\"urn:o-ran:fm:1.0\"><fault-id>$$uint16_counter$$</fault-id><fault-source>%%object%%</fault-source><affected-objects><name>%%affected-object%%</name></affected-objects><fault-severity>%%fault-severity%%</fault-severity><is-cleared>%%cleared%%</is-cleared><fault-text>%%text%%</fault-text><event-time>%%date-time%%</event-time></alarm-notif>",
+        "yang-notif-template" : "<alarm-notif xmlns=\"urn:o-ran:fm:1.0\"><fault-id>%%fault-id%%</fault-id><fault-source>%%object%%</fault-source><affected-objects><name>%%affected-object%%</name></affected-objects><fault-severity>%%fault-severity%%</fault-severity><is-cleared>%%cleared%%</is-cleared><fault-text>%%text%%</fault-text><event-time>%%date-time%%</event-time></alarm-notif>",
         "choosing-method" : "linear",
         "faults" : [
             {
-                "condition" : "CPRI Port Down",
-                "object"    : "Slot-0-Port-A",
-                "severity"  : "MAJOR",
-                "date-time" : "$$time$$",
-                "specific-problem" : "CPRI Port Down",
-
-                "fault-severity" : "MAJOR",
-                "affected-object" : "%%object%%",
-                "cleared" : "false",
-                "text" : "CPRI Port Down"
-            },
-
-            {
-                "condition" : "CPRI Port Down",
-                "object"    : "Slot-0-Port-A",
-                "severity"  : "NORMAL",
-                "date-time" : "$$time$$",
-                "specific-problem" : "CPRI Port Down",
-
-                "fault-severity" : "MAJOR",
-                "affected-object" : "%%object%%",
-                "cleared" : "true",
-                "text" : "CPRI Port Down"
-            },
-
-            {
-                "condition" : "CPRI Port Down",
-                "object"    : "Slot-0-Port-C",
+                "condition" : "Interface Fault",
+                "object"    : "interface-1",
                 "severity"  : "MAJOR",
                 "date-time" : "$$time$$",
-                "specific-problem" : "CPRI Port Down",
+                "specific-problem" : "Interface Fault",
 
+                "fault-id": "30",
                 "fault-severity" : "MAJOR",
-                "affected-object" : "%%object%%",
+                "affected-object" : "$$hostname$$",
                 "cleared" : "false",
-                "text" : "CPRI Port Down"
+                "text" : "Interface Fault"
             },
 
             {
-                "condition" : "CPRI Port Down",
-                "object"    : "Slot-0-Port-C",
+                "condition" : "Interface Fault",
+                "object"    : "interface-1",
                 "severity"  : "NORMAL",
                 "date-time" : "$$time$$",
-                "specific-problem" : "CPRI Port Down",
+                "specific-problem" : "Interface Fault",
 
+                "fault-id": "30",
                 "fault-severity" : "MAJOR",
-                "affected-object" : "%%object%%",
+                "affected-object" : "$$hostname$$",
                 "cleared" : "true",
-                "text" : "CPRI Port Down"
+                "text" : "Interface Fault"
             },
 
             {
-                "condition" : "CPRI Port Down",
-                "object"    : "Slot-2-Port-B",
+                "condition" : "C/U-plane logical Connection faulty",
+                "object"    : "interface-1",
                 "severity"  : "MAJOR",
                 "date-time" : "$$time$$",
-                "specific-problem" : "CPRI Port Down",
+                "specific-problem" : "C/U-plane logical Connection faulty",
 
+                "fault-id": "28",
                 "fault-severity" : "MAJOR",
-                "affected-object" : "%%object%%",
+                "affected-object" : "$$hostname$$",
                 "cleared" : "false",
-                "text" : "CPRI Port Down"
+                "text" : "C/U-plane logical Connection faulty"
             },
 
             {
-                "condition" : "CPRI Port Down",
-                "object"    : "Slot-2-Port-B",
+                "condition" : "C/U-plane logical Connection faulty",
+                "object"    : "interface-1",
                 "severity"  : "NORMAL",
                 "date-time" : "$$time$$",
-                "specific-problem" : "CPRI Port Down",
+                "specific-problem" : "C/U-plane logical Connection faulty",
 
+                "fault-id": "28",
                 "fault-severity" : "MAJOR",
-                "affected-object" : "%%object%%",
+                "affected-object" : "$$hostname$$",
                 "cleared" : "true",
-                "text" : "CPRI Port Down"
+                "text" : "C/U-plane logical Connection faulty"
             }
         ]
     }
-}
\ No newline at end of file
+}