
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
5.0 KiB
vim.dvs.DistributedVirtualPort
- The DistributedVirtualPort data object represents a port in a DistributedVirtualSwitch . Virtual ports are part of a distributed virtual portgroup. Servers create virtual ports according to the portgroup type ( DistributedVirtualPortgroup . config . type ). See DistributedVirtualPortgroupPortgroupType .
- To configure host network access by port, set the distributed virtual port in the host virtual NIC specification (
- HostVirtualNicSpec
- .
- distributedVirtualPort
- .
- portKey
- ).
- To configure virtual machine network access by port, set the port in the virtual Ethernet card backing (
- VirtualEthernetCard
- .
- backing
- .
- port
- .
- portKey
- ).
- extends
- since
- Attributes:
-
key (str):
Port key.
config (vim.dvs.DistributedVirtualPort.ConfigInfo):
Port configuration, including identifying information, network settings, and the set of entities that can connect to the port.
dvsUuid (str):
UUID of the DistributedVirtualSwitch to which the port belongs.
portgroupKey (str, optional):
Key of the portgroup DistributedVirtualPortgroup to which the port belongs, if any.
proxyHost (vim.HostSystem, optional):
HostSystem that services this port.
connectee (vim.dvs.PortConnectee, optional):
Entity that connects to the port.
conflict (bool):
Specifies whether the port is a conflict port. A port could be marked as conflict if an entity is discovered connecting to a port that is already occupied, or if the host creates a port without conferring with vCenter Server.The distributed virtual switch does not persist the runtime state of a conflict port. Also, the port cannot move away from the host. vCenter Server will not move a virtual machine (VMotion) that is using a conflict port.
conflictPortKey (str, optional):
If the port is marked conflict in the case of two entities connecting to the same port (see conflict ), this is the key of the port which the connected entity is contending for.
state (vim.dvs.DistributedVirtualPort.State, optional):
Runtime state of the port.
connectionCookie (int, optional):
Cookie representing the current instance of association between a port and a virtual or physical NIC. See DistributedVirtualSwitchPortConnection . The same cookie is present in the physical or virtual NIC configuration ( DistributedVirtualSwitchPortConnection . connectionCookie ) so that the Server can verify that the entity is the rightful connectee of the port.
lastStatusChange (datetime):
The last time the state . runtimeInfo value was changed.
hostLocalPort (bool, optional):
Specifies whether the port is a host local port. A host local port is created to resurrect the management network connection on a VMkernel virtual NIC. You cannot use vCenter Server to reconfigure this port and you cannot reassign the port.