ADD N1, N2 N3 interfacing to topology generation
[oam.git] / code / network-topology-instance-generator / model / python / tapi_node_o_cu_up.py
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(),