public final class StandardHostSwitch
extends java.lang.Object
implements java.io.Serializable, com.vmware.vapi.bindings.StaticStructure
Modifier and Type | Class and Description |
---|---|
static class |
StandardHostSwitch.Builder
Builder class for
StandardHostSwitch . |
Modifier and Type | Field and Description |
---|---|
protected com.vmware.vapi.data.StructValue |
__dynamicStructureFields |
static java.lang.String |
HOST_SWITCH_MODE_ENS |
static java.lang.String |
HOST_SWITCH_MODE_ENS_INTERRUPT |
static java.lang.String |
HOST_SWITCH_MODE_LEGACY |
static java.lang.String |
HOST_SWITCH_MODE_STANDARD |
static java.lang.String |
HOST_SWITCH_TYPE_NVDS |
static java.lang.String |
HOST_SWITCH_TYPE_VDS |
Modifier | Constructor and Description |
---|---|
|
StandardHostSwitch()
Default constructor.
|
protected |
StandardHostSwitch(com.vmware.vapi.data.StructValue __dynamicStructureFields) |
Modifier and Type | Method and Description |
---|---|
<T extends com.vmware.vapi.bindings.Structure> |
_convertTo(java.lang.Class<T> clazz) |
java.lang.String |
_getCanonicalName() |
static java.lang.String |
_getCanonicalTypeName()
Returns the canonical type name.
|
static com.vmware.vapi.bindings.type.StructType |
_getClassType()
WARNING: Internal method, subject to change in future versions.
|
com.vmware.vapi.data.StructValue |
_getDataValue() |
com.vmware.vapi.data.DataValue |
_getDynamicField(java.lang.String fieldName) |
java.util.Set<java.lang.String> |
_getDynamicFieldNames() |
com.vmware.vapi.bindings.type.StructType |
_getType() |
boolean |
_hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz) |
static StandardHostSwitch |
_newInstance(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Returns new instance of this binding class and injects the provided data value. WARNING: The returned object is not fully initialized. |
static StandardHostSwitch |
_newInstance2(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Serves as a versioning mechanism. |
void |
_setDynamicField(java.lang.String fieldName,
com.vmware.vapi.data.DataValue fieldValue) |
protected void |
_updateDataValue(com.vmware.vapi.data.StructValue structValue) |
void |
_validate() |
boolean |
equals(java.lang.Object obj) |
java.util.List<CpuCoreConfigForEnhancedNetworkingStackSwitch> |
getCpuConfig()
CPU configuration specifies number of Logical cpu cores (Lcores) per Non Uniform
Memory Access (NUMA) node dedicated to Enhanced Networking Stack enabled
HostSwitch to get the best performance.
|
java.lang.String |
getHostSwitchId()
This field is writable only in case of VDS type HostSwitch and system generated
for NVDS type.
|
java.lang.String |
getHostSwitchMode()
Possible values are:
HOST_SWITCH_MODE_STANDARD
HOST_SWITCH_MODE_ENS
HOST_SWITCH_MODE_ENS_INTERRUPT
HOST_SWITCH_MODE_LEGACY
STANDARD - This mode applies to all transport nodes. |
java.lang.String |
getHostSwitchName()
Deprecated.
|
java.util.List<HostSwitchProfileTypeIdEntry> |
getHostSwitchProfileIds()
Host switch profiles bound to this host switch.
|
java.lang.String |
getHostSwitchType()
Possible values are:
HOST_SWITCH_TYPE_NVDS
HOST_SWITCH_TYPE_VDS
VDS represents VMware vSphere Distributed Switch from vSphere that is used
as HostSwitch through TransportNode or TransportNodeProfile configuration. |
com.vmware.vapi.bindings.Structure |
getIpAssignmentSpec() |
com.vmware.vapi.bindings.Structure |
getIpv6AssignmentSpec() |
java.lang.Boolean |
getIsMigratePnics()
When using the Quick Start workflow on 7.0 and above vCenter clusters, if the
pnics specified in the pnics field are used by a single VSS HostSwitch, then
they are migrated over to recommended VDS HostSwitch.
|
java.util.List<Pnic> |
getPnics()
When using the Quick Start workflow on 7.0 and above vCenter clusters, pnic
information will be populated by the recommendation engine when providing a VDS
HostSwitch based recommendation for a VSS HostSwitch.
|
java.util.List<Pnic> |
getPnicsUninstallMigration()
Deprecated.
|
java.lang.String |
getPortgroupTransportZoneId()
A transport zone will be created for each DVS found across all hosts in a
cluster that is installed for NSX on DVPG.
|
java.util.List<TransportNodeProfileSubConfig> |
getTransportNodeProfileSubConfigs()
This field is supported only for Tranport Node Profile Configurations.
|
java.util.List<TransportZoneEndPoint> |
getTransportZoneEndpoints()
List of TransportZones that are to be associated with specified host switch.
|
java.util.List<VdsUplink> |
getUplinks()
If VDS is used as a HostSwitch this attribute must be specified.
|
java.util.List<VmknicNetwork> |
getVmkInstallMigration()
When using the Quick Start workflow on 7.0 and above vCenter clusters,
vmnk_install_migration will be populated by the recommendation engine when
providing a VDS HostSwitch based recommendation for a VSS HostSwitch.
|
java.util.List<VmknicNetwork> |
getVmkUninstallMigration()
Deprecated.
|
int |
hashCode() |
void |
setCpuConfig(java.util.List<CpuCoreConfigForEnhancedNetworkingStackSwitch> cpuConfig)
CPU configuration specifies number of Logical cpu cores (Lcores) per Non Uniform
Memory Access (NUMA) node dedicated to Enhanced Networking Stack enabled
HostSwitch to get the best performance.
|
void |
setHostSwitchId(java.lang.String hostSwitchId)
This field is writable only in case of VDS type HostSwitch and system generated
for NVDS type.
|
void |
setHostSwitchMode(java.lang.String hostSwitchMode)
Possible values are:
HOST_SWITCH_MODE_STANDARD
HOST_SWITCH_MODE_ENS
HOST_SWITCH_MODE_ENS_INTERRUPT
HOST_SWITCH_MODE_LEGACY
STANDARD - This mode applies to all transport nodes. |
void |
setHostSwitchName(java.lang.String hostSwitchName)
Deprecated.
|
void |
setHostSwitchProfileIds(java.util.List<HostSwitchProfileTypeIdEntry> hostSwitchProfileIds)
Host switch profiles bound to this host switch.
|
void |
setHostSwitchType(java.lang.String hostSwitchType)
Possible values are:
HOST_SWITCH_TYPE_NVDS
HOST_SWITCH_TYPE_VDS
VDS represents VMware vSphere Distributed Switch from vSphere that is used
as HostSwitch through TransportNode or TransportNodeProfile configuration. |
void |
setIpAssignmentSpec(com.vmware.vapi.bindings.Structure ipAssignmentSpec) |
void |
setIpv6AssignmentSpec(com.vmware.vapi.bindings.Structure ipv6AssignmentSpec) |
void |
setIsMigratePnics(java.lang.Boolean isMigratePnics)
When using the Quick Start workflow on 7.0 and above vCenter clusters, if the
pnics specified in the pnics field are used by a single VSS HostSwitch, then
they are migrated over to recommended VDS HostSwitch.
|
void |
setPnics(java.util.List<Pnic> pnics)
When using the Quick Start workflow on 7.0 and above vCenter clusters, pnic
information will be populated by the recommendation engine when providing a VDS
HostSwitch based recommendation for a VSS HostSwitch.
|
void |
setPnicsUninstallMigration(java.util.List<Pnic> pnicsUninstallMigration)
Deprecated.
|
void |
setPortgroupTransportZoneId(java.lang.String portgroupTransportZoneId)
A transport zone will be created for each DVS found across all hosts in a
cluster that is installed for NSX on DVPG.
|
void |
setTransportNodeProfileSubConfigs(java.util.List<TransportNodeProfileSubConfig> transportNodeProfileSubConfigs)
This field is supported only for Tranport Node Profile Configurations.
|
void |
setTransportZoneEndpoints(java.util.List<TransportZoneEndPoint> transportZoneEndpoints)
List of TransportZones that are to be associated with specified host switch.
|
void |
setUplinks(java.util.List<VdsUplink> uplinks)
If VDS is used as a HostSwitch this attribute must be specified.
|
void |
setVmkInstallMigration(java.util.List<VmknicNetwork> vmkInstallMigration)
When using the Quick Start workflow on 7.0 and above vCenter clusters,
vmnk_install_migration will be populated by the recommendation engine when
providing a VDS HostSwitch based recommendation for a VSS HostSwitch.
|
void |
setVmkUninstallMigration(java.util.List<VmknicNetwork> vmkUninstallMigration)
Deprecated.
|
java.lang.String |
toString() |
public static final java.lang.String HOST_SWITCH_MODE_STANDARD
public static final java.lang.String HOST_SWITCH_MODE_ENS
public static final java.lang.String HOST_SWITCH_MODE_ENS_INTERRUPT
public static final java.lang.String HOST_SWITCH_MODE_LEGACY
public static final java.lang.String HOST_SWITCH_TYPE_NVDS
public static final java.lang.String HOST_SWITCH_TYPE_VDS
protected com.vmware.vapi.data.StructValue __dynamicStructureFields
public StandardHostSwitch()
protected StandardHostSwitch(com.vmware.vapi.data.StructValue __dynamicStructureFields)
public java.util.List<CpuCoreConfigForEnhancedNetworkingStackSwitch> getCpuConfig()
public void setCpuConfig(java.util.List<CpuCoreConfigForEnhancedNetworkingStackSwitch> cpuConfig)
cpuConfig
- New value for the property.public java.lang.String getHostSwitchId()
public void setHostSwitchId(java.lang.String hostSwitchId)
hostSwitchId
- New value for the property.public java.lang.String getHostSwitchMode()
public void setHostSwitchMode(java.lang.String hostSwitchMode)
hostSwitchMode
- New value for the property.@Deprecated public java.lang.String getHostSwitchName()
@Deprecated public void setHostSwitchName(java.lang.String hostSwitchName)
hostSwitchName
- New value for the property.public java.util.List<HostSwitchProfileTypeIdEntry> getHostSwitchProfileIds()
public void setHostSwitchProfileIds(java.util.List<HostSwitchProfileTypeIdEntry> hostSwitchProfileIds)
hostSwitchProfileIds
- New value for the property.public java.lang.String getHostSwitchType()
public void setHostSwitchType(java.lang.String hostSwitchType)
hostSwitchType
- New value for the property.public com.vmware.vapi.bindings.Structure getIpAssignmentSpec()
IpAssignmentSpec
. When methods return a value of
this class as a return value, the property will contain all the properties
defined in IpAssignmentSpec
.public void setIpAssignmentSpec(com.vmware.vapi.bindings.Structure ipAssignmentSpec)
ipAssignmentSpec
- New value for the property.
When clients pass a value of this class as a parameter, the property must
contain all the properties defined in IpAssignmentSpec
. When methods return a value of
this class as a return value, the property will contain all the properties
defined in IpAssignmentSpec
.public com.vmware.vapi.bindings.Structure getIpv6AssignmentSpec()
Ipv6AssignmentSpec
. When methods return a value of
this class as a return value, the property will contain all the properties
defined in Ipv6AssignmentSpec
.public void setIpv6AssignmentSpec(com.vmware.vapi.bindings.Structure ipv6AssignmentSpec)
ipv6AssignmentSpec
- New value for the property.
When clients pass a value of this class as a parameter, the property must
contain all the properties defined in Ipv6AssignmentSpec
. When methods return a value of
this class as a return value, the property will contain all the properties
defined in Ipv6AssignmentSpec
.public java.lang.Boolean getIsMigratePnics()
public void setIsMigratePnics(java.lang.Boolean isMigratePnics)
isMigratePnics
- New value for the property.public java.util.List<Pnic> getPnics()
public void setPnics(java.util.List<Pnic> pnics)
pnics
- New value for the property.@Deprecated public java.util.List<Pnic> getPnicsUninstallMigration()
@Deprecated public void setPnicsUninstallMigration(java.util.List<Pnic> pnicsUninstallMigration)
pnicsUninstallMigration
- New value for the property.public java.lang.String getPortgroupTransportZoneId()
public void setPortgroupTransportZoneId(java.lang.String portgroupTransportZoneId)
portgroupTransportZoneId
- New value for the property.public java.util.List<TransportNodeProfileSubConfig> getTransportNodeProfileSubConfigs()
public void setTransportNodeProfileSubConfigs(java.util.List<TransportNodeProfileSubConfig> transportNodeProfileSubConfigs)
transportNodeProfileSubConfigs
- New value for the property.public java.util.List<TransportZoneEndPoint> getTransportZoneEndpoints()
public void setTransportZoneEndpoints(java.util.List<TransportZoneEndPoint> transportZoneEndpoints)
transportZoneEndpoints
- New value for the property.public java.util.List<VdsUplink> getUplinks()
public void setUplinks(java.util.List<VdsUplink> uplinks)
uplinks
- New value for the property.public java.util.List<VmknicNetwork> getVmkInstallMigration()
public void setVmkInstallMigration(java.util.List<VmknicNetwork> vmkInstallMigration)
vmkInstallMigration
- New value for the property.@Deprecated public java.util.List<VmknicNetwork> getVmkUninstallMigration()
@Deprecated public void setVmkUninstallMigration(java.util.List<VmknicNetwork> vmkUninstallMigration)
vmkUninstallMigration
- New value for the property.public com.vmware.vapi.bindings.type.StructType _getType()
_getType
in interface com.vmware.vapi.bindings.StaticStructure
public com.vmware.vapi.data.StructValue _getDataValue()
_getDataValue
in interface com.vmware.vapi.bindings.Structure
protected void _updateDataValue(com.vmware.vapi.data.StructValue structValue)
public void _validate()
_validate
in interface com.vmware.vapi.bindings.StaticStructure
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in interface com.vmware.vapi.bindings.StaticStructure
toString
in class java.lang.Object
public boolean _hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz)
_hasTypeNameOf
in interface com.vmware.vapi.bindings.Structure
public <T extends com.vmware.vapi.bindings.Structure> T _convertTo(java.lang.Class<T> clazz)
_convertTo
in interface com.vmware.vapi.bindings.Structure
public void _setDynamicField(java.lang.String fieldName, com.vmware.vapi.data.DataValue fieldValue)
_setDynamicField
in interface com.vmware.vapi.bindings.StaticStructure
public com.vmware.vapi.data.DataValue _getDynamicField(java.lang.String fieldName)
_getDynamicField
in interface com.vmware.vapi.bindings.StaticStructure
public java.util.Set<java.lang.String> _getDynamicFieldNames()
_getDynamicFieldNames
in interface com.vmware.vapi.bindings.StaticStructure
public static com.vmware.vapi.bindings.type.StructType _getClassType()
StructType
instance representing the static bindings
type for this Structure
.public java.lang.String _getCanonicalName()
_getCanonicalName
in interface com.vmware.vapi.bindings.Structure
public static java.lang.String _getCanonicalTypeName()
_getCanonicalName()
.public static StandardHostSwitch _newInstance(com.vmware.vapi.data.StructValue structValue)
structValue
- the source of the data contained in the binding object. Could
contain more data than fields of this class can describe i.e.
newer version of the binding object. Could be null.StructType
public static StandardHostSwitch _newInstance2(com.vmware.vapi.data.StructValue structValue)