3. Lagopus software router architecture¶
To achive flexibilty, modularity and performance at same time, Lagopus software router is designed to be modular, and similar to web services built using microservice architecture, you can easily add (remove) modules to add (remove) feature to the router.
Lagopus software router consists of 3 components:
- Data Store and CLI (Openconfigd)
- Routing Agent (Zebra)
- Data Plane (vsw)
3.1. Data Store and CLI (Openconfigd)¶
Lagopus software router uses an Open Source configuration manager [Openconfigd] as Data Store. Openconfigd also provies CLI (Command Line Interface) so users can show status / stats and configure Lagopus software router.
3.2. Routing Agent (Zebra)¶
Lagopus software router is designed so it could be used with various routing agent. Currently it’s confirmed to work with [Zebra] Open Source routing agent.
Lagopus software router will create tap interface when interface with IP address is configured. It will pass all packets designated to its address to corresponding tap interface. Thus Routing Agent could receive routing packet (OSPF, BGP etc) via tap interface.
Lagopus software router will retrive routing information via Netlink which Routing Agent will update when it learn any route changes.
3.3. Data Plane (vsw)¶
Lagopus software router dataplane, [vsw] , consists of multiple modules which has different functions (features) for processing packets. Example of modules currently available are Bridge (L2), Router (L3) and Tunnel.