github.com/vmware/go-vmware-nsxt@v0.0.0-20230223012718-d31b8a1ca05e/manager/standard_host_switch.go (about)

     1  /* Copyright © 2017 VMware, Inc. All Rights Reserved.
     2     SPDX-License-Identifier: BSD-2-Clause
     3  
     4     Generated by: https://github.com/swagger-api/swagger-codegen.git */
     5  
     6  package manager
     7  
     8  // Standard host switch specification
     9  type StandardHostSwitch struct {
    10  
    11  	// If this name is unset or empty then the default host switch name will be used. The name must be unique among all host switches specified in a given transport node; unset name, empty name and the default host switch name are considered the same in terms of uniqueness.
    12  	HostSwitchName string `json:"host_switch_name,omitempty"`
    13  
    14  	// host switch profiles bound to this host switch. If a profile ID is not provided for any HostSwitchProfileType that is supported by the transport node, the corresponding default profile will be bound to the host switch.
    15  	HostSwitchProfileIds []HostSwitchProfileTypeIdEntry `json:"host_switch_profile_ids,omitempty"`
    16  
    17  	// IPs can come from either a static IP pool or an explicitly specified IP list or DHCP. In case a list of IP is specified, the number of IPs provided should be sufficient as per teaming policy associated with host switch uplink profile.
    18  	IpAssignmentSpec *IpAssignmentSpec `json:"ip_assignment_spec,omitempty"`
    19  
    20  	// Physical NICs connected to the host switch
    21  	Pnics []Pnic `json:"pnics,omitempty"`
    22  }