| Branch: | Revision:

iof-tools / birdPolicyGenerator @ 67493fe0

Name Size Revision Age Author Comment
  templates 9a18ba0c over 1 year tiamilani bug fixes 801 Bytes 8fb4fb93 over 1 year tiamilani code reorganized 4.79 KB 9a18ba0c over 1 year tiamilani bug fixes

Latest revisions

# Date Author Comment
9a18ba0c 01/11/2020 02:12 PM tiamilani

bug fixes

8fb4fb93 01/09/2020 10:05 AM tiamilani

code reorganized

View revisions


Bird policy generator

This program main purposes is to create a preference file for the bird daemon to replicate Fabrikant policies on a given topology.

The output file is in bird style and can be given as input to the conf file generator.


  • argparse
  • networkx

The graphml should be formatted in the correct IoF standard way

How to use it

use the main options given by the program:

  • -w, --write-to WRITETO, Output conf file where the configuration will be written
  • -g, --graph GRAPH, graph file to use [MANDATORY]
  • -o, --outer signal the presence of inner nodes

An example command could be:

python3 --graph small_g.graphml

This command will generate automatically the pref.conf file for this "small_g.graphml" graph

Also available in: Atom