-
Notifications
You must be signed in to change notification settings - Fork 129
CORE-11417: added localASNumber field to BGPPeer #2158
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
base: main
Are you sure you want to change the base?
CORE-11417: added localASNumber field to BGPPeer #2158
Conversation
✅ Deploy Preview for calico-docs-preview-next ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
❌ Deploy Preview for tigera failed. Why did it fail? →
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@skoryk-oleksandr the target release is v3.31
.
Co-authored-by: Mazdak Nasab <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very small nit.
You've currently got this aimed form OSS 3.31 and CE 3.22 EP1. Is that right? Does this change need to go into 3.22 EP2, which sill incorporate code from 3.31?
@@ -43,6 +43,7 @@ spec: | |||
| node | If specified, the scope is node level, otherwise the scope is global. | The hostname of the node to which this peer applies. | string | | | |||
| peerIP | The IP address of this peer and an optional port number. If port number is not set, and peer is Calico node with `listenPort` set, then `listenPort` is used. | Valid IPv4 or IPv6 address. If port number is set use, `IPv4:port` or `[IPv6]:port` format. | string | | | |||
| asNumber | The remote AS Number of the peer. | A valid AS Number, may be specified in dotted notation. | integer/string | | |||
| localASNumber | Specifies AS Number $[prodname] uses as its local AS Number for this peer, overriding the global AS Number set in the default BGPConfiguration. | A valid AS Number, may be specified in dotted notation. | integer/string | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| localASNumber | Specifies AS Number $[prodname] uses as its local AS Number for this peer, overriding the global AS Number set in the default BGPConfiguration. | A valid AS Number, may be specified in dotted notation. | integer/string | | |
| localASNumber | Specifies AS Number $[prodname] uses as its local AS Number for this peer, overriding the global AS Number set in the default BGPConfiguration. | A valid AS Number, may be specified in dotted notation. | integer/string | |
Same in repeated section below.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
@ctauchen We are targeting it for |
Thanks. I'll hold this until I cut 3.22 ep1, then I'll merge. |
Product Version(s):
OSS v3.31
Enterprise v3.22 EP2
Issue:
https://tigera.atlassian.net/browse/CORE-11417
Link to docs preview:
SME review:
DOCS review:
Additional information:
This PR introduces support for the optional localASNumber field within the BGPPeer resource in Calico. When specified, localASNumber sets the local ASN that Calico will use to establish the BGP session with the peer. This value overrides the default asNumber for that specific BGP peer only.
Key behavior:
If localASNumber is set, it takes precedence over the asNumber field for the local ASN used in the BGP session.
If localASNumber is omitted, the default asNumber is used.
This field is supported for both global and node-specific peers.
Use case:
Merge checklist: