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 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103
|
.. _str: https://docs.python.org/2/library/stdtypes.html
.. _vim.Task: ../../vim/Task.rst
.. _VI API 2.5u2: ../../vim/version.rst#vimversionversion3
.. _vSphere API 4.0: ../../vim/version.rst#vimversionversion5
.. _vim.fault.NotFound: ../../vim/fault/NotFound.rst
.. _vim.host.KernelModuleSystem.ModuleInfo: ../../vim/host/KernelModuleSystem/ModuleInfo.rst
vim.host.KernelModuleSystem
===========================
The KernelModuleSystem managed object controls the configuration of kernel modules on the host.
:since: `VI API 2.5u2`_
Attributes
----------
Methods
-------
QueryModules():
Query the set of modules on the host.
since: `vSphere API 4.0`_
Privilege:
Host.Config.Settings
Args:
Returns:
[`vim.host.KernelModuleSystem.ModuleInfo`_]:
UpdateModuleOptionString(name, options):
Specifies the options to be passed to the kernel module when loaded.
Privilege:
Host.Config.Settings
Args:
name (`str`_):
Module name.
options (`str`_):
Option string to be passed to the kernel module at load time.
Returns:
None
Raises:
`vim.fault.NotFound`_:
if the kernel module does not exist on the host.
QueryConfiguredModuleOptionString(name):
Query the options configured to be passed to the kernel module when loaded. Note that this is not necessarily the option string currently in use by the kernel module.
Privilege:
Host.Config.Settings
Args:
name (`str`_):
Module name.
Returns:
`str`_:
Option string to be passed to the kernel module at load time.
Raises:
`vim.fault.NotFound`_:
if the kernel module does not exist on the host.
|