Statistics
| Branch: | Tag: | Revision:

root / docs / source / userdoc / manager.rst @ bbd4ce54

History | View | Annotate | Download (842 Bytes)

1 216bb34c Shikhar Bhushan
*********************
2 216bb34c Shikhar Bhushan
:mod:`manager` module
3 216bb34c Shikhar Bhushan
*********************
4 216bb34c Shikhar Bhushan
5 216bb34c Shikhar Bhushan
.. module:: ncclient.manager
6 216bb34c Shikhar Bhushan
7 216bb34c Shikhar Bhushan
Dealing with RPC errors
8 216bb34c Shikhar Bhushan
=======================
9 216bb34c Shikhar Bhushan
10 216bb34c Shikhar Bhushan
These constants define what :class:`Manager` does when an *<rpc-error>* element is encountered in a reply.
11 216bb34c Shikhar Bhushan
12 216bb34c Shikhar Bhushan
.. autodata:: RAISE_ALL
13 216bb34c Shikhar Bhushan
14 216bb34c Shikhar Bhushan
.. autodata:: RAISE_ERR
15 216bb34c Shikhar Bhushan
16 216bb34c Shikhar Bhushan
.. autodata:: RAISE_NONE
17 216bb34c Shikhar Bhushan
18 216bb34c Shikhar Bhushan
19 216bb34c Shikhar Bhushan
Manager instances
20 216bb34c Shikhar Bhushan
=================
21 216bb34c Shikhar Bhushan
22 216bb34c Shikhar Bhushan
:class:`Manager` instances are created by the :meth:`connect` family of factory functions. Currently only :meth:`connect_ssh` is available.
23 216bb34c Shikhar Bhushan
24 216bb34c Shikhar Bhushan
.. autofunction:: connect
25 216bb34c Shikhar Bhushan
26 216bb34c Shikhar Bhushan
.. autofunction:: connect_ssh
27 216bb34c Shikhar Bhushan
28 216bb34c Shikhar Bhushan
29 216bb34c Shikhar Bhushan
.. autoclass:: Manager
30 216bb34c Shikhar Bhushan
    :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