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

Add vcd_ip_space resource and data source #1061

Merged
merged 19 commits into from
Jun 20, 2023
Merged

Conversation

Didainius
Copy link
Collaborator

@Didainius Didainius commented May 30, 2023

This PR starts addressing IP space needs as requested in #1008
It only adds resource and data source vcd_ip_space in this PR, while the next PRs will add an integration layer for other components.

other things

  • make fmt adds -s flag because make fmtcheck expects it
  • TestAccDataSourceNotFound/vcd_nsxt_firewall and TestAccDataSourceNotFound/vcd_nsxt_route_advertisement were broken and are fixed as part of this PR

Didainius added 7 commits May 30, 2023 14:13
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
@Didainius Didainius marked this pull request as ready for review May 31, 2023 06:37
@Didainius Didainius removed the request for review from lvirbalas May 31, 2023 06:41
@Didainius Didainius mentioned this pull request Jun 1, 2023
Copy link
Collaborator

@adambarreiro adambarreiro left a comment

Choose a reason for hiding this comment

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

First scan, just a few doubts

website/docs/d/ip_space.html.markdown Outdated Show resolved Hide resolved
website/docs/r/ip_space.html.markdown Outdated Show resolved Hide resolved
vcd/resource_vcd_ip_space_test.go Outdated Show resolved Hide resolved
vcd/resource_vcd_ip_space_test.go Outdated Show resolved Hide resolved
website/docs/r/ip_space.html.markdown Outdated Show resolved Hide resolved
vcd/datasource_vcd_ip_space.go Show resolved Hide resolved
vcd/resource_vcd_ip_space.go Show resolved Hide resolved
vcd/resource_vcd_ip_space.go Outdated Show resolved Hide resolved
vcd/resource_vcd_ip_space_test.go Outdated Show resolved Hide resolved
vcd/resource_vcd_ip_space_test.go Outdated Show resolved Hide resolved
vcd/resource_vcd_ip_space_test.go Outdated Show resolved Hide resolved
vcd/resource_vcd_ip_space_test.go Outdated Show resolved Hide resolved
vcd/resource_vcd_ip_space_test.go Outdated Show resolved Hide resolved
website/docs/r/ip_space.html.markdown Outdated Show resolved Hide resolved
Didainius added 7 commits June 8, 2023 15:34
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
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.

Awesome feature! Please find few suggestions inline.

vcd/resource_vcd_ip_space.go Outdated Show resolved Hide resolved
vcd/resource_vcd_ip_space.go Outdated Show resolved Hide resolved
website/docs/r/ip_space.html.markdown Outdated Show resolved Hide resolved
website/docs/r/ip_space.html.markdown Outdated Show resolved Hide resolved
website/docs/r/ip_space.html.markdown Outdated Show resolved Hide resolved
Signed-off-by: Dainius Serplis <[email protected]>
vcd/resource_vcd_ip_space.go Show resolved Hide resolved
Copy link
Collaborator

@adambarreiro adambarreiro left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks.

Signed-off-by: Dainius Serplis <[email protected]>
Copy link
Contributor

@dataclouder dataclouder left a comment

Choose a reason for hiding this comment

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

Tests pass in all versions.
LGTM

Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
@Didainius Didainius merged commit f7178a9 into vmware:main Jun 20, 2023
@Didainius Didainius deleted the ipspaces11 branch June 20, 2023 08:01
adezxc pushed a commit that referenced this pull request Oct 16, 2023
* **New Resource:** `vcd_nsxt_edgegateway_l2_vpn_tunnel` to manage Edge Gateway L2 VPN Tunnel sessions [GH-1061]
* **New Data Source:** `vcd_nsxt_edgegateway_l2_vpn_tunnel` to read Edge Gateway L2 VPN Tunnel sessions [GH-1061]

---------

Signed-off-by: Adam Jasinski <[email protected]>
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.

5 participants