Integrate an NRCellDU into the topology 89/13489/1
authorMartin Skorupski <martin.skorupski@highstreet-technologies.com>
Mon, 30 Sep 2024 11:22:21 +0000 (13:22 +0200)
committerMartin Skorupski <martin.skorupski@highstreet-technologies.com>
Mon, 30 Sep 2024 11:22:21 +0000 (13:22 +0200)
- add cell tps to O-RU

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

index b077f47..5d88401 100644 (file)
@@ -45,7 +45,7 @@ default_value: IORanRu = cast(
 # Define an abstract O-RAN Node class
 class ORanRu(ORanNode):
 
-    _interfaces = ["ofhc", "ofhu", "ofhs", "ofhm"]
+    _interfaces = ["ofhc", "ofhu", "ofhs", "ofhm", "cell"]
 
     def __init__(
         self,
@@ -94,8 +94,7 @@ class ORanRu(ORanNode):
         result: list[NrCellDu] = []
         cell_config: dict = (
             self.parent.parent.parent.parent.parent.parent.configuration[
-                "pattern"
-            ]["nrCellDu"]
+                "pattern"]["nrCellDu"]
         )
         cell_angle: int = cell_config["cellAngle"]
         cell_scale_factor: int = cell_config["cellScaleFactorForHandoverArea"]