NSX-T Data Center REST API

# *************************************************************************** # Copyright 2020-2024 VMware, Inc. All rights reserved. VMware Confidential. # ***************************************************************************

HostSwitchState (schema)

Host Switch State

Name Description Type Notes
endpoints List of virtual tunnel endpoints which are configured on this switch array of Endpoint Readonly
host_switch_id External ID of the HostSwitch string Readonly
host_switch_name HostSwitch name. This name will be used to reference this HostSwitch.

The name must be unique among all host switches specified in a given Transport Node.
string Readonly
host_switch_type Type of HostSwitch

VDS represents VMware vSphere Distributed Switch from vSphere that is used as HostSwitch through TransportNode or TransportNodeProfile configuration. When VDS is used as a HostSwitch, Hosts have to be added to VDS from vSphere and VDS instance is created on Hosts. To configure NSX on such hosts, you can use this VDS as a HostSwitch from NSX manager. vCenter has the ownership of MTU, LAG, NIOC and LLDP configuration of such VDS backed HostSwitch. Remaining configuration (e.g. UplinkHostswitchProfile) will be managed by NSX. NVDS represents NSX Virtual Switch which is NSX native HostSwitch. All configurations of NVDS will be managed by NSX.
string Enum: NVDS, VDS
Default: "NVDS"
nsx_configured_uplinks List of VDS uplink(s) configured by NSX

This field, populated by system, lists which VDS uplinks are configured and in use by NSX.
Starting with NSX 9.1 release, when IpAssignmentspec.FromEsxiVmknic is specified in HostTransportNode config, uplink
hostswitch profile and hence NSX uplink to Vds uplink mapping is not required. Regardless of which IpAssignmentspec
used this field will always be populated.
array of string Readonly
transport_zone_ids List of Ids of TransportZones this HostSwitch belongs to array of string Readonly
vtepless The realized VTEP state of the host-switch on the host.

This field is populated by system if the VDS joins default overlay transport zone.
It will indicate if the TransportNode contains at least one VTEP connected to the VDS.
boolean