Files
deb-python-pyvmomi/docs/vim/dvs/DistributedVirtualPortgroup/ConfigSpec.rst
Shawn Hartsock c83651f5be pyvmomi RST docs do not properly show lists
Fixes RST documents to include list mark up when appropriate.

closes: https://github.com/vmware/pyvmomi/issues/76
2014-08-13 14:49:24 -04:00

4.2 KiB

vim.dvs.DistributedVirtualPortgroup.ConfigSpec

The DVPortgroupConfigSpec data object contains configuration data for a DistributedVirtualPortgroup . Use the ReconfigureDVPortgroup_Task method to apply the configuration to the portgroup.

extends

vmodl.DynamicData

since

vSphere API 4.0

Attributes:

configVersion (str, optional):

Version string of the configuration that this spec is trying to change. This property is required in reconfiguring a portgroup and should be set to the same value as the configVersion . This property is ignored in creating a portgroup if set.

name (str, optional):

Name of the portgroup.

numPorts (int, optional):

Number of ports in the portgroup. Setting this number larger than the number of existing ports in the portgroup causes new ports to be added to the portgroup to meet the number. Setting this property smaller than the number of existing ports deletes the free ports from the portgroup. If the number cannot be met by deleting free ports, a fault is raised. If new ports are added to the portgroup, they are also added to the switch. For portgroups of type ephemeral this property is ignored.

portNameFormat (str, optional):

Format of the name of the ports when ports are created in the portgroup. For details see portNameFormat .

defaultPortConfig (vim.dvs.DistributedVirtualPort.Setting, optional):

Default network setting for all the ports in the portgroup.

description (str, optional):

Description of the portgroup.

type (str, optional):

Type of portgroup. See DistributedVirtualPortgroup . DistributedVirtualPortgroupPortgroupType for possible values.

scope ([vim.ManagedEntity], optional):

Eligible entities that can connect to the port. See DVPortgroupConfigInfo . scope .

policy (vim.dvs.DistributedVirtualPortgroup.PortgroupPolicy, optional):

Portgroup policy.

vendorSpecificConfig ([vim.dvs.KeyedOpaqueBlob], optional):

Opaque binary blob that stores vendor specific configuration.

autoExpand (bool, optional):

If set to true, this property ignores the limit on the number of ports in the portgroup. When a Virtual Machine/Host tries to connect to the portgroup and there are no free ports available in the portgroup, new ports will be automatically added to the portgroup. The flag is currently supported only for static portgroups.Setting this property to true makes the portgroup a potential candidate for auto-shrink. Once the portgroup has auto-expanded then its disconnected ports are likely to be deleted automatically, as a part of auto-shrink step, if there are more than certain number of free ports. If the portgroup never auto-expanded, then it will never lose any free ports.