| Branch: | Revision:

iof-tools / BGPpysim @ a395aaa8

Name Size Revision Age Author Comment
  bgpSim_documentation 17d09a4e 10 months Lorenzo Ghiro documentazione aggiornata
  topos a395aaa8 7 months tiamilani first look to the code
  util a395aaa8 7 months tiamilani first look to the code
.gitignore 18 Bytes 36e58117 9 months tiamilani bug fixes
LotOfSimulations.bash 477 Bytes c1397947 8 months tiamilani corrected DPC calculation, based on which node ... 1.33 KB a395aaa8 7 months tiamilani first look to the code 5.26 KB c8b3c308 9 months tiamilani bug fixes simulatore, parser adattato per ricev...
nSimulations.bash 183 Bytes 7fac0ada 9 months tiamilani bug fixes 3.4 KB 6527b0f6 10 months Lorenzo Ghiro Fix bug policy e pulizia codice 2.54 KB c930130b 10 months Lorenzo Ghiro cambio architettura eventi per modellare proces...

Latest revisions

# Date Author Comment
a395aaa8 11/29/2019 03:56 PM tiamilani

first look to the code

c1397947 10/31/2019 03:14 PM tiamilani

corrected DPC calculation, based on which node share a network and not on the type of the node, there could be for example nodes of Type M that does not share destiantions, this before whas a problem because every node different than a T was sharing a contribute, but this should happen only if they really share one internal network

c8b3c308 10/06/2019 04:08 PM tiamilani

bug fixes simulatore, parser adattato per ricevere in ingresso anche cartelle con simulazioni/emulazioni multiple e dare un output mediato

7fac0ada 10/03/2019 10:39 AM tiamilani

bug fixes

36e58117 10/03/2019 09:28 AM tiamilani

bug fixes

1f581330 10/02/2019 08:32 AM tiamilani

Simulatore funzionante e log to csv per il simulatore e primi script in R

d59a901c 10/01/2019 07:44 AM tiamilani

basic log parser to csv

ae4e7310 09/28/2019 04:34 PM tiamilani

log format to bird

1d9e50a2 09/28/2019 03:35 PM tiamilani

time fixed

8219c617 09/28/2019 03:08 PM tiamilani

time fixed

View revisions


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:

python3 topos/

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 -g test.graphml -w outputDir

Pay attention, the output dir must exist, in case you did not create it you can use the command mkdir outputDir

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 bgpSim_documentation folder

Repeated execution

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