1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
|
.. _str: https://docs.python.org/2/library/stdtypes.html
.. _spec: ../../vim/host/VirtualSwitch/Config.rst#spec
.. _pnic: ../../vim/host/NetworkInfo.rst#pnic
.. _bridge: ../../vim/host/VirtualSwitch/Specification.rst#bridge
.. _vswitch: ../../vim/host/NetworkConfig.rst#vswitch
.. _HostVirtualNic: ../../vim/host/VirtualNic.rst
.. _HostNetworkInfo: ../../vim/host/NetworkInfo.rst
.. _HostNetworkConfig: ../../vim/host/NetworkConfig.rst
.. _vmodl.DynamicData: ../../vmodl/DynamicData.rst
.. _DistributedVirtualPort: ../../vim/dvs/DistributedVirtualPort.rst
.. _vim.host.PortGroup.Port: ../../vim/host/PortGroup/Port.rst
.. _vim.host.VirtualNic.Specification: ../../vim/host/VirtualNic/Specification.rst
vim.host.VirtualNic
===================
The `HostVirtualNic`_ data object describes a virtual network adapter representing an adapter that connects to a virtual switch. A host virtual NIC differs from a physical NIC:
* A host virtual NIC is a virtual device that is connected to a virtual switch.
* A physical NIC (
* `HostNetworkInfo`_
* .
* `pnic`_
* ) corresponds to a physical device that is connected to the physical network.
*
* A host virtual NIC provides access to the external network through a virtual switch that is bridged through a Physical NIC to a physical network (
* `HostNetworkConfig`_
* .
* `vswitch`_
* [].
* `spec`_
* .
* `bridge`_
* )
:extends: vmodl.DynamicData_
Attributes:
device (`str`_):
Device name.
key (`str`_):
Linkable identifier.
portgroup (`str`_):
If the Virtual NIC is connecting to a vSwitch, this property is the name of portgroup connected. If the Virtual NIC is connecting to a DistributedVirtualSwitch, this property is an empty string.
spec (`vim.host.VirtualNic.Specification`_):
Configurable properties for the virtual network adapter object.
port (`vim.host.PortGroup.Port`_, optional):
Port on the port group that the virtual network adapter is using when it is enabled ( `DistributedVirtualPort`_ . `key`_ ).
|