- 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`_ ).