Files
deb-python-pyvmomi/docs/vim/host/VirtualNic/Specification.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.7 KiB

vim.host.VirtualNic.Specification

The HostVirtualNicSpec data object describes the HostVirtualNic configuration containing both the configured properties on a virtual NIC and identification information.

extends

vmodl.DynamicData

Attributes:

ip (vim.host.IpConfig, optional):

IP configuration on the virtual network adapter.

mac (str, optional):

Media access control (MAC) address of the virtual network adapter.

distributedVirtualPort (vim.dvs.PortConnection, optional):

DistributedVirtualPort or DistributedVirtualPortgroup connection. To specify a port connection, set the portKey property. To specify a portgroup connection, set the portgroupKey property.

portgroup (str, optional):

Portgroup ( key ) to which the virtual NIC is connected.When reconfiguring a virtual NIC, this property indicates the new portgroup to which the virtual NIC should connect. You can specify this property only if you do not specify distributedVirtualPort .

mtu (int, optional):

Maximum transmission unit for packets size in bytes for the virtual NIC. This property is applicable to VMkernel virtual NICs and will be ignored if specified for service console virtual NICs. If not specified, the Server will use the system default value.

tsoEnabled (bool, optional):

Flag enabling or disabling TCP segmentation offset for a virtual NIC. This property is applicable to VMkernel virtual NICs and will be ignored if specified for service console vitual nics. If not specified, a default value of true shall be used.

netStackInstanceKey (str, optional):

The NetStackInstance that the vNic uses, the value of this property is default to be defaultTcpipStack