1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
.. _str: https://docs.python.org/2/library/stdtypes.html
.. _vSphere API 4.0: ../../vim/version.rst#vimversionversion5
.. _vmodl.DynamicData: ../../vmodl/DynamicData.rst
.. _vim.dvs.PortConnection: ../../vim/dvs/PortConnection.rst
vim.host.VirtualNicConnection
=============================
DataObject which provides a level of indirection when identifying VirtualNics during configuration. This dataObject lets users specify a VirtualNic in terms of the portgroup/Dv Port the Virtual NIC is connected to. This is useful in cases where VirtualNic will be created as part of a configuration operation and the created VirtualNic is referred to in some other part of configuration. e.g: for configuring VMotion
:extends: vmodl.DynamicData_
:since: `vSphere API 4.0`_
Attributes:
portgroup (`str`_, optional):
Name of the portgroup to which the virtual nic is connected to. If this parameter is set, use a virtual nic connected to a legacy portgroup.
dvPort (`vim.dvs.PortConnection`_, optional):
Identifier for the DistributedVirtualPort. If the virtual nic is to be connected to a DVS, #dvPort will be set instead of #portgroup
|