Files
deb-python-pyvmomi/docs/vim/host/KernelModuleSystem.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.7 KiB

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.