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

Vpc branch merge #1482

Merged
merged 214 commits into from
Dec 27, 2024
Merged

Vpc branch merge #1482

merged 214 commits into from
Dec 27, 2024

Conversation

annakhm
Copy link
Collaborator

@annakhm annakhm commented Dec 16, 2024

This merges VPC related work that was developed under vpc-feature-branch back to master

annakhm and others added 30 commits July 11, 2024 00:43
Signed-off-by: Anna Khmelnitsky <akhmelnitsky@vmware.com>
Signed-off-by: Kobi Samoray <ksamoray@vmware.com>
Revise GitHub actions files to run on feature branches
Signed-off-by: Anna Khmelnitsky <akhmelnitsky@vmware.com>
nsxt_policy_vpc datasource has been renamed to nsxt_vpc

Signed-off-by: Kobi Samoray <kobi.samoray@broadcom.com>
Switch to updated temporary SDK
Fix VPC documentation with correct DS name
VPC datasource test is failing as the context block shouldn't have the VPC itself

Signed-off-by: Kobi Samoray <kobi.samoray@broadcom.com>
This would apply to all resources that inherit from
ManagedResource object. Length limits are taked from NSX
spec and are enforced by NSX, hence we're not breaking
backwards compatibility for valid terraform configs.

Signed-off-by: Anna Khmelnitsky <akhmelnitsky@vmware.com>
Fix failing tests on vpc20 branch
Generated with command line params below:
GatewayConnection --no-api-wrapper

Signed-off-by: Kobi Samoray <ksamoray@vmware.com>
Signed-off-by: Anna Khmelnitsky <akhmelnitsky@vmware.com>
Signed-off-by: Kobi Samoray <kobi.samoray@broadcom.com>
Test for this data source is covered together with VPC group
resource test.

Signed-off-by: Anna Khmelnitsky <akhmelnitsky@vmware.com>
Gateway connection resource for VPC v2.0
Add new member types to group criteria
Signed-off-by: Kobi Samoray <kobi.samoray@broadcom.com>
To avoid entry of invalid ids to the context fields.

Signed-off-by: Kobi Samoray <kobi.samoray@broadcom.com>
Extended tests will be added as follow up

Signed-off-by: Anna Khmelnitsky <akhmelnitsky@vmware.com>
Signed-off-by: Anna Khmelnitsky <akhmelnitsky@vmware.com>
Fix nsxt_vpc_group datasource documentation
Add id field validator and apply to context ids
Signed-off-by: Kobi Samoray <kobi.samoray@broadcom.com>
Signed-off-by: Kobi Samoray <kobi.samoray@broadcom.com>
Signed-off-by: Anna Khmelnitsky <akhmelnitsky@vmware.com>
annakhm and others added 15 commits October 23, 2024 09:17
Remove context from transit gateway attachment resource
Clarify VPC group documentation
nsxt_policy_project has a default_security_profile attribute but it was not handled correctly in read operation.

Signed-off-by: Kobi Samoray <kobi.samoray@broadcom.com>
Handle default_security_profile attribute in project read func
This is the new way of attaching connectivity profile to vpc,
hence the profile attribute is also removed from vpc resource

Signed-off-by: Anna Khmelnitsky <akhmelnitsky@vmware.com>
Path parsing func parseStandardPolicyPath() didn't handle well project paths, seems like it could only handle sub-project objects.

Signed-off-by: Kobi Samoray <kobi.samoray@broadcom.com>
Handle project path parsing properly
Signed-off-by: Anna Khmelnitsky <akhmelnitsky@vmware.com>
Adjust to DHCP changes in service and subnet
Signed-off-by: Anna Khmelnitsky <akhmelnitsky@vmware.com>
This follows fix on NSX

Signed-off-by: Anna Khmelnitsky <akhmelnitsky@vmware.com>
Allow updating IP allocation under project or VPC
Signed-off-by: Anna Khmelnitsky <akhmelnitsky@vmware.com>
@vmwclabot
Copy link
Member

@annakhm, you must sign every commit in this pull request acknowledging our Developer Certificate of Origin before your changes are merged. This can be done by adding Signed-off-by: John Doe <john.doe@email.org> to the last line of each Git commit message. The e-mail address used to sign must match the e-mail address of the Git author. Click here to view the Developer Certificate of Origin agreement.

@vmwclabot vmwclabot added the dco-required DCO Required label Dec 16, 2024
@vmwclabot
Copy link
Member

@annakhm, you must sign every commit in this pull request acknowledging our Developer Certificate of Origin before your changes are merged. This can be done by adding Signed-off-by: John Doe <john.doe@email.org> to the last line of each Git commit message. The e-mail address used to sign must match the e-mail address of the Git author. Click here to view the Developer Certificate of Origin agreement.

Signed-off-by: Anna Khmelnitsky <akhmelnitsky@vmware.com>
@vmwclabot
Copy link
Member

@annakhm, you must sign every commit in this pull request acknowledging our Developer Certificate of Origin before your changes are merged. This can be done by adding Signed-off-by: John Doe <john.doe@email.org> to the last line of each Git commit message. The e-mail address used to sign must match the e-mail address of the Git author. Click here to view the Developer Certificate of Origin agreement.

This has been broken, as the importer helper did not return the schema when it was detected that the parameter isn't a policy path.

Signed-off-by: Kobi Samoray <kobi.samoray@broadcom.com>
@vmwclabot
Copy link
Member

@annakhm, you must sign every commit in this pull request acknowledging our Developer Certificate of Origin before your changes are merged. This can be done by adding Signed-off-by: John Doe <john.doe@email.org> to the last line of each Git commit message. The e-mail address used to sign must match the e-mail address of the Git author. Click here to view the Developer Certificate of Origin agreement.

This is relevant for NSX 9.0.0 onwards.
In addition, mark `default_security_profile` as Computed to
avoid non-empty diff.

Signed-off-by: Anna Khmelnitsky <akhmelnitsky@vmware.com>
@vmwclabot
Copy link
Member

@annakhm, you must sign every commit in this pull request acknowledging our Developer Certificate of Origin before your changes are merged. This can be done by adding Signed-off-by: John Doe <john.doe@email.org> to the last line of each Git commit message. The e-mail address used to sign must match the e-mail address of the Git author. Click here to view the Developer Certificate of Origin agreement.

Copy link
Member

@salv-orlando salv-orlando left a comment

Choose a reason for hiding this comment

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

LGTM!

@salv-orlando salv-orlando merged commit a8ed888 into master Dec 27, 2024
5 checks passed
@salv-orlando salv-orlando deleted the vpc-merge branch December 27, 2024 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dco-required DCO Required
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants