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=5eff7c9f70af5981c94f82adb92cdb56948f73e9;hb=b65e0aa5c87d75ce7a9d48e7aafaf9895761fd63;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..5eff7c9 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 @@ -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(),