github.com/vmware/go-vmware-nsxt@v0.0.0-20230223012718-d31b8a1ca05e/manager/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 // Host Switch specification 9 type HostSwitch 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 // HostSwitch profiles bound to this HostSwitch. 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 HostSwitch. 15 HostSwitchProfileIds []HostSwitchProfileTypeIdEntry `json:"host_switch_profile_ids,omitempty"` 16 17 // Physical NICs connected to the host switch 18 Pnics []Pnic `json:"pnics,omitempty"` 19 20 // ID of configured Static IP Pool. If specified allocate IP for Endpoints from Pool. Else assume IP will be assigned for Endpoints from DHCP. This field is deprecated, use ip_assignment_spec field instead. 21 StaticIpPoolId string `json:"static_ip_pool_id,omitempty"` 22 }