summaryrefslogtreecommitdiff
path: root/lib/compiler.h
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2023-02-01 17:28:15 +0100
committerPhilippe Guibert <philippe.guibert@6wind.com>2023-03-22 16:28:13 +0100
commit14c8653c7c805209216fcd3027b90e5c3edd28a1 (patch)
treea94b75b41cae95c4e083666e85563a927d6b9418 /lib/compiler.h
parent3596a77697464ffb702049c231954b57d0db1e29 (diff)
topotests: add bgp_vpnv6 test allocation
This test demonstrates that a label is allocated for each ipv6 next-hop. IPv6 test introduces link local ipv6 addresses as next hops, and compared to IPv4, one can have two different next-hops depending if the next-hop is defined by a global address (static route redistributed) or a bgp peer. 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. - Also, 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/compiler.h')
0 files changed, 0 insertions, 0 deletions