summaryrefslogtreecommitdiff
path: root/lib/tc.c
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2023-01-10 14:53:54 +0100
committerPhilippe Guibert <philippe.guibert@6wind.com>2023-05-09 21:00:57 +0200
commitae5a6bc1f6baacb3bd1695615e922ec28bdf9c62 (patch)
tree617d8ea3e8ca878df9569ba6596ccb1888cee9c6 /lib/tc.c
parent6483c4d37bc6bece29ab581b6708651ec2b62800 (diff)
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>
Diffstat (limited to 'lib/tc.c')
0 files changed, 0 insertions, 0 deletions