diff options
| author | Philippe Guibert <philippe.guibert@6wind.com> | 2023-01-10 14:53:54 +0100 |
|---|---|---|
| committer | Philippe Guibert <philippe.guibert@6wind.com> | 2023-03-22 16:28:01 +0100 |
| commit | 3596a77697464ffb702049c231954b57d0db1e29 (patch) | |
| tree | 0d291f04d7904dc1ba5b35e1d2d44a14d6aff6f2 /python/clidef.py | |
| parent | 084b31717010242f4d9f5f60775d482cc7d26975 (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 'python/clidef.py')
0 files changed, 0 insertions, 0 deletions
