School project made during the network architectures and services (NAS) class at INSA Lyon. The goal was to create a tool that generates the configuration of a MPLS BGP VPN network from a JSON file and a GNS3 project.
python3 main.py <intentFile> <gnsProjectName>
intentFile
is the JSON file that describes the network's topology and the VPNs to creategnsProjectName
is the name of the GNS3 project which contains the adjacency datas of the network
Rules for the intent file :
lp-prefix
must have 24 bits (3 blocks of 8 bits)- For each autonomous system
ip-prefix
must have 24 bits (3 blocks of 8 bits)
- avoid config wipe ...