]> git.proxmox.com Git - mirror_frr.git/commit
topotests: add vpnv4 ecmp test
authorPhilippe Guibert <philippe.guibert@6wind.com>
Mon, 9 Jan 2023 15:29:25 +0000 (16:29 +0100)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Sun, 26 Feb 2023 08:44:16 +0000 (09:44 +0100)
commit6cd0aae924a5b434f66ecce6d5ad1013e84f0e33
treee3b10376a3ab098de364c7c0d9a342c24e83c5e0
parentcefda028bb4c01f9680f1fec6a16138a68dfee99
topotests: add vpnv4 ecmp test

This test ensures that BGP VRF instance is able to import ECMP
paths, and is able to install 2 labelled routes accordingly.

The test also ensures that the imported 172.31.0.10/32 prefix
is selected and that the reason why the 172.31.0.10/32 prefix is
selected is not 'Locally configured route'. Actually, imported
routes do not figure out correctly the peer, and the reason is
falsely mentioned as local.

This test also uses IP ranges used for documentation and for
testing.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
tests/topotests/bgp_vpnv4_ebgp/r1/bgp_ipv4_routes.json [new file with mode: 0644]
tests/topotests/bgp_vpnv4_ebgp/r1/bgpd.conf
tests/topotests/bgp_vpnv4_ebgp/r1/ipv4_routes.json
tests/topotests/bgp_vpnv4_ebgp/r1/zebra.conf
tests/topotests/bgp_vpnv4_ebgp/r2/bgp_ipv4_routes.json
tests/topotests/bgp_vpnv4_ebgp/r2/bgpd.conf
tests/topotests/bgp_vpnv4_ebgp/r2/zebra.conf
tests/topotests/bgp_vpnv4_ebgp/r3/bgp_ipv4_routes.json [new file with mode: 0644]
tests/topotests/bgp_vpnv4_ebgp/r3/bgpd.conf [new file with mode: 0644]
tests/topotests/bgp_vpnv4_ebgp/r3/zebra.conf [new file with mode: 0644]
tests/topotests/bgp_vpnv4_ebgp/test_bgp_vpnv4_ebgp.py