0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 01:31:55 +00:00
bird/test
Ondrej Zajicek 333ddd4f98 MPLS subsystem
The MPLS subsystem manages MPLS labels and handles their allocation to
MPLS-aware routing protocols. These labels are then attached to IP or VPN
routes representing label switched paths -- LSPs.

There was already a preliminary MPLS support consisting of MPLS label
net_addr, MPLS routing tables with static MPLS routes, remote labels in
next hops, and kernel protocol support.

This patch adds the MPLS domain as a basic structure representing local
label space with dynamic label allocator and configurable label ranges.
To represent LSPs, allocated local labels can be attached as route
attributes to IP or VPN routes with local labels as attributes.

There are several steps for handling LSP routes in routing protocols --
deciding to which forwarding equivalence class (FEC) the LSP route
belongs, allocating labels for new FECs, announcing MPLS routes for new
FECs, attaching labels to LSP routes. The FEC map structure implements
basic code for managing FECs in routing protocols, therefore existing
protocols can be made MPLS-aware by adding FEC map and delegating
most work related to local label management to it.
2023-10-04 13:01:21 +02:00
..
birdtest.c Revert "Reducing filter stack size to allow for lesser thread stack size" 2022-09-16 10:11:51 +02:00
birdtest.h Nest: Add tests and benchmark for FIB 2023-05-16 13:25:48 +02:00
bt-utils.c MPLS subsystem 2023-10-04 13:01:21 +02:00
bt-utils.h Nest: Add tests and benchmark for FIB 2023-05-16 13:25:48 +02:00
Makefile Unit Testing for BIRD 2016-11-09 16:36:34 +01:00