Host Switch Profile
Describe the bug
Hi Team, We are from HPE and we have a requirement to automate the configuration of NSXT using Terraform. We are using this provider, https://registry.terraform.io/providers/vmware/nsxt/latest which refers to the Go library for Vmware NSX-T REST APIs in https://github.com/vmware/go-vmware-nsxt.
We were successfull in adding resources for transport zone and compute manager but while adding a resource for host switch profile we are hitting a blocker in the go library.
go-vmware-nsxt-master/network_transport_api (line no. 345) has the input from the struct manager.BaseHostSwitchProfile as shown below func (a *NetworkTransportApiService) CreateHostSwitchProfile(ctx context.Context, baseHostSwitchProfile manager.BaseHostSwitchProfile) (manager.BaseHostSwitchProfile, *http.Response, error) {
But, manager.BaseHostSwitchProfile does not have the required properties All the required properties are defined in manager.UplinkHostSwitchProfile Also BaseHostSwitchProfile does not have any reference to UplinkHostSwitchProfile host_switch_profile.zip
Please let us know how to get over this issue
Reproduction steps
1.
2.
3.
...
Expected behavior
NA
Additional context
No response
Hi @praveenpr78, I would suggest you consider using the new sdk https://github.com/vmware/vsphere-automation-sdk-go/tree/master/services/nsxt-mp. This sdk is mostly obsolete and is not actively updated with new NSX features and bugfixes, while the new sdk is mostly up-to-date.