Changing default ns-3 and pybindgen versions
authorAlina Quereilhac <alina.quereilhac@inria.fr>
Thu, 29 May 2014 13:29:50 +0000 (15:29 +0200)
committerAlina Quereilhac <alina.quereilhac@inria.fr>
Thu, 29 May 2014 13:29:50 +0000 (15:29 +0200)
src/nepi/resources/linux/ns3/ns3simulation.py
test/resources/linux/ns3/ccn/ns3dceccnpeek.py

index bbfb918..a52530f 100644 (file)
@@ -85,8 +85,8 @@ class LinuxNS3Simulation(LinuxApplication, NS3Simulation):
 
         ns3_version = Attribute("ns3Version",
             "Version of ns-3 to install from nsam repo",
-            default = "ns-3.19", 
-            #default = "ns-3-dev", 
+            #default = "ns-3.19", 
+            default = "ns-3-dev", 
             flags = Flags.Design)
 
         enable_dce = Attribute("enableDCE",
@@ -97,8 +97,8 @@ class LinuxNS3Simulation(LinuxApplication, NS3Simulation):
 
         pybindgen_version = Attribute("pybindgenVersion",
             "Version of pybindgen to install from bazar repo",
-            default = "864", 
-            #default = "868", 
+            #default = "864", 
+            default = "868", 
             flags = Flags.Design)
 
         populate_routing_tables = Attribute("populateRoutingTables",
index f0a9c7d..9e6a155 100644 (file)
@@ -116,8 +116,7 @@ class LinuxNS3CCNPeekDceApplicationTest(unittest.TestCase):
 
         ec.shutdown()
 
-    ## TODO: Not working because ns-3-dev is broken
-    def ztest_dce_ccnpeek_local(self):
+    def test_dce_ccnpeek_local(self):
         ec = ExperimentController(exp_id = "test-dce-ccnpeek-local")
         
         node = ec.register_resource("LinuxNode")
@@ -125,8 +124,8 @@ class LinuxNS3CCNPeekDceApplicationTest(unittest.TestCase):
 
         simu = ec.register_resource("LinuxNS3Simulation")
         ec.set(simu, "verbose", True)
-        ec.set(simu, "ns3Version", "ns-3.19")
-        ec.set(simu, "pybindgenVersion", "834")
+        #ec.set(simu, "ns3Version", "ns-3.19")
+        #ec.set(simu, "pybindgenVersion", "834")
         ec.set(simu, "enableDCE", True)
         ec.register_connection(simu, node)