Integrate an NRCellDU into the topology 88/13488/1
authorMartin Skorupski <martin.skorupski@highstreet-technologies.com>
Mon, 30 Sep 2024 11:21:39 +0000 (13:21 +0200)
committerMartin Skorupski <martin.skorupski@highstreet-technologies.com>
Mon, 30 Sep 2024 11:21:39 +0000 (13:21 +0200)
- add a network paremater to O-RAN nodes

Issue-ID: OAM-418
Change-Id: I2491bffedd7f4ca4312af20c46363ebb1e1ca06d
Signed-off-by: Martin Skorupski <martin.skorupski@highstreet-technologies.com>
code/network-generator/network_generation/model/python/o_ran_node.py

index 0dc9618..8ad877b 100644 (file)
@@ -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