root / docs / source / userdoc / manager.rst @ bbd4ce54
History | View | Annotate | Download (842 Bytes)
1 |
********************* |
---|---|
2 |
:mod:`manager` module |
3 |
********************* |
4 |
|
5 |
.. module:: ncclient.manager |
6 |
|
7 |
Dealing with RPC errors |
8 |
======================= |
9 |
|
10 |
These constants define what :class:`Manager` does when an *<rpc-error>* element is encountered in a reply. |
11 |
|
12 |
.. autodata:: RAISE_ALL |
13 |
|
14 |
.. autodata:: RAISE_ERR |
15 |
|
16 |
.. autodata:: RAISE_NONE |
17 |
|
18 |
|
19 |
Manager instances |
20 |
================= |
21 |
|
22 |
:class:`Manager` instances are created by the :meth:`connect` family of factory functions. Currently only :meth:`connect_ssh` is available. |
23 |
|
24 |
.. autofunction:: connect |
25 |
|
26 |
.. autofunction:: connect_ssh |
27 |
|
28 |
|
29 |
.. autoclass:: Manager |
30 |
:members: set_rpc_error_action, get, get_config, edit_config, copy_config, validate, commit, discard_changes, delete_config, lock, unlock, close_session, kill_session, locked, close, client_capabilities, server_capabilities, session_id, connected |