Click framework: Difference between revisions

From
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
=Introduction=
=Introduction=
The folder "simulation/click-brn-scripts/" contains different click scripts for different experiments. Running this scripts (see below) the click framework generates dumps of the communicating nodes. These dumps are then automatically analyzed and evaluated, putting the results into the folder "simulation/click-brn-scripts/<SOME_SCRIPT>/<NUMBER_OF_EXPERIMENT>".

The click scripts use the following files:
* Mes-files contain the devices which will be prepared for the experiment.
* Mes-files contain the devices which will be prepared for the experiment.
* Des-Files contain a gross description for the experiment. E.g.: Duration of the experiment; Directory for log-files; network topology; etc...
* Des-Files contain a gross description for the experiment. E.g.: Duration of the experiment; Directory for log-files; network topology; etc...
* The folder "simulation/click-brn-scripts/" contains special scripts to analyze and evaluate the dumps generated by the participating devices of the experiment. The results are stored at "simulation/click-brn-scripts/<SOME_SCRIPT>/1/Evaluation"





Revision as of 15:20, 21 October 2011

Introduction

The folder "simulation/click-brn-scripts/" contains different click scripts for different experiments. Running this scripts (see below) the click framework generates dumps of the communicating nodes. These dumps are then automatically analyzed and evaluated, putting the results into the folder "simulation/click-brn-scripts/<SOME_SCRIPT>/<NUMBER_OF_EXPERIMENT>".

The click scripts use the following files:

  • Mes-files contain the devices which will be prepared for the experiment.
  • Des-Files contain a gross description for the experiment. E.g.: Duration of the experiment; Directory for log-files; network topology; etc...


Scripts

  • /helper/host/bin/clickctrl.sh:

This scripts allows communication with every node. This is made available from the node through an click element called "ControlSocket" (more: http://read.cs.ucla.edu/click/elements/controlsocket) which receives the remote commands from the user. Example of usage: Get statistics of the experiment while the node is running.

  • /helper/simulation/bin/run_sim.sh:

Execute the simulation within simulator. Usage: run_sim.sh ns <des-File>

  • /click-brn/elements/brn2/tools/brn-tools.sh:

This powerful tool downloads automatically all important sources, including the NS-Simulator. Additionally it builds the click framework and the simulator.

  • /click-brn-scripts/test.sh

This script executes a group of click-scripts (located in click-brn-scripts) for testing and starts the simulation.


References