-
Notifications
You must be signed in to change notification settings - Fork 31
Add SubnetIDs field to support multiple subnets for machine instances #347
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: master
Are you sure you want to change the base?
Conversation
|
The Gardener project currently lacks enough active contributors to adequately respond to all PRs.
You can:
/lifecycle stale |
|
/remove-lifecycle stale |
|
@axel7born Command |
| // +optional | ||
| SubnetID *string `json:"subnetID,omitempty"` | ||
| // SubnetIDs is a list of IDs of the subnets the instance should belong to. | ||
| SubnetIDs []string `json:"subnetIDs,omitempty"` |
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.
SubnetIDs is optional, right?
It would probably also make sense to mention that SubnetID and SubnetIDs are currently merged.
Also, the doc comment on SubnetID looks odd / unfinished.
Should we deprecate SubnetID and add a TODO noting its removal in, say, three releases?
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.
SubnetIDsis optional, right? It would probably also make sense to mention that SubnetID and SubnetIDs are currently merged.
Yes, SubnetIDs is optional.
Also, the doc comment on
SubnetIDlooks odd / unfinished. Should we deprecate SubnetID and add a TODO noting its removal in, say, three releases?
I deleted the the unfinished sentence. In provider-openstack SubnetID is always set. I have no idea what should happen if it's omitted.
I'm not sure about a deprecation. For me it would be fine, if we have both for some time.
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.
I Just had a quick discussion with @kon-angelo about the deprecation.
If we add the comment (// Deprecated ...) for the SubnetID field now we can remove it in a future release and already switch to using the SubnetIDs field only in the provider extension.
9714600 to
43fe861
Compare
43fe861 to
1d896b4
Compare
|
@axel7born Can you please add a deprecation announcement in the release notes? |
How to categorize this PR?
/area networking
/kind enhancement
/platform openstack
What this PR does / why we need it:
To enable dual-stack support for provider-openstack, servers require IPv6 addresses. This is accomplished by connecting servers to an IPv6 subnet. Consequently, configuring two subnets is necessary for dual-stack functionality.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note: