Skip to content

Conversation

louis-6wind
Copy link
Contributor

@louis-6wind louis-6wind commented Apr 23, 2025

Cosmetic changes to bgp_evpn_rt5 topotest to prepare adding checks:

  • remove r3. It is not used at all.
  • rework setup_module() because variables are not needed due to no more r3
  • re-address overlay and underlay IPs. We need to easily:
    • distinguish overlay and underlay addresses. 192.168 for underlay and 10.0 for overlay.
    • identify who owns the IP. Last digit now matches the router digit (ie. 1 for r1 and 2 for r2)
  • re-address the route-distinguisher and route-targets
  • other cosmetic small reworks to facilitate the maintenance

See individual commits.

@frrbot frrbot bot added the tests Topotests, make check, etc label Apr 23, 2025
@louis-6wind
Copy link
Contributor Author

@chdxD1 please review this

Copy link
Contributor

@chdxD1 chdxD1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

It is not used at all.

Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
for clarity.

Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
for clarity

Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
They are not used.

Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
Cosmetic change for clarity

Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
They are always there.

Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
Re-address Route-Distinguisher and route-targets for clarity.

Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
No need to prefix with the router name.

Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
Reformat configuration commands in human readable style.

Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
in order to identify which router we are talking about.

Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
0d5bd46 commit was supposed to check that route-map "match evpn vni"
was working by adding a r3 router that injected prefixes with VNI 102.
A route-map on r1 was filtering r3 prefixes. However, the test was
working even after removing r3. A check was needed without the route-map
to check that r3 prefixes were received before applying the filter.

Test "match evpn vni" route-map filtering applied to r2 input instead.

Fixes: 0d5bd46 ("topotests: bgp_evpn_rt5, add test with match evpn vni command")
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
@louis-6wind louis-6wind force-pushed the rework_bgp_evpn_rt5 branch from b9aa7dc to b7ffa50 Compare April 24, 2025 09:12
@frrbot frrbot bot added the bugfix label Apr 24, 2025
Copy link
Member

@pguibert6WIND pguibert6WIND left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ton31337 ton31337 merged commit 43b16a5 into FRRouting:master Apr 25, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix master size/XL tests Topotests, make check, etc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants