Python-automated lightweight BGP lab in GNS3


topology

I was looking to play around with some BGP changes so I set up a topology in GNS3 using FRR docker containers. Once I laid out the topology I didn’t want to manually address it, so I automated the entire lifecycle. Address generation, config application etc.

commandline

This ended up taking way longer than manually doing it but was also way more fun and is now much easier to reset!

BTW: FRR docker containers are incredible if you’re just looking to lab routing protocols. Even running a whole bunch of them the GNS3 VM barely skips a beat.

Play with it here: https://github.com/GSGBen/gns3-bgp-frr.

Videogames

Hey, do you like videogames? If so, please check out my game Inventor Simulator on Steam, and consider adding it to your wishlist. Craft inventions and sell them to customers, then automate your workbench, workshop and store! Research new inventions or create your own from scratch. Set prices based on an economic model, unlock and craft upgrades, and vertically integrate your supply chain. Become the world's greatest inventor!

See full gameplay on Steam!


See also