On Wed, 02 Dec 2026 16:46:30 +0800
Hangbin Liu <hang…@linux.dev> wrote:
> From: Hangbin Liu <liuh…@kylinos.cn>
>
> The End PSP tests install policy and localsid state but rely on the
> global namespace teardown to remove it. That leaves flavor-specific
> state behind once more tests share this script.
>
> Use the defer helper to remove the configurations installed for the
> PSP tests:
>
> * cafe::1, cafe::1:e9, cafe::2, cafe::2:e9 routes and proxy neighs
> on rt1, rt2, and the cafe::1:e9, cafe::2:e9 addresses on the
> hosts' loopback
> * fcbb:0:x0e9::/48 End next-csid,psp policies on rt 1,2,3,4
> * fcff:x::0ef1 End psp policies on rt 1,2,4
>
> After the change, we can wrap the whole end test with test_end_flv()
> and run it separately.
>
> Signed-off-by: Hangbin Liu <liuh…@kylinos.cn>
> [snip]
Reviewed-by: Andrea Mayer <andr…@uniroma2.it>
Thanks,
Andrea