Merge "ADD N1, N2 N3 interfacing to topology generation"
authorMartin Skorupski <martin.skorupski@highstreet-technologies.com>
Mon, 7 Mar 2022 14:22:46 +0000 (14:22 +0000)
committerGerrit Code Review <gerrit@o-ran-sc.org>
Mon, 7 Mar 2022 14:22:46 +0000 (14:22 +0000)
code/network-topology-instance-generator/model/python/tapi_common_context.py

index 7c96391..03d779b 100644 (file)
@@ -86,7 +86,7 @@ class TapiCommonContext(Top):
 
     def __svg_width(self) -> int:
         p = self.configuration()['network']['pattern']
-        return (p['smo'] * p['near-rt-ric'] * p['o-cu'] * p['o-du'] * p['fronthaul-gateway'] * p['o-ru'] * p['user-equipment'] + 1) * 2*2*self.FONTSIZE
+        return (p['smo'] * p['near-rt-ric'] * p['o-cu'] * p['o-du'] * p['fronthaul-gateway'] * p['o-ru'] * p['user-equipment'] + 1) * 4*2*self.FONTSIZE
 
     def __svg_height(self) -> int:
         return (8 * 11 + 6) * self.FONTSIZE