File: Specification.rst

package info (click to toggle)
python-pyvmomi 6.7.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 14,980 kB
  • sloc: python: 9,206; xml: 77; makefile: 9
file content (30 lines) | stat: -rw-r--r-- 1,180 bytes parent folder | download | duplicates (5)
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
.. _int: https://docs.python.org/2/library/stdtypes.html

.. _str: https://docs.python.org/2/library/stdtypes.html

.. _vmodl.DynamicData: ../../../vmodl/DynamicData.rst

.. _vim.host.NetworkPolicy: ../../../vim/host/NetworkPolicy.rst


vim.host.PortGroup.Specification
================================
  This data object type describes the PortGroup specification representing the properties on a PortGroup that can be configured.
:extends: vmodl.DynamicData_

Attributes:
    name (`str`_):

       The name of the port group.
    vlanId (`int`_):

       The VLAN ID for ports using this port group. Possible values:
        * A value of 0 specifies that you do not want the port group associated with a VLAN.
        * A value from 1 to 4094 specifies a VLAN ID for the port group.
        * A value of 4095 specifies that the port group should use trunk mode, which allows the guest operating system to manage its own VLAN tags.
    vswitchName (`str`_):

       The identifier of the virtual switch on which this port group is located.
    policy (`vim.host.NetworkPolicy`_):

       Policies on the port group take precedence over the ones specified on the virtual switch.