OpenStack: Dual stack support with BYON#6797
OpenStack: Dual stack support with BYON#6797openshift-merge-robot merged 1 commit intoopenshift:masterfrom
Conversation
|
Skipping CI for Draft Pull Request. |
10f072a to
1bf3a3c
Compare
1bf3a3c to
c11c5c1
Compare
8f53871 to
48035ce
Compare
37ed291 to
0b88531
Compare
386c284 to
e2fb040
Compare
12a7fcf to
7f99510
Compare
dc62708 to
6bd7d53
Compare
|
/retest |
e2593b5 to
737100f
Compare
There was a problem hiding this comment.
Is the network required here?
There was a problem hiding this comment.
No, because machinesSubnet only contains info about the subnet and that would be the only info added to controlPlanePort during conversion.
509f23a to
5b7586e
Compare
This commit adds dual stack support with bring your own network for OpenStack platform. The new ControlPlanePort field accepts IPv4/IPv6 subnets and the network in the install config, while the machinesSubnet only supports IPv4 Subnets and is deprecated.
5b7586e to
6df11aa
Compare
| } | ||
|
|
||
| // validateMachinesSubnet validates the machines subnet and enforces proper byo subnet usage and returns a list of all validation errors | ||
| func validateMachinesSubnet(p *openstack.Platform, n *types.Networking, ci *CloudInfo, fldPath *field.Path) (allErrs field.ErrorList) { |
There was a problem hiding this comment.
This validation function is being removed because the machineSubnets config would be converted to controlPlanePort's network config before it is validated (i.e when the deprecated config is provided by the user and not the new config)?
There was a problem hiding this comment.
Yes.
The conversion happens when loading the install-config, which happens before the platform validation.
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dulek, sadasu The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/lgtm |
|
/retest-required |
|
/retest |
1 similar comment
|
/retest |
|
/test okd-images |
|
/hold Revision 6df11aa was retested 3 times: holding |
|
/test okd-scos-images |
|
/hold cancel |
|
@MaysaMacedo: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
This commit adds dual stack support with bring your own network
for OpenStack platform. The new
ControlPlanePortfield accepts IPv4/IPv6subnets and the network in the install config, while the
machinesSubnetthat only supports IPv4 Subnets is deprecated.
Partially implements: openshift/enhancements#1365