This PR adds support for VCD Network Profile configuration. It is a prerequisite of https://github.com/vmware/terraform-provider-vcd/pull/921. VDC Network Profile configuration is required so that one can assign NSX-T Edge Cluster to VDC. This, in turn, gives the chance to configure DHCP service for NSX-T Isolated Org VDC networks.
The configuration itself is applied for VDC. It has a few rudimentary settings for NSX-V, which are not the scope of this PR and not tested (still should be working for those who can benefit from them in NSX-V world).
The code itself contains API elevation for API 36.2+ (VCD 10.3.2+) where two new configurations appeared - vApp and VDC Segment Profile templates. They also remain untested here as we don't yet have support for them in SDK and the goal of this PR is to add support for NSX-T Edge Cluster assignment to VDC (field ServicesEdgeCluster)
Additionally code for retrieving NSX-T Edge Clusters was improved:
vdc.GetAllNsxtEdgeClusters has changed the code to use filtering field orgVdcId instead of deprecated _context field.
New functions added VCDClient.GetAllNsxtEdgeClusters which are not bound to VDC. They accept customer filter, which can be defined by consumer. NSX-T Edge Clusters can be filtered by Org VDC (orgVdcId), VDC Group ID (vdcGroupId), and Provider VDC ID (pvdcId)
This PR adds support for VCD Network Profile configuration. It is a prerequisite of https://github.com/vmware/terraform-provider-vcd/pull/921. VDC Network Profile configuration is required so that one can assign NSX-T Edge Cluster to VDC. This, in turn, gives the chance to configure DHCP service for NSX-T Isolated Org VDC networks.
The configuration itself is applied for VDC. It has a few rudimentary settings for NSX-V, which are not the scope of this PR and not tested (still should be working for those who can benefit from them in NSX-V world).
The code itself contains API elevation for API 36.2+ (VCD 10.3.2+) where two new configurations appeared - vApp and VDC Segment Profile templates. They also remain untested here as we don't yet have support for them in SDK and the goal of this PR is to add support for NSX-T Edge Cluster assignment to VDC (field
ServicesEdgeCluster
)Additionally code for retrieving NSX-T Edge Clusters was improved:
vdc.GetAllNsxtEdgeClusters
has changed the code to use filtering fieldorgVdcId
instead of deprecated_context
field.VCDClient.GetAllNsxtEdgeClusters
which are not bound to VDC. They accept customer filter, which can be defined by consumer. NSX-T Edge Clusters can be filtered by Org VDC (orgVdcId
), VDC Group ID (vdcGroupId
), and Provider VDC ID (pvdcId
)