return app
-def add_collector(ec, trace_name, store_dir):
+def add_collector(ec, trace_name):
collector = ec.register_resource("Collector")
ec.set(collector, "traceName", trace_name)
- ec.set(collector, "storeDir", store_dir)
return collector
( pl_user, movie, exp_id, pl_ssh_key, results_dir ) = get_options()
- ec = ExperimentController(exp_id = exp_id)
+ ec = ExperimentController(exp_id = exp_id, local_dir = results_dir)
- # host in the US
- host1 = "planetlab4.wail.wisc.edu"
- host2 = "planetlab2.cs.columbia.edu"
- host3 = "ricepl-2.cs.rice.edu"
- host4 = "node1.planetlab.albany.edu"
- host5 = "earth.cs.brown.edu"
- host6 = "planetlab2.engr.uconn.edu"
+ # hosts in the US
+ #host1 = "planetlab4.wail.wisc.edu"
+ #host2 = "planetlab2.cs.columbia.edu"
+ #host3 = "ricepl-2.cs.rice.edu"
+ #host4 = "node1.planetlab.albany.edu"
+ #host5 = "earth.cs.brown.edu"
+ #host6 = "planetlab2.engr.uconn.edu"
+
+ # hosts in EU
+ host1 = "planetlab2.fct.ualg.pt"
+ host2 = "planet2.unipr.it"
+ host3 = "planetlab1.aston.ac.uk"
+ host4 = "itchy.comlab.bth.se"
+ host5 = "rochefort.infonet.fundp.ac.be"
+ host6 = "planetlab1.u-strasbg.fr"
# describe nodes in the central ring
ring_hosts = [host1, host2, host3, host4]
app, ResourceState.STARTED, time = "10s")
ec.register_condition(l5d, ResourceAction.STOP,
app, ResourceState.STARTED, time = "10s")
-
+
# Register a collector to automatically collect traces
- collector = add_collector(ec, "stderr", results_dir)
+ collector = add_collector(ec, "stderr")
for ccnd in ccnds.values():
ec.register_connection(collector, ccnd)