add new experiments for NLSR bot
refs: #3975
Change-Id: Iad1db7fca4c475d308d2f5c79cdd737967a986b2
diff --git a/ndn/experiments/mcn_failure_experiment.py b/ndn/experiments/mcn_failure_experiment.py
index cc3fa09..e5bd462 100644
--- a/ndn/experiments/mcn_failure_experiment.py
+++ b/ndn/experiments/mcn_failure_experiment.py
@@ -1,8 +1,8 @@
# -*- Mode:python; c-file-style:"gnu"; indent-tabs-mode:nil -*- */
#
-# Copyright (C) 2015 The University of Memphis,
-# Arizona Board of Regents,
-# Regents of the University of California.
+# Copyright (C) 2015-2017 The University of Memphis,
+# Arizona Board of Regents,
+# Regents of the University of California.
#
# This file is part of Mini-NDN.
# See AUTHORS.md for a complete list of Mini-NDN authors and contributors.
@@ -22,11 +22,10 @@
# If not, see <http://www.gnu.org/licenses/>.
from ndn.experiments.experiment import Experiment
-from ndn.nlsr import Nlsr
import time
-class FailureExperiment(Experiment):
+class MCNFailureExperiment(Experiment):
def __init__(self, args):
args["nPings"] = 300
@@ -64,4 +63,4 @@
# Collect pings for more seconds after MCN is up
time.sleep(self.PING_COLLECTION_TIME_AFTER_RECOVERY)
-Experiment.register("failure-mcn", FailureExperiment)
+Experiment.register("failure-mcn", MCNFailureExperiment)