From c967c0cec2d9ddd497fbe39624d68a9724c0316c Mon Sep 17 00:00:00 2001 From: Martin Skorupski Date: Mon, 30 Sep 2024 13:21:39 +0200 Subject: [PATCH] Integrate an NRCellDU into the topology - add a network paremater to O-RAN nodes Issue-ID: OAM-418 Change-Id: I2491bffedd7f4ca4312af20c46363ebb1e1ca06d Signed-off-by: Martin Skorupski --- .../network_generation/model/python/o_ran_node.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/code/network-generator/network_generation/model/python/o_ran_node.py b/code/network-generator/network_generation/model/python/o_ran_node.py index 0dc9618..8ad877b 100644 --- a/code/network-generator/network_generation/model/python/o_ran_node.py +++ b/code/network-generator/network_generation/model/python/o_ran_node.py @@ -208,7 +208,8 @@ class ORanNode(ORanObject): phy_tp: str = "-".join([self.name, "phy".upper()]) result.append(ORanTerminationPoint({ "name": phy_tp, - "type": "o-ran-sc-network:phy" + "type": "o-ran-sc-network:phy", + "network": self.network })) for interface in logical_interfaces: id: str = "-".join([self.name, interface.upper()]) @@ -219,7 +220,9 @@ class ORanNode(ORanObject): "network-ref": self.network.id, "node-ref": self.name, "tp-ref": phy_tp, - }})) + }, + "network": self.network + })) return result @abstractmethod -- 2.16.6