Fixes ns-3/DCE
[nepi.git] / src / nepi / resources / ns3 / classes / lte_enb_net_device.py
index f1ac832..0184c10 100644 (file)
@@ -79,6 +79,26 @@ class NS3LteEnbNetDevice(NS3BaseNetDevice):
 
         cls._register_attribute(attr_ulearfcn)
 
+        attr_csgid = Attribute("CsgId",
+            "The Closed Subscriber Group (CSG) identity that this eNodeB belongs to",
+            type = Types.Integer,
+            default = "0",  
+            allowed = None,
+            range = None,    
+            flags = Flags.Reserved | Flags.Construct)
+
+        cls._register_attribute(attr_csgid)
+
+        attr_csgindication = Attribute("CsgIndication",
+            "If true, only UEs which are members of the CSG (i.e. same CSG ID) can gain access to the eNodeB, therefore enforcing closed access mode. Otherwise, the eNodeB operates as a non-CSG cell and implements open access mode.",
+            type = Types.Bool,
+            default = "False",  
+            allowed = None,
+            range = None,    
+            flags = Flags.Reserved | Flags.Construct)
+
+        cls._register_attribute(attr_csgindication)
+
         attr_mtu = Attribute("Mtu",
             "The MAC-level Maximum Transmission Unit",
             type = Types.Integer,