HostProxySwitch

HostProxySwitch
HostProxySwitch

The HostProxySwitch is a software entity which represents the component of a DistributedVirtualSwitch on a particular host.

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "dvsUuid": "string",
    "dvsName": "string",
    "key": "string",
    "numPorts": 0,
    "configNumPorts": 0,
    "numPortsAvailable": 0,
    "uplinkPort": [
        {
            "_typeName": "string",
            "key": "string",
            "value": "string"
        }
    ],
    "mtu": 0,
    "pnic": [
        {
            "_typeName": "string",
            "key": "string",
            "device": "string",
            "pci": "string",
            "driver": "string",
            "driverVersion": "string",
            "firmwareVersion": "string",
            "linkSpeed": {
                "_typeName": "string",
                "speedMb": 0,
                "duplex": false
            },
            "validLinkSpecification": [
                {
                    "_typeName": "string",
                    "speedMb": 0,
                    "duplex": false
                }
            ],
            "spec": {
                "_typeName": "string",
                "ip": {
                    "_typeName": "string",
                    "dhcp": false,
                    "ipAddress": "string",
                    "subnetMask": "string",
                    "ipV6Config": {
                        "_typeName": "string",
                        "ipV6Address": [
                            {
                                "_typeName": "string",
                                "ipAddress": "string",
                                "prefixLength": 0,
                                "origin": "string",
                                "dadState": "string",
                                "lifetime": "string",
                                "operation": "string"
                            }
                        ],
                        "autoConfigurationEnabled": false,
                        "dhcpV6Enabled": false
                    }
                },
                "linkSpeed": {
                    "_typeName": "string",
                    "speedMb": 0,
                    "duplex": false
                },
                "enableEnhancedNetworkingStack": false,
                "ensInterruptEnabled": false
            },
            "wakeOnLanSupported": false,
            "mac": "string",
            "fcoeConfiguration": {
                "_typeName": "string",
                "priorityClass": 0,
                "sourceMac": "string",
                "vlanRange": [
                    {
                        "_typeName": "string",
                        "vlanLow": 0,
                        "vlanHigh": 0
                    }
                ],
                "capabilities": {
                    "_typeName": "string",
                    "priorityClass": false,
                    "sourceMacAddress": false,
                    "vlanRange": false
                },
                "fcoeActive": false
            },
            "vmDirectPathGen2Supported": false,
            "vmDirectPathGen2SupportedMode": "string",
            "resourcePoolSchedulerAllowed": false,
            "resourcePoolSchedulerDisallowedReason": [
                "string"
            ],
            "autoNegotiateSupported": false,
            "enhancedNetworkingStackSupported": false,
            "ensInterruptSupported": false,
            "rdmaDevice": {
                "_typeName": "string",
                "key": "string",
                "device": "string",
                "driver": "string",
                "description": "string",
                "backing": {
                    "_typeName": "string"
                },
                "connectionInfo": {
                    "_typeName": "string",
                    "state": "string",
                    "mtu": 0,
                    "speedInMbps": 0
                },
                "capability": {
                    "_typeName": "string",
                    "roceV1Capable": false,
                    "roceV2Capable": false,
                    "iWarpCapable": false
                }
            },
            "dpuId": "string"
        }
    ],
    "spec": {
        "_typeName": "string",
        "backing": {
            "_typeName": "string"
        }
    },
    "hostLag": [
        {
            "_typeName": "string",
            "lagKey": "string",
            "lagName": "string",
            "uplinkPort": [
                {
                    "_typeName": "string",
                    "key": "string",
                    "value": "string"
                }
            ]
        }
    ],
    "networkReservationSupported": false,
    "nsxtEnabled": false,
    "ensEnabled": false,
    "ensInterruptEnabled": false,
    "transportZones": [
        {
            "_typeName": "string",
            "uuid": "string",
            "type": "string"
        }
    ],
    "nsxUsedUplinkPort": [
        "string"
    ],
    "nsxtStatus": "string",
    "nsxtStatusDetail": "string",
    "ensInfo": {
        "_typeName": "string",
        "opsVersion": 0,
        "numPSOps": 0,
        "numLcoreOps": 0,
        "errorStatus": 0,
        "lcoreStatus": 0
    },
    "networkOffloadingEnabled": false,
    "hostUplinkState": [
        {
            "_typeName": "string",
            "uplinkName": "string",
            "state": "string"
        }
    ]
}
string
dvsUuid
Required

The uuid of the DistributedVirtualSwitch that the HostProxySwitch is a part of.

string
dvsName
Required

The name of the DistributedVirtualSwitch that the HostProxySwitch is part of.

string
key
Required

The proxy switch key.

integer As int32 As int32
numPorts
Required

The number of ports that this switch currently has.

integer As int32 As int32
configNumPorts
Optional

The configured number of ports that this switch has.

If configured number of ports is changed, a host reboot is required for the new value to take effect.

integer As int32 As int32
numPortsAvailable
Required

The number of ports that are available on this virtual switch.

array of KeyValue
uplinkPort
Optional

The list of ports that can be potentially used by physical nics.

This property contains the keys and names of such ports.

integer As int32 As int32
mtu
Optional

The maximum transmission unit (MTU) associated with this switch in bytes.

pnic
Optional

The set of physical network adapters associated with this switch.

spec
Required

This data object type describes the HostProxySwitch specification representing the properties on a HostProxySwitch that can be configured once the object exists.

hostLag
Optional

The Link Aggregation Control Protocol group and Uplink ports in the group.

boolean
networkReservationSupported
Optional

Indicates whether network reservation is supported on this switch

boolean
nsxtEnabled
Optional

Indicate whether NSX-T is enabled on this switch

boolean
ensEnabled
Optional

Is ENS enabled on this switch

boolean
ensInterruptEnabled
Optional

Is ENS interrupt mode enabled on this switch

transportZones
Optional

Transport Zones this switch joined

array of string
nsxUsedUplinkPort
Optional

Uplink port names used by NSX-T

string
nsxtStatus
Optional

NSX-T proxy switch status

string
nsxtStatusDetail
Optional

Additional information regarding the NSX-T proxy switch status

ensInfo
Optional

This data object type describes the Ens status from VmKernal.

Since: vSphere API Release 8.0.0.1

boolean
networkOffloadingEnabled
Optional

Indicate if network offloading is enabled on the proxy switch of this host.

Unset implies that network offloading is disabled.

Since: vSphere API Release 8.0.0.1

hostUplinkState
Optional

Indicates the runtime state of uplinks on the host.

Only set when networkOffloadingEnabled is true.

Since: vSphere API Release 8.0.3.0