Class VcVMwareDVSConfigSpec

Extends VcDVSConfigSpec
This class defines the VMware specific configuration for DistributedVirtualSwitch.


Name Type Description
configVersion String The version string of the configuration that this spec is trying to change. This property is required in reconfiguring a switch and should be set to the same value as <a target="_blank" href="">VcDVSConfigInfo</a>. This property is ignored during switch creation.
contact VcDVSContactInfo Set the human operator contact information.
defaultPortConfig VcDVPortSetting The default configuration for ports.
defaultProxySwitchMaxNumPorts Number The default host proxy switch maximum port number
description String Set the description string of the switch.
extensionKey String The key of the extension registered by a remote server that controls the switch.
host VcDistributedVirtualSwitchHostMemberConfigSpec[] The host member specification. A particular host should have only one entry in this array. Duplicate entries for the same host will raise a fault. The host version should be compatible with the version of <a target="_blank" href="">VcDistributedVirtualSwitch</a>. Use <a target="_blank" href="">VcDistributedVirtualSwitchManager</a> to check for compatibility.
infrastructureTrafficResourceConfig VcDvsHostInfrastructureTrafficResource[] The host infrastructure traffic resource allocation specification. Only the traffic class resource allocations identified in the list will be updated. The other traffic class resource allocations that are not specified will not change.
ipfixConfig VcVMwareIpfixConfig Configuration for ipfix monitoring of the switch traffic. This must be set before ipfix monitoring can be enabled for the switch, or for any portgroup or port of the switch.<br>See <a target="_blank" href="">VcVMwareDVSPortSetting</a><br>
lacpApiVersion String The Link Aggregation Control Protocol group version in the switch. See LacpApiVersion for valid values.
linkDiscoveryProtocolConfig VcLinkDiscoveryProtocolConfig See <a target="_blank" href="">VcLinkDiscoveryProtocolConfig</a>.
maxMtu Number The maximum MTU in the switch.
maxPorts Number The maximum number of DistributedVirtualPorts allowed in the switch. If specified in a reconfigure operation, this number cannot be smaller than the number of existing DistributedVirtualPorts. <br/><i>As of vSphere API 5.0 The default value of this propoerty is maxint and there is no reason for users to change it to a lower value</i>
multicastFilteringMode String The Multicast Filtering mode in the switch. See MulticastFilteringMode for valid values.
name String The name of the switch. Must be unique in the parent folder.
networkResourceControlVersion String Indicates the Network Resource Control APIs that are supported on the switch. Possible value can be of <a target="_blank" href="">VcDistributedVirtualSwitchNetworkResourceControlVersion</a>.
numStandalonePorts Number The number of standalone ports in the switch. Standalone ports are ports that do not belong to any portgroup. If set to a number larger than number of existing standalone ports in the switch, new ports get created to meet the number. If set to a number smaller than the number of existing standalone ports, free ports (uplink ports excluded) are deleted to meet the number. If the set number cannot be met by deleting free standalone ports, a fault is raised.
policy VcDVSPolicy The usage policy of the switch.
pvlanConfigSpec VcVMwareDVSPvlanConfigSpec[] The PVLAN configuration specification. <p> A <a target="_blank" href="">VcVMwareDVSPvlanMapEntry</a> that has the same value for <a target="_blank" href="">VcVMwareDVSPvlanMapEntry</a> and <a target="_blank" href="">VcVMwareDVSPvlanMapEntry</a> is referred to as a primary PVLAN entry. Otherwise, the <a target="_blank" href="">VcVMwareDVSPvlanMapEntry</a> is referred to as a secondary PVLAN entry. <p> The <a target="_blank" href="">VcVMwareDVSPvlanMapEntry</a> of a primary PVLAN entry must be <a target="_blank" href="">VcVmwareDistributedVirtualSwitchPvlanPortType</a>. A secondary PVLAN entry can have a <a target="_blank" href="">VcVMwareDVSPvlanMapEntry</a> of either <a target="_blank" href="">VcVmwareDistributedVirtualSwitchPvlanPortType</a> or <a target="_blank" href="">VcVmwareDistributedVirtualSwitchPvlanPortType</a>. <p> Primary PVLAN entries must be explicitly added. If there is no primary PVLAN entry corresponding to the <a target="_blank" href="">VcVMwareDVSPvlanMapEntry</a> of a secondary PVLAN entry, a fault is thrown. <p> While deleting a primary PVLAN entry, any associated secondary PVLAN entries must be explicitly deleted.
switchIpAddress String IP address for the switch, specified using IPv4 dot notation. IPv6 address is not supported for this property. The utility of this address is defined by other switch features. switchIpAddress would be ignored when IPFIX collector uses IPv6.
uplinkPortgroup VcDistributedVirtualPortgroup[] The uplink portgroups.
uplinkPortPolicy VcDVSUplinkPortPolicy The uplink port policy.
vendorSpecificConfig VcDistributedVirtualSwitchKeyedOpaqueBlob[] Set the opaque blob that stores vendor specific configuration.
vspanConfigSpec VcVMwareDVSVspanConfigSpec[] The Distributed Port Mirroring configuration specification. The VSPAN sessions in the array cannot be of the same key.


Name Returns
VcVMwareDVSConfigSpec() constructor

Returned by


Referenced in