
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
32 lines
1.2 KiB
ReStructuredText
32 lines
1.2 KiB
ReStructuredText
.. _str: https://docs.python.org/2/library/stdtypes.html
|
|
|
|
.. _vmodl.DynamicData: ../../../vmodl/DynamicData.rst
|
|
|
|
.. _HostPathSelectionPolicyOption: ../../../vim/host/PathSelectionPolicyOption.rst
|
|
|
|
.. _QueryPathSelectionPolicyOptions: ../../../vim/host/StorageSystem.rst#queryPathSelectionPolicyOptions
|
|
|
|
.. _HostMultipathInfoLogicalUnitPolicy: ../../../vim/host/MultipathInfo/LogicalUnitPolicy.rst
|
|
|
|
|
|
vim.host.MultipathInfo.LogicalUnitPolicy
|
|
========================================
|
|
The `HostMultipathInfoLogicalUnitPolicy`_ data object describes a path selection policy for a device. This policy determines how paths should be utilized when accessing a device.
|
|
:extends: vmodl.DynamicData_
|
|
|
|
Attributes:
|
|
policy (`str`_):
|
|
|
|
String representing the path selection policy for a device. Use one of the following strings:
|
|
* VMW_PSP_FIXED
|
|
* - Use a preferred path whenever possible.
|
|
* VMW_PSP_RR
|
|
* - Load balance.
|
|
* VMW_PSP_MRU
|
|
* - Use the most recently used path.
|
|
* You can also use the
|
|
* `QueryPathSelectionPolicyOptions`_
|
|
* method to retrieve the set of valid strings. Use the key from the resulting structure
|
|
* `HostPathSelectionPolicyOption`_
|
|
* .
|