Skip to content

Host Switch Profile #49

@praveenpr78

Description

@praveenpr78

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions