#!/usr/bin/env python
-from neco.execution.ec import ExperimentController, ECState
-from neco.execution.resource import ResourceState, ResourceAction, \
- populate_factory
+#
+# NEPI, a framework to manage network experiments
+# Copyright (C) 2013 INRIA
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+# Author: Alina Quereilhac <alina.quereilhac@inria.fr>
+
+from nepi.execution.ec import ExperimentController, ECState
+from nepi.execution.resource import ResourceState, ResourceAction
from optparse import OptionParser, SUPPRESS_HELP
if __name__ == '__main__':
( pl_slice, exp_id ) = get_options()
- # Search for available RMs
- populate_factory()
-
apps = []
hostnames = [
- "planetlab-2.research.netlab.hut.fi",
+ #"planetlab-2.research.netlab.hut.fi",
"planetlab2.willab.fi",
"planetlab3.hiit.fi",
"planetlab4.hiit.fi",
"planetlab-1.ida.liu.se",
"planetlab2.s3.kth.se",
"planetlab1.sics.se",
- "planetlab1.tlm.unavarra.es",
- "planetlab2.uc3m.es",
- "planetlab1.uc3m.es",
- "planetlab2.um.es",
+ #"planetlab1.tlm.unavarra.es",
+ #"planetlab2.uc3m.es",
+ #"planetlab1.uc3m.es",
+ #"planetlab2.um.es",
"planet1.servers.ua.pt",
- "planetlab2.fct.ualg.pt",
+ #"planetlab2.fct.ualg.pt",
"planetlab-1.tagus.ist.utl.pt",
"planetlab-2.tagus.ist.utl.pt",
"planetlab-um00.di.uminho.pt",
"planetlab1.pjwstk.edu.pl",
"ple2.tu.koszalin.pl",
"planetlab2.ci.pwr.wroc.pl",
- "planetlab2.cyfronet.pl",
+ #"planetlab2.cyfronet.pl",
"plab2.ple.silweb.pl",
- "planetlab1.cyfronet.pl",
+ #"planetlab1.cyfronet.pl",
"plab4.ple.silweb.pl",
"ple2.dmcs.p.lodz.pl",
"planetlab2.pjwstk.edu.pl",
"planetlab-1.ing.unimo.it",
"gschembra4.diit.unict.it",
"iraplab1.iralab.uni-karlsruhe.de",
- "planetlab-1.fokus.fraunhofer.de",
+ #"planetlab-1.fokus.fraunhofer.de",
"iraplab2.iralab.uni-karlsruhe.de",
"planet2.zib.de",
- "pl2.uni-rostock.de",
+ #"pl2.uni-rostock.de",
"onelab-1.fhi-fokus.de",
"planet2.l3s.uni-hannover.de",
"planetlab1.exp-math.uni-essen.de",
- "planetlab-2.fokus.fraunhofer.de",
+ #"planetlab-2.fokus.fraunhofer.de",
"planetlab02.tkn.tu-berlin.de",
"planetlab1.informatik.uni-goettingen.de",
"planetlab1.informatik.uni-erlangen.de",
"orval.infonet.fundp.ac.be",
"rochefort.infonet.fundp.ac.be",
]
-
+
ec = ExperimentController(exp_id = exp_id)
for host in hostnames: