X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=code%2Fnetwork-topology-instance-generator%2Fmodel%2Fpython%2Ftapi_node_o_cu_cp.py;h=56925d02269a33355dd1aa03ddc6ef9cb403bc89;hb=refs%2Fchanges%2F11%2F12011%2F1;hp=c0525ee10b0255773320c5ff48f6ea0ae7bef792;hpb=ccd620f1b22d753dff16bc4c385f9d6182c8b45d;p=oam.git diff --git a/code/network-topology-instance-generator/model/python/tapi_node_o_cu_cp.py b/code/network-topology-instance-generator/model/python/tapi_node_o_cu_cp.py index c0525ee..56925d0 100644 --- a/code/network-topology-instance-generator/model/python/tapi_node_o_cu_cp.py +++ b/code/network-topology-instance-generator/model/python/tapi_node_o_cu_cp.py @@ -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 @@ -33,7 +33,16 @@ class TapiNodeOCuCp(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 N2 Consumer interface + nep_configuration = { + "parent": self.identifier(), + "nodeEdgePoint": { + "interface": "n2", "cep":[{"protocol": "NAS", "role": "consumer"}] } } self.add(TapiNodeEdgePoint(nep_configuration))