• Andrea Mayer's avatar
    selftests: seg6: add selftest for SRv6 H.Encaps.Red behavior · 6ab4eb5a
    Andrea Mayer authored
    This selftest is designed for testing the H.Encaps.Red behavior. It
    instantiates a virtual network composed of several nodes: hosts and SRv6
    routers. Each node is realized using a network namespace that is
    properly interconnected to others through veth pairs.
    The test considers SRv6 routers implementing L3 VPNs leveraged by hosts
    for communicating with each other. Such routers make use of the SRv6
    H.Encaps.Red behavior for applying SRv6 policies to L3 traffic coming
    from hosts.
    
    The correct execution of the behavior is verified through reachability
    tests carried out between hosts belonging to the same VPN.
    Signed-off-by: default avatarAndrea Mayer <andrea.mayer@uniroma2.it>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    6ab4eb5a
srv6_hencap_red_l3vpn_test.sh 23.2 KB