]> git.puffer.fish Git - matthieu/frr.git/commit
topotests: bgp_srv6l3vpn_to_bgp_vrf locator update test case
authorHiroki Shirokura <slank.dev@gmail.com>
Sun, 5 Sep 2021 09:48:28 +0000 (09:48 +0000)
committerHiroki Shirokura <slank.dev@gmail.com>
Tue, 7 Sep 2021 12:54:39 +0000 (12:54 +0000)
commit6d39d7c0dd7650969c0a87c6f56ca22a268f2bcd
treec068d2cfe70ab4d3dd4ffcf2da8d99f5af073f55
parent9529336a226750652544e860bafaf61411021dff
topotests: bgp_srv6l3vpn_to_bgp_vrf locator update test case

If the SRv6 locator is deleted in zebra, zclient(bgpd)
which allocates SIDs from the locator will update the
RIBs which use those SIDs and make them invalid.
This will cause the VPNv6 route to be withdrawn and
the VPN to stop.

If the SRv6 locator is added again, zclient(bgpd) will
allocate the SIDs from the locator again, and VPNv6
will be re-established.

This commit add a test case to confirm this.

Signed-off-by: Hiroki Shirokura <slank.dev@gmail.com>
tests/topotests/bgp_srv6l3vpn_to_bgp_vrf/r1/vpnv6_rib_locator_deleted.json [new file with mode: 0644]
tests/topotests/bgp_srv6l3vpn_to_bgp_vrf/r1/vpnv6_rib_locator_recreated.json [new file with mode: 0644]
tests/topotests/bgp_srv6l3vpn_to_bgp_vrf/r1/zebra.conf
tests/topotests/bgp_srv6l3vpn_to_bgp_vrf/r2/vpnv6_rib_locator_deleted.json [new file with mode: 0644]
tests/topotests/bgp_srv6l3vpn_to_bgp_vrf/r2/vpnv6_rib_locator_recreated.json [new file with mode: 0644]
tests/topotests/bgp_srv6l3vpn_to_bgp_vrf/r2/zebra.conf
tests/topotests/bgp_srv6l3vpn_to_bgp_vrf/test_bgp_srv6l3vpn_to_bgp_vrf.py