|bgpSim_documentation||17d09a4e||almost 2 years||Lorenzo Ghiro||documentazione aggiornata|
|topos||a395aaa8||over 1 year||tiamilani||first look to the code|
|util||a395aaa8||over 1 year||tiamilani||first look to the code|
|.gitignore||18 Bytes||36e58117||over 1 year||tiamilani||bug fixes|
|LotOfSimulations.bash||477 Bytes||c1397947||over 1 year||tiamilani||corrected DPC calculation, based on which node ...|
|README.md||1.33 KB||a395aaa8||over 1 year||tiamilani||first look to the code|
|bgpSimulator.py||5.26 KB||c8b3c308||over 1 year||tiamilani||bug fixes simulatore, parser adattato per ricev...|
|nSimulations.bash||183 Bytes||7fac0ada||over 1 year||tiamilani||bug fixes|
|policy.py||3.4 KB||6527b0f6||almost 2 years||Lorenzo Ghiro||Fix bug policy e pulizia codice|
|process_logs.py||2.54 KB||c930130b||almost 2 years||Lorenzo Ghiro||cambio architettura eventi per modellare proces...|
Internet on FIRE BGP py simulator
This is a python simulator for BGP, and the main purpose of this simulator is to reproduce the results presented in the Fabrikant paper
A general fabrikant graphml file needs to be provided to the simulator to replicate the environment.
A general fabrikant graphml could be produced with the script in the
topos folder with the following command:
It will produce the file
test.graphml that can be used to create a simulation.
Now is possible to run a simulation with the command:
python3 bgpSimulator.py -g test.graphml -w outputDir
Pay attention, the output dir must exist, in case you did not create it you can
use the command
Now in the output directory you will find the simulation files produced by the environment.
A more deep explanation of the simulator is available in the
For simplicity to execute more experiments on the same topology is possible to use
the bash file provided, it's called
nSimulations.bash it only needs the number of
simulations to repeat, the graph file and the output dire, follow this example:
./nSimulations.bash 50 test.graphml outDir
Obviously the output dir must exist.
Also available in: Atom