ADD N1, N2 N3 interfacing to topology generation 99/7899/1
authordemx8as6 <martin.skorupski@highstreet-technologies.com>
Sun, 6 Mar 2022 13:19:09 +0000 (14:19 +0100)
committerdemx8as6 <martin.skorupski@highstreet-technologies.com>
Sun, 6 Mar 2022 13:35:03 +0000 (14:35 +0100)
- Support of N1 NEP by UE

Issue-Id: OAM-256
Change-Id: I20e5de9e8d5a8d9749a4504858d8cb2853018e64
Signed-off-by: demx8as6 <martin.skorupski@highstreet-technologies.com>
code/network-topology-instance-generator/model/python/tapi_node_user_equipment.py

index 48543bd..823d67f 100644 (file)
@@ -29,14 +29,21 @@ class TapiNodeUserEquipment(TapiNode):
     def __init__(self, parent, config):
         super().__init__(parent, config)
 
-        super().width( (1 + 1) * (2*self.FONTSIZE) )  # 1x nep
+        super().width( (2 + 1) * (2*self.FONTSIZE) )  # 2x nep
 
         # add air consumer interface
         nep_configuration = {
             "parent": self.identifier(),
             "nodeEdgePoint": {
-                "interface": "uu", "cep":[{"protocol": "unknown", "role": "consumer"}]
+                "interface": "uu", "cep":[{"protocol": "radio", "role": "consumer"}]
             }
         }
         self.add(TapiNodeEdgePoint(nep_configuration))
 
+        nep_configuration = {
+            "parent": self.identifier(),
+            "nodeEdgePoint": {
+                "interface": "n1", "cep":[{"protocol": "NAS", "role": "consumer"}]
+            }
+        }
+        self.add(TapiNodeEdgePoint(nep_configuration))