Late updates on integration deployment 08/7308/1
authordemx8as6 <martin.skorupski@highstreet-technologies.com>
Fri, 10 Dec 2021 09:14:48 +0000 (10:14 +0100)
committerdemx8as6 <martin.skorupski@highstreet-technologies.com>
Fri, 10 Dec 2021 09:15:48 +0000 (10:15 +0100)
- ntsim updates config updates for "hello-world"

IssueID: OAM-240
Change-Id: Ibe067c4f1a341e67e0be62ab2d7aa84c706d6ed1
Signed-off-by: demx8as6 <martin.skorupski@highstreet-technologies.com>
solution/integration/network/ntsim-ng-o-du/config.json

index 299a6cf..3151184 100644 (file)
             "stderr": "log/netopeer-stderr.log"
         },
     
+        "sshd": {
+            "path": "/usr/sbin/sshd",
+            "args": ["-D"],
+            "autorestart": true,
+            "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"],
             "ietf-truststore",
             "ietf-system",
             "ietf-netconf-server",
-            "nts-network-function"
+            "nts-network-function",
+            "o-ran-sc-du-hello-world"
         ],
         
-        "default-list-instances": 2,
+        "default-list-instances": 1,
         "custom-list-instances" : []
     },
 
     "datastore-populate-rules": {
-        "random-generation-enabled": true,
+        "random-generation-enabled": false,
 
         "pre-generated-operational-data": [
-            "/opt/dev/deploy/data/o-ran-sc-du-hello-world-operational.xml"
+            "../deploy/data/o-ran-sc-du-hello-world-operational.xml"
         ],
         "pre-generated-running-data": [
-            "/opt/dev/deploy/data/o-ran-sc-du-hello-world-running.xml"
+            "../deploy/data/o-ran-sc-du-hello-world-running.xml"
         ]
     },
 
         "choosing-method" : "linear",
         "faults" : [
             {
-                "condition" : "O-RU Port Down",
-                "object"    : "/o-ran-sc-du-hello-world:network-function/du-to-ru-connection[name='highstreet-O-RU-11221']",
-                "severity"  : "CRITICAL",
+                "condition" : "CPRI Port Down",
+                "object"    : "Slot-0-Port-A",
+                "severity"  : "MAJOR",
                 "date-time" : "$$time$$",
-                "specific-problem" : "O-RU Port Down",
+                "specific-problem" : "CPRI Port Down",
 
-                "fault-severity" : "CRITICAL",
+                "fault-severity" : "MAJOR",
                 "affected-object" : "%%object%%",
                 "cleared" : "false",
-                "text" : "O-RU Port Down"
+                "text" : "CPRI Port Down"
             },
 
             {
-                "condition" : "O-RU Port Down",
-                "object"    : "/o-ran-sc-du-hello-world:network-function/du-to-ru-connection[name='highstreet-O-RU-11221']",
+                "condition" : "CPRI Port Down",
+                "object"    : "Slot-0-Port-A",
                 "severity"  : "NORMAL",
                 "date-time" : "$$time$$",
-                "specific-problem" : "O-RU Port Down",
+                "specific-problem" : "CPRI Port Down",
 
-                "fault-severity" : "CRITICAL",
+                "fault-severity" : "MAJOR",
                 "affected-object" : "%%object%%",
                 "cleared" : "true",
-                "text" : "O-RU Port Down"
+                "text" : "CPRI Port Down"
             },
 
             {
-                "condition" : "O-RU Port Down",
-                "object"    : "/o-ran-sc-du-hello-world:network-function/du-to-ru-connection[name='highstreet-O-RU-11222']",
-                "severity"  : "CRITICAL",
+                "condition" : "CPRI Port Down",
+                "object"    : "Slot-0-Port-C",
+                "severity"  : "MAJOR",
                 "date-time" : "$$time$$",
-                "specific-problem" : "O-RU Port Down",
+                "specific-problem" : "CPRI Port Down",
 
-                "fault-severity" : "CRITICAL",
+                "fault-severity" : "MAJOR",
                 "affected-object" : "%%object%%",
                 "cleared" : "false",
-                "text" : "O-RU Port Down"
+                "text" : "CPRI Port Down"
             },
 
             {
-                "condition" : "O-RU Port Down",
-                "object"    : "/o-ran-sc-du-hello-world:network-function/du-to-ru-connection[name='highstreet-O-RU-11222']",
+                "condition" : "CPRI Port Down",
+                "object"    : "Slot-0-Port-C",
                 "severity"  : "NORMAL",
                 "date-time" : "$$time$$",
-                "specific-problem" : "O-RU Port Down",
+                "specific-problem" : "CPRI Port Down",
 
-                "fault-severity" : "CRITICAL",
+                "fault-severity" : "MAJOR",
                 "affected-object" : "%%object%%",
                 "cleared" : "true",
-                "text" : "O-RU Port Down"
+                "text" : "CPRI Port Down"
             },
 
             {
-                "condition" : "O-RU Port Down",
-                "object"    : "/o-ran-sc-du-hello-world:network-function/du-to-ru-connection[name='highstreet-O-RU-11223']",
-                "severity"  : "CRITICAL",
+                "condition" : "CPRI Port Down",
+                "object"    : "Slot-2-Port-B",
+                "severity"  : "MAJOR",
                 "date-time" : "$$time$$",
-                "specific-problem" : "O-RU Port Down",
+                "specific-problem" : "CPRI Port Down",
 
-                "fault-severity" : "CRITICAL",
+                "fault-severity" : "MAJOR",
                 "affected-object" : "%%object%%",
                 "cleared" : "false",
-                "text" : "O-RU Port Down"
+                "text" : "CPRI Port Down"
             },
 
             {
-                "condition" : "O-RU Port Down",
-                "object"    : "/o-ran-sc-du-hello-world:network-function/du-to-ru-connection[name='highstreet-O-RU-11223']",
+                "condition" : "CPRI Port Down",
+                "object"    : "Slot-2-Port-B",
                 "severity"  : "NORMAL",
                 "date-time" : "$$time$$",
-                "specific-problem" : "O-RU Port Down",
+                "specific-problem" : "CPRI Port Down",
 
-                "fault-severity" : "CRITICAL",
+                "fault-severity" : "MAJOR",
                 "affected-object" : "%%object%%",
                 "cleared" : "true",
-                "text" : "O-RU Port Down"
+                "text" : "CPRI Port Down"
             }
         ]
     }