Experiment ExecutionΒΆ

runexp.py takes a small number of arguments, with some required based on the values passed to reserve.py.

--sites Number of sites in the topology
--sensors Number of sensors per site
--sensor-rate Number of packets per second sent by each sensor
--debug Enable debug logging
--setup-only Only setup experiment, without running
--run-time Duration to run sensors and NF in experiment

runexp.py must be passed information about the topology, as it cannot determine the values without assistance. A typical run of the experiment for 30 seconds would be:

$ runexp.py --sites 2 --sensors 3 --run-time 30