Skip to content

Conversation

@fedepaol
Copy link
Member

The current implementation creates one route map per localpref / community, duplicating the same route-map for each advertisement (while what we really need is one route map, many prefix-lists entries, one per service).

Here we collect all the communities / localpref / large communities per neighbor, and we use it to generate a route-map per neighbor per community / localpref only once.

@fedepaol fedepaol force-pushed the nomorerules branch 6 times, most recently from 4706496 to bb127d6 Compare February 16, 2024 17:19
The current implementation creates one route map per localpref /
community, duplicating the same route-map for each advertisement (while
what we really need is one route map, many prefix-lists entries, one per
service).

Here we collect all the communities / localpref / large communities per
neighbor, and we use it to generate a route-map per neighbor per
community / localpref only once.

Signed-off-by: Federico Paolinelli <fpaoline@redhat.com>
Copy link
Member

@oribon oribon left a comment

Choose a reason for hiding this comment

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

lgtm

@fedepaol fedepaol added this pull request to the merge queue Feb 20, 2024
Merged via the queue into metallb:main with commit cb9c6eb Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants