Click framework

From
Revision as of 13:42, 21 October 2011 by Crk (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

dieses bash-script ruft alle click-scripte in click-brn-scripts auf, die zum testen ausgewählt worden sind und startet die Simulation.

mes-Datein enthalten die Geräte, die in der Sim eingesetzt werden sollen.

des-Datein enthalten eine grobe Beschreibung der Simulation

Später lassen sich Analysetools in des scrip-Verzeichnis legen (als Beispiel in das send_and_receiver-Verzeichnis). Diese Analysetools dienen dazu, die dumps zu analysieren und die Evaluation in ein Verzeichnis zu speichern, dass unter einer Messung liegt und Evaluation heißt (als Beispiel: send_and_receiver/1/Evaluation) Referenzen http://read.cs.ucla.edu/click/docs (Suchfunktion der Webseite auch sehr nützlich) http://read.cs.ucla.edu/click/doxygen/class_element.html (sehr gutes Manual dazu, wie man Elemente programmiert; „click-Programmierer“ entwickeln hauptsäch) http://www.read.cs.ucla.edu/click/elements (Informationen über click-Elemente)