This project uses Containerlab to simulate a BGP network with Nokia SR Linux and FRR routers.
Automation is handled using Ansible and gNMI (pygnmi) to configure network devices.
- BGP Peering (SR Linux ↔ FRR)
- Static routing
- Automated configuration with Ansible
- gNMI-based config for SR Linux
- Easily extendable topology
- Deploy lab:
containerlab deploy -t clab.yml
- Set up a superuser (required before Ansible can log in):
docker exec clab-minimal-lab-srl1 sr_cli
enter candidate
set system aaa authentication user mohammed password "strongpassword"
set system aaa authentication user mohammed superuser true
- Set root password for frr:
docker exec -it clab-minimal-lab-frr1 bash -c 'echo "root:root" | chpasswd'
- Run Ansible playbook:
ansible-playbook -i inventory.yml configure_lab.yml
- Add more nodes (e.g. srl2, leaf2, alpine hosts)
- CI/CD (optional)
MIT