Files
deb-python-pyvmomi/docs/vim/dvs/PortCriteria.rst
Shawn Hartsock 15f7be9a52 pyVmomi reStructured Text Documentation
This external documentation for pyVmomi was generated using Googly Docs
(aka Google Standard Documentation) which renders very cleanly in
GitHub. Internal documentation for a class should be done in Sphinx
format because tools like pyCharm and Eclipse can use that documentation
as a hint for code completion.

Note: External docs as Googly Docs, internal docs as Sphinx.

Closes bug#15
2014-06-17 14:07:42 -04:00

1.6 KiB

vim.dvs.PortCriteria

The criteria specification for selecting ports.

extends

vmodl.DynamicData

since

vSphere API 4.0

Attributes:

connected (bool, optional):

If set, only the connected ports are qualified.

active (bool, optional):

If set, only the active ports are qualified.

uplinkPort (bool, optional):

If set to true, only the uplink ports are qualified. If set to false, only non-uplink ports are qualified.

scope (vim.ManagedEntity, optional):

If set, only the ports of which the scope covers the entity are qualified.

portgroupKey (str, optional):

The keys of the portgroup that is used for the scope of inside . If this property is unset, it means any portgroup. If inside is unset, this property is ignored.

inside (bool, optional):

If unset, all ports in the switch are qualified. If set to true, only ports inside portgroupKey or any portgroup, if not set, are qualified. If set to false, only ports outside portgroupKey or any portgroup, if not set, are qualified.

portKey (str, optional):

If set, only the ports of which the key is in the array are qualified.