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
|
.. _str: https://docs.python.org/2/library/stdtypes.html
.. _NetworkPolicy: ../../vim/host/NetworkPolicy.rst
.. _vmodl.DynamicData: ../../vmodl/DynamicData.rst
.. _vim.host.VirtualSwitch: ../../vim/host/VirtualSwitch.rst
.. _vim.host.NetworkPolicy: ../../vim/host/NetworkPolicy.rst
.. _vim.host.PortGroup.Port: ../../vim/host/PortGroup/Port.rst
.. _vim.host.PortGroup.Specification: ../../vim/host/PortGroup/Specification.rst
vim.host.PortGroup
==================
This data object type is used to describe port groups. Port groups are used to group virtual network adapters on a virtual switch, associating them with networks and network policies.
:extends: vmodl.DynamicData_
Attributes:
key (`str`_, optional):
The linkable identifier.
port ([`vim.host.PortGroup.Port`_], optional):
The ports that currently exist and are used on this port group.
vswitch (`vim.host.VirtualSwitch`_, optional):
The virtual switch that contains this port group.
computedPolicy (`vim.host.NetworkPolicy`_):
Computed network policies that are applicable for a port group. The inheritance scheme for PortGroup requires knowledge about the NetworkPolicy for a port group and its parent virtual switch as well as the logic for computing the results. This information is provided as a convenience so that callers need not duplicate the inheritance logic to determine the proper values for a network policy.See the description of the `NetworkPolicy`_ data object type for more information.
spec (`vim.host.PortGroup.Specification`_):
The specification of a port group.
|