Automatisation du MicroProjet SR2I-201 sur packet tracer
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
manvan a79aee6fa1 added white background to graphe.png 9 months ago
.vscode feat: some refs and recomended plugin 9 months ago
autopkt pings and traces 9 months ago
docs added white background to graphe.png 9 months ago
templates/pkt feat: draw pc links 9 months ago
.gitignore feat: some refs and recomended plugin 9 months ago
.markdownlint.json feat: automatisation 9 months ago
LICENCE feat: LICENCE 9 months ago
README.md fix: add switch to ABR if he's alone in its area 9 months ago
create_pkt.py rapport: topologie, adressage, cover 9 months ago
create_plan.py Merge branch 'master' of gitea.rezel.net:manvan/autopkt 9 months ago
requirements.txt ref: add requirements 10 months ago
tests.py ultimate_script.py -> tests.py 9 months ago

README.md

AutoPKT

Automating a packet tracer project

Install the requirements in a venv

pip install virtualenv
virtualenv venv
source venv/bin/activate
pip install -r requirements.txt

SG/DSG calculation

To create the network plan, run the following command:

python3 create_plan.py <protocol> <name1> <name2>

Where protocol is rip or ospf and name<n> are your names (one name is supported too).

PKT file generation

After creating the plan with the previous command, you can generate an .xml file with this command:

python3 create_pkt.py

Then, we execute pka2xml in a docker container to generate a .pkt from the .xml:

docker run --rm -v `pwd`/output:/pkt quentinn42/pka2xml:latest pka2xml -e /pkt/Projet.xml /pkt/Projet.pkt 

Report

You can find our project report in the docs/rapport folder, it is written in french.