Files
deb-python-pyvmomi/docs/vim/dvs/PortConnection.rst
Shawn Hartsock 15f7be9a52 pyVmomi reStructured Text Documentation
This external documentation for pyVmomi was generated using Googly Docs
(aka Google Standard Documentation) which renders very cleanly in
GitHub. Internal documentation for a class should be done in Sphinx
format because tools like pyCharm and Eclipse can use that documentation
as a hint for code completion.

Note: External docs as Googly Docs, internal docs as Sphinx.

Closes bug#15
2014-06-17 14:07:42 -04:00

2.8 KiB

vim.dvs.PortConnection

The DistributedVirtualSwitchPortConnection data object represents a connection or association between a DistributedVirtualPortgroup or a DistributedVirtualPort and one of the following entities:
extends

vmodl.DynamicData

since

vSphere API 4.0

Attributes:

switchUuid (str):

UUID of the switch ( DistributedVirtualSwitch . uuid ).

portgroupKey (str, optional):

Key of the portgroup. If specified, the connection object represents a connection or an association between a DistributedVirtualPortgroup and a Virtual NIC or physical NIC. In this case, setting the portKey is not necessary for a early-binding portgroup and is not allowed for a late-binding portgroup. The portKey property will be populated by the implementation at the time of port binding.

portKey (str, optional):

Key of the port. If specified, this object represents a connection or an association between an individual DistributedVirtualPort and a Virtual NIC or physical NIC. See portgroupKey for more information on populating this property.

connectionCookie (int, optional):

Cookie that represents this DistributedVirtualSwitchPortConnection instance for the port. The cookie value is generated by the Server. The Server ignores any value set by an SDK client.The same cookie is present in the distributed virtual port configuration ( DistributedVirtualPort . connectionCookie ) so that the Server can verify that the entity is the rightful connectee of the port.