LMI Scripts common library reference

This library builds on top of LMIShell‘s functionality. It provides various utilities and wrappers for building command-line interfaces to OpenLMI Providers.

Generated from version: 0.4.0, git: openlmi-tools-0.10.4-1-ga314037


Exported members:

Package with client-side python modules and command line utilities.

lmi.scripts.common.get_computer_system(ns)[source]

Obtain an instance of CIM_ComputerSystem or its subclass. Preferred class name can be configured in configuration file. If such class does not exist, a base class (CIM_ComputerSystem) is enumerated instead. First feasible instance is cached and returned.

Parameters:ns (lmi.shell.LMINamespace) – Namespace object where to look for computer system class.
Returns:Instance of CIM_ComputerSystem.
Return type:lmi.shell.LMIInstance.

Submodules: