🛠️ NetMentor — System Architecture
Discover how the NetMentor platform orchestrates intelligent LAB generation, simulation, and analysis.

🔵 User Interface
Through a web dashboard and intelligent chatbot, users can create and manage network topologies, run simulations, and interact naturally with the system.
🖥️ Django Backend
The Django orchestrator coordinates LAB management, topology generation, LLM prompting, simulation, and audit tasks through structured APIs and internal logic.
🧠 LLM + Prompt Engine
Powerful Large Language Models (Mistral, LLaMA) generate accurate network configurations, extract important technical information, and build YAML files dynamically from prompts.
⚙️ LAB Generator
The system automatically creates valid Containerlab-compatible `.clab.yml` files from generated data, ready for instant deployment and testing.
🚀 Deployment with ContainerLab
NetMentor leverages ContainerLab to simulate real-world networks, run convergence tests, validate security settings, and perform impact audits directly in a controlled virtual environment.
Exemple de scénario utilisateur complet :
👤 L'utilisateur parle au Chatbot : "Je veux créer un réseau avec 5 routeurs BGP et un pare-feu."
🤖 Assistant prépare des prompts spécifiques pour récupérer plus d’infos.
🧠 Prompt Manager valide et transforme les réponses en YAML/JSON structuré.
🌐 Topology Generator (optionnel) crée une première topologie automatique.
🛠️ LAB Manager génère le fichier .clab.yml complet.
🚀 Simulator déploie le lab dans ContainerLab.
🔎 Audit Manager fait tourner des simulations de pannes, vérifie la convergence.
📊 Dashboard affiche résultats et propose corrections automatiques.