How martimy/netlab_ospf_frr works
Project type and purpose
• This “project” is not a traditional software stack but rather a tutorial repository for NetLab—a Python-based orchestration tool that automates virtual network labs with Containerlab (Docker) and Ansible to spin up FRR routers running OSPF.
• Its sole code artifact is a topology definition (topology.yml) and a README that walks you through installing NetLab, defining a three-node OSPF lab, deploying containers, and cleaning up.
File structure
• Top level:
• README.md – full walkthrough, component descriptions, commands
• topology.yml – the YAML spec driving Containerlab/NetLab to create the lab
• No “src/” or “lib/” directories—this repo serves purely as a configuration tutorial. All heavy lifting happens inside the NetLab, Containerlab, Docker, Ansible, and FRR components on the host.
README for architectural insights
• Describes four main actors:
a. NetLab CLI (Python utility)
b. Containerlab (clab) + Docker (container runtime)
c. Ansible (configuration deployment)
d. FRRouting (FRR) instances as containers simulating routers
• The topology is defined in topology.yml; NetLab generates clab.yml and Ansible inventories, then invokes containerlab deploy and Ansible playbooks to configure OSPF.