vmware / go-vcloud-director

Golang SDK for VMware Cloud Director
Other
80 stars 76 forks source link

Add support for DVPG backed imported NSX-T Org VDC networks #564

Closed Didainius closed 1 year ago

Didainius commented 1 year ago

This PR adds support for importable Distributed Virtual Port Group (DVPG) read via typesVcenterImportableDvpg and types.VcenterImportableDvpg and methods VCDClient.GetVcenterImportableDvpgByName, VCDClient.GetAllVcenterImportableDvpgs, Vdc.GetVcenterImportableDvpgByName, Vdc.GetAllVcenterImportableDvpgs

Additionally, it adds a new test Test_NsxtOrgVdcNetworkImportedDistributedVirtualPortGroup which tests that imported Org VDC network can be backed by DVPG.

Note. Imported network backed by VDC Group can only be created in VDC and not VDC Groups

Test Config adds a new field Dvpg so that DVPG name can be supplied