Correct E2 protocol
[oam.git] / code / network-topology-instance-generator / model / python / tapi_node_o_cu_up.py
index 81d781e..b42d494 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
 
@@ -33,7 +33,16 @@ class TapiNodeOCuUp(TapiNode):
         nep_configuration = {
             "parent": self.identifier(),
             "nodeEdgePoint": {
-                "interface": "e2", "cep":[{"protocol": "REST", "role": "provider"}]
+                "interface": "e2", "cep":[{"protocol": "SCTP", "role": "provider"}]
+            }
+        }
+        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))