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

Network pool resource #1115

Merged
merged 64 commits into from
Nov 14, 2023
Merged

Network pool resource #1115

merged 64 commits into from
Nov 14, 2023

Conversation

dataclouder
Copy link
Contributor

@dataclouder dataclouder commented Sep 6, 2023

Add network pool resource and improve network pool data source

  • Add network pool resource
    • Type GENEVE
    • Type Portgroup-backed
    • Type VLAN
    • Read
    • Create
    • Update
    • Delete
    • Import
  • Improve network pool data source
  • Add retrieval of needed entities through vcd_resource_list
    • vCenter
    • NSX-T manager
    • distributed switches
    • transport zones
    • port groups
  • Add network pool creation, update, and import test
  • Add network pool creation to Provider VDC test
  • Write docs
  • Add changelog entries
  • Fix Issue Data source vcd_vcenter fails when name contains spaces #1112

Giuseppe Maxia added 15 commits September 5, 2023 16:45
* vcd_vcenter
* vcd_nxst_manager
* vcd_network_pool
* vcd_nsxt_transport_zone
* vcd_importable_port_group
* vcd_distributed_switch

Signed-off-by: Giuseppe Maxia <[email protected]>
Signed-off-by: Giuseppe Maxia <[email protected]>
Add ability of checking for any (unnamed) item returned

Signed-off-by: Giuseppe Maxia <[email protected]>
Signed-off-by: Giuseppe Maxia <[email protected]>
Signed-off-by: Giuseppe Maxia <[email protected]>
Signed-off-by: Giuseppe Maxia <[email protected]>
@dataclouder dataclouder self-assigned this Sep 27, 2023
Giuseppe Maxia added 12 commits September 27, 2023 21:39
Signed-off-by: Giuseppe Maxia <[email protected]>
Signed-off-by: Giuseppe Maxia <[email protected]>
Signed-off-by: Giuseppe Maxia <[email protected]>
Signed-off-by: Giuseppe Maxia <[email protected]>
Signed-off-by: Giuseppe Maxia <[email protected]>
Signed-off-by: Giuseppe Maxia <[email protected]>
@dataclouder dataclouder marked this pull request as ready for review September 29, 2023 08:59
Giuseppe Maxia added 6 commits October 23, 2023 17:30
Add ability of using multiple port groups

Signed-off-by: Giuseppe Maxia <[email protected]>
Signed-off-by: Giuseppe Maxia <[email protected]>
Signed-off-by: Giuseppe Maxia <[email protected]>
@dataclouder dataclouder marked this pull request as ready for review October 24, 2023 10:56
Giuseppe Maxia added 2 commits October 26, 2023 20:29
Signed-off-by: Giuseppe Maxia <[email protected]>
Signed-off-by: Giuseppe Maxia <[email protected]>
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 have experimented configuring with ways that are possible in UI and gone over the examples in documentation.

Tests passed on multiple versions 10.4.1<->10.5.0

vcd/resource_vcd_network_pool.go Outdated Show resolved Hide resolved
website/docs/r/network_pool.html.markdown Outdated Show resolved Hide resolved
website/docs/r/network_pool.html.markdown Show resolved Hide resolved
website/docs/r/network_pool.html.markdown Show resolved Hide resolved
vcd/datasource_vcd_resource_list.go Outdated Show resolved Hide resolved
vcd/resource_vcd_network_pool_test.go Outdated Show resolved Hide resolved
website/docs/r/network_pool.html.markdown Outdated 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! Tests passed on the latest VCD version.

Giuseppe Maxia added 5 commits October 31, 2023 12:05
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.

Really like the new approach for the backing selection! Please find some suggestions inline (mainly polishing the idea further).

website/docs/r/network_pool.html.markdown Outdated Show resolved Hide resolved
website/docs/r/network_pool.html.markdown Outdated Show resolved Hide resolved
website/vcd.erb Outdated Show resolved Hide resolved
website/docs/r/network_pool.html.markdown Outdated Show resolved Hide resolved
website/docs/r/network_pool.html.markdown Outdated Show resolved Hide resolved
website/docs/r/network_pool.html.markdown Outdated Show resolved Hide resolved
Giuseppe Maxia added 5 commits November 10, 2023 05:38
Signed-off-by: Giuseppe Maxia <[email protected]>
Signed-off-by: Giuseppe Maxia <[email protected]>
Signed-off-by: Giuseppe Maxia <[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.

It looks great now! Thank you for all the optimizations!

Copy link

@adezxc adezxc left a comment

Choose a reason for hiding this comment

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

Great test functions, will definitely take notes from that!

Giuseppe Maxia added 2 commits November 14, 2023 16:04
Signed-off-by: Giuseppe Maxia <[email protected]>
@dataclouder dataclouder merged commit a1637f4 into vmware:main Nov 14, 2023
3 checks passed
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