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 add supported_feature_set for VCD 10.4 #878

Merged
merged 25 commits into from
Jul 28, 2022

Conversation

adambarreiro
Copy link
Collaborator

@adambarreiro adambarreiro commented Jul 1, 2022

This PR is not associated to any issue.
This PR depends on vmware/go-vcloud-director#485

Description

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

  • vcd_nsxt_alb_controller resource and data source must not use license_type attribute from 10.4 (v37.0) onwards
  • vcd_nsxt_alb_service_engine_group resource and data source require a new supported_feature_set attribute to be compatible with 10.4 (v37.0) that replaces the above license_type
  • vcd_nsxt_alb_settings resource and data source require a new supported_feature_set attribute to be compatible with 10.4 (v37.0) that replaces the above license_type

The goal of this PR is to adapt the mentioned resources and data sources to make the Terraform Provider compatible with v37.0 of the API (VCD 10.4).

In consequence, the failing tests have been adapted and resources and datasources have changed the mentioned required/optional attributes.

Tests

  • alb tag passes on any VCD
  • Tests pass on VCD 10.2
  • Tests pass on VCD 10.3
  • Tests pass on VCD 10.4

abarreiro added 9 commits June 30, 2022 15:52
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>
#
Signed-off-by: abarreiro <abarreiro@vmware.com>
fmt
Signed-off-by: abarreiro <abarreiro@vmware.com>
Signed-off-by: abarreiro <abarreiro@vmware.com>
Signed-off-by: abarreiro <abarreiro@vmware.com>
@adambarreiro adambarreiro self-assigned this Jul 1, 2022
Signed-off-by: abarreiro <abarreiro@vmware.com>
@adambarreiro adambarreiro marked this pull request as ready for review July 1, 2022 11:21
abarreiro added 2 commits July 1, 2022 13:32
Signed-off-by: abarreiro <abarreiro@vmware.com>
Signed-off-by: abarreiro <abarreiro@vmware.com>
@lvirbalas lvirbalas removed the request for review from vbauzys July 15, 2022 12:14
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.

Few small asks.

@adambarreiro adambarreiro changed the title Update ALB service engine group and ALB settings to add supported_feature_set for API higher than v37.0 Update ALB service engine group and ALB settings to add supported_feature_set for VCD 10.4 Jul 18, 2022
abarreiro added 3 commits July 18, 2022 17:17
Signed-off-by: abarreiro <abarreiro@vmware.com>
Signed-off-by: abarreiro <abarreiro@vmware.com>
Signed-off-by: abarreiro <abarreiro@vmware.com>
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.

LGTM!

Signed-off-by: abarreiro <abarreiro@vmware.com>
abarreiro added 7 commits July 26, 2022 14:50
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>
…o/terraform-provider-vcd into update-avi-licensing

Signed-off-by: abarreiro <abarreiro@vmware.com>
Signed-off-by: abarreiro <abarreiro@vmware.com>
Signed-off-by: abarreiro <abarreiro@vmware.com>
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.

Left a few minor comments which need addressing. We should be good after that.

Signed-off-by: abarreiro <abarreiro@vmware.com>
Signed-off-by: abarreiro <abarreiro@vmware.com>
@adambarreiro adambarreiro merged commit ba11176 into vmware:main Jul 28, 2022
@adambarreiro adambarreiro deleted the update-avi-licensing branch July 28, 2022 08:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants