Skip to content

MercatorRunExperiment

Keoma Brun edited this page Dec 16, 2016 · 3 revisions

The MercatorRunExperiment application allows to reserve the nodes and run the experiment.

Prerequisite

Make sure you are authenticated in the IoT-Lab:

auth-cli -u <your_login>

Run the application

python mercatorRunExperiment.py <SITENAME> <FIRMWARE>

Exemple:

python mercatorRunExperiment.py grenoble 03oos_mercator_iot-lab_M3.elf

The application uses the file corresponding to the given testbed name located in the metas/states.json file. Each testbed configuration file contains the nodes names.

Options

[-d DURATION]: set the duration of the experiment (TODO: this should be done dynamically)
[-e EXPID]: use existing experiment (no node reservation)
[-l]: run the experiment in local (uses the experiment/local.json file)