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

Update ALB service engine group and ALB settings to support SupportedFeatureSet in VCD 10.4 #485

Merged
merged 13 commits into from
Jul 28, 2022

Conversation

adambarreiro
Copy link
Collaborator

@adambarreiro adambarreiro commented Jun 24, 2022

This PR is not associated to any issue.

Description

When executing the tests using VCD 10.4, I found that some of them were failing due to:

  • ALB Controller does not use LicenseType attribute in 10.4 (v37.0)
  • ALB Service Engine Group has a new SupportedFeatureSet in 10.4 (v37.0) that replaces the above LicenseType
  • ALB Settings has a new SupportedFeatureSet in 10.4 (v37.0) that replaces the above LicenseType

The goal of this PR is to adapt the mentioned data structures to make the Go SDK compatible with v37.0 of the API (VCD 10.4).

In consequence, the failing tests have been adapted and some functions now use getOpenApiHighestElevatedVersion to support both old and new scenarios.

Tests

  • Tests pass on VCD 10.2
  • Tests pass on VCD 10.3
  • Tests pass on VCD 10.4

Signed-off-by: abarreiro <abarreiro@vmware.com>
#
Signed-off-by: abarreiro <abarreiro@vmware.com>
@adambarreiro adambarreiro changed the title Update tests for new AVI licensing Update tests and types for new AVI licensing Jun 24, 2022
@adambarreiro adambarreiro changed the title Update tests and types for new AVI licensing Update tests and types for AVI licensing changes Jun 24, 2022
@adambarreiro adambarreiro changed the title Update tests and types for AVI licensing changes Move AVI license from controller to service engine group Jun 24, 2022
Signed-off-by: abarreiro <abarreiro@vmware.com>
@adambarreiro adambarreiro self-assigned this Jun 24, 2022
@adambarreiro adambarreiro marked this pull request as ready for review June 24, 2022 10:14
Signed-off-by: abarreiro <abarreiro@vmware.com>
@adambarreiro
Copy link
Collaborator Author

Moving back to Draft as I got some test results today that showed that also changes in Edge Gateway must also be done.

@adambarreiro adambarreiro marked this pull request as draft June 27, 2022 07:31
abarreiro added 5 commits June 27, 2022 10:44
Signed-off-by: abarreiro <abarreiro@vmware.com>
Signed-off-by: abarreiro <abarreiro@vmware.com>
Signed-off-by: abarreiro <abarreiro@vmware.com>
Signed-off-by: abarreiro <abarreiro@vmware.com>
Signed-off-by: abarreiro <abarreiro@vmware.com>
@adambarreiro adambarreiro marked this pull request as ready for review June 29, 2022 14:24
@adambarreiro adambarreiro changed the title Move AVI license from controller to service engine group Update ALB service engine group and ALB settings to support SupportedFeatureSet Jun 29, 2022
@lvirbalas
Copy link
Collaborator

Please expand the Description of this PR with context of why this is needed, what has changed in VCD and in which version. Thanks!

@adambarreiro adambarreiro changed the title Update ALB service engine group and ALB settings to support SupportedFeatureSet Update ALB service engine group and ALB settings to support SupportedFeatureSet in API v37.0 Jun 30, 2022
@adambarreiro
Copy link
Collaborator Author

Please expand the Description of this PR with context of why this is needed, what has changed in VCD and in which version. Thanks!

Updated, please check now. Please let me know whether I should change something else or if it's OK now!
Thanks.

Copy link
Collaborator

@lvirbalas lvirbalas left a comment

Choose a reason for hiding this comment

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

Thanks!

Copy link
Collaborator

@Didainius Didainius left a comment

Choose a reason for hiding this comment

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

I left a few non major comments and approving.

@lvirbalas lvirbalas removed the request for review from vbauzys July 15, 2022 06:56
@adambarreiro adambarreiro changed the title Update ALB service engine group and ALB settings to support SupportedFeatureSet in API v37.0 Update ALB service engine group and ALB settings to support SupportedFeatureSet in VCD 10.4 Jul 18, 2022
abarreiro added 4 commits July 19, 2022 09:31
Signed-off-by: abarreiro <abarreiro@vmware.com>
Signed-off-by: abarreiro <abarreiro@vmware.com>
Signed-off-by: abarreiro <abarreiro@vmware.com>
Signed-off-by: abarreiro <abarreiro@vmware.com>
@adambarreiro adambarreiro merged commit 5376374 into vmware:main Jul 28, 2022
@adambarreiro adambarreiro deleted the update-avi-licensing branch July 28, 2022 08:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants