summaryrefslogtreecommitdiffstats
path: root/commands/powermanagement/doc/python.rst
blob: e872ccdd5a20e76c19537170d533124f24cf0b20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Python reference for OpenLMI client scripts
===========================================

Main interface functions wrapped with ``lmi`` commands are:

    * :py:func:`~lmi.scripts.powermanagement.list_power_states`
    * :py:func:`~lmi.scripts.powermanagement.switch_power_state`

All of these accept :abbr:`ns (namespace)` object as the first argument.
It is an instance of :py:class:`lmi.shell.LMINamespace`.

Power Management Module API
---------------------------
.. automodule:: lmi.scripts.powermanagement
    :members: