mirror_frr/tests
Philippe Guibert ae5a6bc1f6 topotests: add bgp mpls allocation per next-hop test
A new test suite checks for the mpls label allocation
per nexthop mode. This test checks that:
- The labels are correctly allocated per connected
next-hop.
- The default label is used for non connected prefixes
- The withdraw operation frees the mpls entry.
- If a recursive route is redistributed by BGP, then the nexthop
tracking will find the appropriate nexthop entry, and the associated
label will be found out.
- When a prefix moves from one peer to one another behind the vrf,
then the MPLS switching operation for return traffic is changing
the outgoing interface to use.
- When the 'label vpn export <value>' MPLS label value is changed,
then the modification is propagated to prefixes which use that value.
- When unconfiguring the per-nexthop allocation mode, check
that the MPLS entries and the VPNv4 entries of r1 are changed
accordingly.
- Reversely, when re-configuring the per-nexthop allocation mode,
check that the allocation mode reuses the other label values.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
2023-05-09 21:00:57 +02:00
..
bgpd bgpd: Treat withdraw variable as a bool 2023-04-06 17:41:32 -04:00
helpers *: Convert event.h to frrevent.h 2023-03-24 08:32:17 -04:00
isisd isisd: add option to display isis routes as json 2023-04-18 11:33:15 +02:00
lib tests: Fix out of tree build for lua scripting 2023-05-09 02:05:44 +02:00
ospf6d *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
ospfd *: Convert event.h to frrevent.h 2023-03-24 08:32:17 -04:00
topotests topotests: add bgp mpls allocation per next-hop test 2023-05-09 21:00:57 +02:00
zebra *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
.gitignore tests: new grpc topotest 2022-03-14 11:14:12 -04:00
Makefile
pytest.ini
runtests.py *: reformat python files 2020-10-07 17:22:26 -04:00
subdir.am build: break up tests/subdir.am 2021-11-11 14:40:03 +01:00