Network AutomationFeaturedProject by Mohamed Mostafa Metawea

netauto-lab: Network Automation Platform on Emulated FRR Routers

3 emulated FRR routers under OSPF and iBGP; every change diffed, validated and rollback-ready before it touches the network.

PythonFastAPIFRRoutingOSPFBGPJinja2SQLitePrometheusNetmikoGitHub Actions
Demo video from the project

The problem

Changing router configs by hand causes drift and mistakes, and it is hard to know whether a change broke the network.

What I built

Describe the desired state in templates, see the diff first (dry run is the default), push only what differs, validate the network afterwards, and roll back if needed.

How it works

Templates and a hierarchical config parser build the diff and the minimal command set. Drivers talk to FRR (vtysh) or to IOS-style devices (Netmiko). History and snapshots live in SQLite. The FastAPI service exposes drift, compliance, push, validate and rollback.

Status

Working prototype. Tested on emulated FRR routers and, read-only, on a public Cisco IOS XE router. Not tested: pushing configuration to a real Cisco device, more than 3 routers, other vendors. Grafana and docker-compose were not run. The demo video is a labeled replay of captured output.

Available for work now

AI engineer in Egypt, open to remote and Gulf roles. Happy to walk through this project.