Skip to content

Set BGP origin code into igp#1242

Merged
fedepaol merged 3 commits into
metallb:mainfrom
pperiyasamy:bgp-origin
Mar 11, 2022
Merged

Set BGP origin code into igp#1242
fedepaol merged 3 commits into
metallb:mainfrom
pperiyasamy:bgp-origin

Conversation

@pperiyasamy
Copy link
Copy Markdown
Contributor

Currently BGP origin code for external IP routes advertised
by metallb is set to incomplete which is incorrect.

Hence setting this value to igp by default which seems to be
appropriate origin code for service routes.

Fixes #1217

Signed-off-by: Periyasamy Palanisamy pepalani@redhat.com

Currently BGP origin code for external service routes advertised
by metallb is set to `incomplete` which is incorrect.

Hence setting this value to `igp` by default which seems to be
appropriate origin code for service routes.

Signed-off-by: Periyasamy Palanisamy <pepalani@redhat.com>
@pperiyasamy
Copy link
Copy Markdown
Contributor Author

/cc @msherif1234

@fedepaol
Copy link
Copy Markdown
Member

fedepaol commented Mar 1, 2022

Is this something we can extend the current tests to validate it?

This validates BGP origin code is set to `igp` for the service
routes advertised by MetalLB.

Signed-off-by: Periyasamy Palanisamy <pepalani@redhat.com>
@pperiyasamy
Copy link
Copy Markdown
Contributor Author

Is this something we can extend the current tests to validate it?

yes @fedepaol , added a validation to check bgp origin now.

@fedepaol
Copy link
Copy Markdown
Member

LGTM

@fedepaol fedepaol merged commit 1c7a999 into metallb:main Mar 11, 2022
@pperiyasamy pperiyasamy deleted the bgp-origin branch March 11, 2022 14:10
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.

Set BGP origin code (igp)

2 participants