Implement ExperimentManager
refs: #2852
Change-Id: I49b50989477914ae4b076d6d39ca661f50fc92aa
diff --git a/ndn/experiments/pingall_experiment.py b/ndn/experiments/pingall_experiment.py
index 3bbfc1f..28ad27f 100644
--- a/ndn/experiments/pingall_experiment.py
+++ b/ndn/experiments/pingall_experiment.py
@@ -6,9 +6,9 @@
class PingallExperiment(Experiment):
- def __init__(self, net, nodes, convergenceTime, nPings, strategy):
+ def __init__(self, args):
- Experiment.__init__(self, net, nodes, convergenceTime, nPings, strategy)
+ Experiment.__init__(self, args)
self.COLLECTION_PERIOD_BUFFER = 10
@@ -17,3 +17,5 @@
# For pingall experiment sleep for the number of pings + some offset
time.sleep(self.nPings + self.COLLECTION_PERIOD_BUFFER)
+
+Experiment.register("pingall", PingallExperiment)