Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add BGP confederation field in BGPPolicy API #6905

Merged
merged 1 commit into from
Jan 22, 2025

Conversation

hongliangl
Copy link
Contributor

@hongliangl hongliangl commented Jan 8, 2025

For #6567

@hongliangl hongliangl added action/release-note Indicates a PR that should be included in release notes. area/transit/bgp Issues or PRs related to BGP support. labels Jan 8, 2025
@hongliangl hongliangl added this to the Antrea v2.3 release milestone Jan 8, 2025
@hongliangl hongliangl force-pushed the 20241205-bgp-confederation branch from a61659d to dc54219 Compare January 8, 2025 08:27
@hongliangl hongliangl changed the title Add BGP confederation definition in BGPPolicy Add BGP confederation support in BGPPolicy Jan 8, 2025
Copy link
Contributor

@antoninbas antoninbas left a comment

Choose a reason for hiding this comment

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

Please link to the corresponding issue (#6567).

pkg/apis/crd/v1alpha1/types.go Outdated Show resolved Hide resolved
build/charts/antrea/crds/bgppolicy.yaml Show resolved Hide resolved
build/charts/antrea/crds/bgppolicy.yaml Show resolved Hide resolved
@hongliangl hongliangl force-pushed the 20241205-bgp-confederation branch from dc54219 to cde61b3 Compare January 14, 2025 08:19
@hongliangl hongliangl changed the title Add BGP confederation support in BGPPolicy Add BGP confederation field in BGPPolicy API Jan 14, 2025
@hongliangl hongliangl requested a review from luolanzone January 14, 2025 08:20
@hongliangl hongliangl force-pushed the 20241205-bgp-confederation branch from cde61b3 to a7bd0c2 Compare January 15, 2025 11:05
build/charts/antrea/crds/bgppolicy.yaml Show resolved Hide resolved
pkg/apis/crd/v1alpha1/types.go Outdated Show resolved Hide resolved
pkg/apis/crd/v1alpha1/types.go Outdated Show resolved Hide resolved
Comment on lines +71 to +72
minimum: 1
maximum: 65535
Copy link
Contributor

Choose a reason for hiding this comment

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

I saw there is a suggestion is to use private ASN 64512–65534 for peers. But I am not sure if it's mandatory or just a recommendation. Could you double check the range?
If it's mandatory, we may need to remind users in the guide later when the full feature is ready. Thanks.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Is this one #6905 (comment)?

Copy link
Contributor

Choose a reason for hiding this comment

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

I think private ASNs are typically used inside a confederation but I don't believe it's required. We can mention it in the documentation as you suggested.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Will add.

@hongliangl hongliangl force-pushed the 20241205-bgp-confederation branch 2 times, most recently from c0448d7 to d553698 Compare January 17, 2025 02:48
Copy link
Contributor

@antoninbas antoninbas left a comment

Choose a reason for hiding this comment

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

LGTM

luolanzone
luolanzone previously approved these changes Jan 20, 2025
pkg/apis/crd/v1alpha1/types.go Outdated Show resolved Hide resolved
@antoninbas antoninbas merged commit b399b26 into antrea-io:main Jan 22, 2025
51 of 60 checks passed
@hongliangl hongliangl deleted the 20241205-bgp-confederation branch January 23, 2025 00:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
action/release-note Indicates a PR that should be included in release notes. area/transit/bgp Issues or PRs related to BGP support.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants