]> git.puffer.fish Git - matthieu/frr.git/commit
tests: Fix `bgp_srv6l3vpn_to_bgp_vrf2` topotest
authorCarmine Scarpitta <carmine.scarpitta@uniroma2.it>
Wed, 30 Nov 2022 21:18:49 +0000 (22:18 +0100)
committerCarmine Scarpitta <carmine.scarpitta@uniroma2.it>
Wed, 30 Nov 2022 21:18:49 +0000 (22:18 +0100)
commit6e502a0a758d0e3587c8ec23fe9a691ebe5e0f08
tree3c3eda0e719e3199495e12ad06d4c861ba8860bd
parent2387dca4dcf35c7adf936c94816f5ab8f92fb550
tests: Fix `bgp_srv6l3vpn_to_bgp_vrf2` topotest

The `bgp_srv6l3vpn_to_bgp_vrf2` topotest tests the SRv6 IPv4 L3VPN
functionality. It applies the appropriate configuration in `bgpd` and
`zebra`, and then checks that the RIB is updated correctly.

The topotest expects to find the AS-Path in the RIB, which is only
present if the `bgp send-extra-data zebra` option is enabled in the
`bgpd` configuration.

Currently, the `bgp send-extra-data zebra` option is not set in the
`bgpd` configuration, which always causes the topotest to fail.

This commit fixes the `bgp_srv6l3vpn_to_bgp_vrf2` topotest by enabling
the `bgp send-extra-data zebra` option for both routers `r1` and `r2`.

Signed-off-by: Carmine Scarpitta <carmine.scarpitta@uniroma2.it>
tests/topotests/bgp_srv6l3vpn_to_bgp_vrf2/r1/bgpd.conf
tests/topotests/bgp_srv6l3vpn_to_bgp_vrf2/r2/bgpd.conf