+ @property
+ def termination_points(self) -> list[ORanTerminationPoint]:
+ result: list[ORanTerminationPoint] = super().termination_points
+ phy_tp: str = "-".join([self.name, "phy".upper()])
+ result.append(ORanTerminationPoint({"id": phy_tp, "name": phy_tp}))
+ for interface in ["o2"]:
+ id:str = "-".join([self.name, interface.upper()])
+ result.append(ORanTerminationPoint({"id": id, "name":id, "supporter": phy_tp, "parent":self}))
+ return result
+
+ def to_topology_nodes(self) -> list[dict[str, dict]]:
+ result: list[dict[str, dict]] = super().to_topology_nodes()
+ for tower in self.towers:
+ result.extend(tower.to_topology_nodes())
+ return result
+
+ def to_topology_links(self) -> list[dict[str, dict]]:
+ result: list[dict[str, dict]] = super().to_topology_links()
+ for tower in self.towers:
+ result.extend(tower.to_topology_links())
+ return result
+