]> git.puffer.fish Git - mirror/frr.git/commit
topotests: bgp_evpn_rt5, configure route_distinguisher
authorPhilippe Guibert <philippe.guibert@6wind.com>
Mon, 30 Dec 2024 15:04:14 +0000 (16:04 +0100)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Tue, 21 Jan 2025 12:48:36 +0000 (13:48 +0100)
commit82339c94edc6c864593e6199f7b279927d964083
treeef1a845ca40b5898ca3fbf0c37dc882dc909ced3
parent0d5bd461af9f77631be6d77438090166ca4bf1aa
topotests: bgp_evpn_rt5, configure route_distinguisher

When not configuring a route distinguisher, neither route-target,
the derived rd settings differ if config load applies with frr.conf
or not. For instance, the forged rd with frr.conf:

> # show bgp l2vpn evpn json
>    "192.168.101.41:3":{
>       "rd":"192.168.101.41:3",

and without:
>     "192.168.101.41:2":{
>        "rd":"192.168.101.41:2",

The defined rts also are impacted. Temporay fix this by using an
hardset configuration for all route distinguisher and route target
of the setups.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
tests/topotests/bgp_evpn_rt5/r1/bgp_l2vpn_evpn_routes.json
tests/topotests/bgp_evpn_rt5/r1/bgp_l2vpn_evpn_routes_all.json
tests/topotests/bgp_evpn_rt5/r1/bgpd.conf
tests/topotests/bgp_evpn_rt5/r2/bgp_l2vpn_evpn_routes.json
tests/topotests/bgp_evpn_rt5/r2/bgpd.conf
tests/topotests/bgp_evpn_rt5/r3/bgpd.conf