ADD N1, N2 N3 interfacing to topology generation 00/7900/1
authordemx8as6 <martin.skorupski@highstreet-technologies.com>
Sun, 6 Mar 2022 13:21:20 +0000 (14:21 +0100)
committerdemx8as6 <martin.skorupski@highstreet-technologies.com>
Sun, 6 Mar 2022 13:35:03 +0000 (14:35 +0100)
- Support of N2 NEP by O-CU-CP
- Support of N3 NEP by O-CU-UP
- typo corrections

Issue-Id: OAM-256
Change-Id: I652b12a579b31f2fec3384a782279ef92e7cdf08
Signed-off-by: demx8as6 <martin.skorupski@highstreet-technologies.com>
code/network-topology-instance-generator/model/python/tapi_node_fronthaul_gateway.py
code/network-topology-instance-generator/model/python/tapi_node_o_cu_cp.py
code/network-topology-instance-generator/model/python/tapi_node_o_cu_up.py
code/network-topology-instance-generator/model/python/tapi_node_o_du.py
code/network-topology-instance-generator/model/python/tapi_node_o_ru.py

index ca2e4a6..6d82c57 100644 (file)
@@ -22,7 +22,7 @@ from model.python.tapi_node_edge_point import TapiNodeEdgePoint
 
 class TapiNodeFronthaulGateway(TapiNode):
     """
-    Class representing a O-RAN Fronthaul Gateway as TAPI Node.
+    Class representing an O-RAN Fronthaul Gateway as TAPI Node.
     """
 
     # constructor
index c0525ee..5eff7c9 100644 (file)
@@ -22,7 +22,7 @@ from model.python.tapi_node_edge_point import TapiNodeEdgePoint
 
 class TapiNodeOCuCp(TapiNode):
     """
-    Class representing a O-RAN Centralized Unit as TAPI Node.
+    Class representing an O-RAN Centralized Unit as TAPI Node.
     """
     # constructor
 
@@ -38,6 +38,15 @@ class TapiNodeOCuCp(TapiNode):
         }
         self.add(TapiNodeEdgePoint(nep_configuration))
 
+        # add N2 Consumer interface
+        nep_configuration = {
+            "parent": self.identifier(),
+            "nodeEdgePoint": {
+                "interface": "n2", "cep":[{"protocol": "NAS", "role": "consumer"}]
+            }
+        }
+        self.add(TapiNodeEdgePoint(nep_configuration))
+
         # add O1/OAM NetConf Provider interface
         nep_configuration = {
             "parent": self.identifier(),
index 81d781e..4086fac 100644 (file)
@@ -22,7 +22,7 @@ from model.python.tapi_node_edge_point import TapiNodeEdgePoint
 
 class TapiNodeOCuUp(TapiNode):
     """
-    Class representing a O-RAN Centralized Unit as TAPI Node.
+    Class representing an O-RAN Centralized Unit as TAPI Node.
     """
     # constructor
 
@@ -38,6 +38,15 @@ class TapiNodeOCuUp(TapiNode):
         }
         self.add(TapiNodeEdgePoint(nep_configuration))
 
+        # add N3 Consumer interface
+        nep_configuration = {
+            "parent": self.identifier(),
+            "nodeEdgePoint": {
+                "interface": "n3", "cep":[{"protocol": "NAS", "role": "consumer"}]
+            }
+        }
+        self.add(TapiNodeEdgePoint(nep_configuration))
+
         # add O1/OAM NetConf Provider interface
         nep_configuration = {
             "parent": self.identifier(),
index d458ed1..f544409 100644 (file)
@@ -22,7 +22,7 @@ from model.python.tapi_node_edge_point import TapiNodeEdgePoint
 
 class TapiNodeODu(TapiNode):
     """
-    Class representing a O-RAN Distributed Unit as TAPI Node.
+    Class representing an O-RAN Distributed Unit as TAPI Node.
     """
     # constructor
 
index d5993fc..3551785 100644 (file)
@@ -22,7 +22,7 @@ from model.python.tapi_node_edge_point import TapiNodeEdgePoint
 
 class TapiNodeORu(TapiNode):
     """
-    Class representing a O-RAN Radio Unit as TAPI Node.
+    Class representing an O-RAN Radio Unit as TAPI Node.
     """
 
     # constructor
@@ -44,7 +44,7 @@ class TapiNodeORu(TapiNode):
         nep_configuration = {
             "parent": self.identifier(),
             "nodeEdgePoint": {
-                "interface": "uu", "cep":[{"protocol": "unknown", "role": "provider"}]
+                "interface": "uu", "cep":[{"protocol": "radio", "role": "provider"}]
             }
         }
         self.add(TapiNodeEdgePoint(nep_configuration))