Topo: Add supported-tps to logical TPs 81/13481/1
authorMartin Skorupski <martin.skorupski@highstreet-technologies.com>
Sat, 28 Sep 2024 14:26:42 +0000 (16:26 +0200)
committerMartin Skorupski <martin.skorupski@highstreet-technologies.com>
Sat, 28 Sep 2024 14:26:42 +0000 (16:26 +0200)
- housekeeping

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

index 3dd4d84..04c0771 100644 (file)
@@ -76,6 +76,7 @@ class ORanTerminationPoint(ORanObject):
             "o-ran-sc-network:uuid": self.id,
             "o-ran-sc-network:type": self.type,
         }
-        if self.supporter:
+
+        if not (self.type == "o-ran-sc-network:phy"):
             result["supporting-termination-point"] = [self.supporter]
         return result